DialogWidget frame = (DialogWidget) isInternalFrameUsed(application, sheetType);
if (frame == null) {
if (sheetType == ST_SHEET_TYPE_FIND_VALUES) {
frame = new SmarttoolFindBadNullValuesFrame(session, title);
} else if (sheetType == ST_SHEET_TYPE_CHANGE_VALUES) {
frame = new SmarttoolChangeValuesFrame(session, title);
} else if (sheetType == ST_SHEET_TYPE_MISSING_INICES) {
frame = new SmarttoolMissingIndicesFrame(session, title);
}
application.getMainFrame().addWidget(frame);
frame.pack();