menuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
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);
}