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();
if (frame instanceof SmarttoolFindBadNullValuesFrame) {
frame.setSize(new Dimension(frame.getWidth(), 500));