use of javax.swing.ListSelectionModel in project sldeditor by robward-scisys.
the class WKTDialog method createPointPanel.
/**
* Creates the point panel.
*
* @param panel the panel
*/
private void createPointPanel(JPanel panel) {
JPanel coordinatePanel = new JPanel();
panel.add(coordinatePanel);
coordinatePanel.setLayout(new BorderLayout(5, 0));
coordinatePanel.setPreferredSize(new Dimension(200, 200));
JScrollPane scrollPanePoint = new JScrollPane();
coordinatePanel.add(scrollPanePoint);
table = new JTable();
table.setModel(tablePointModel);
tablePointModel.addTableModelListener(new TableModelListener() {
@Override
public void tableChanged(TableModelEvent e) {
updatePointButtons();
updateWKTString();
}
});
// Handle table selection changes
ListSelectionModel selectionModel = table.getSelectionModel();
selectionModel.addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent e) {
updatePointButtons();
}
});
scrollPanePoint.setViewportView(table);
JPanel pointButtonPanel = new JPanel();
FlowLayout flowLayout3 = (FlowLayout) pointButtonPanel.getLayout();
flowLayout3.setAlignment(FlowLayout.RIGHT);
coordinatePanel.add(pointButtonPanel, BorderLayout.SOUTH);
//
// Add point button
//
addPointButton = new JButton("+");
addPointButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
addPoint();
}
});
pointButtonPanel.add(addPointButton);
removePointButton = new JButton("-");
removePointButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
removePoint();
}
});
pointButtonPanel.add(removePointButton);
JLabel lblCoordinates = new JLabel("Coordinates");
coordinatePanel.add(lblCoordinates, BorderLayout.NORTH);
}
use of javax.swing.ListSelectionModel in project smscgateway by RestComm.
the class SmppTestingForm method setEventMsg.
private void setEventMsg() {
ListSelectionModel l = tNotif.getSelectionModel();
if (!l.isSelectionEmpty()) {
int index = l.getMinSelectionIndex();
String s1 = (String) model.getValueAt(index, 0);
String s2 = (String) model.getValueAt(index, 1);
String s3 = (String) model.getValueAt(index, 2);
eventForm.setData(s1, s2, s3);
}
}
use of javax.swing.ListSelectionModel in project smscgateway by RestComm.
the class CassandraToolForm method getData.
private void getData() {
try {
String tName = this.dbOperations.getTableName(new Date());
String tbFam;
int option = 0;
if (this.rbLive.isSelected()) {
tbFam = Schema.FAMILY_SLOT_MESSAGES_TABLE;
} else if (this.rbArchive.isSelected()) {
tbFam = Schema.FAMILY_MESSAGES;
} else if (this.rbMsgId.isSelected()) {
tbFam = Schema.FAMILY_MES_ID;
option = 1;
} else {
tbFam = Schema.FAMILY_DLV_MES_ID;
option = 2;
}
String s1 = "SELECT * FROM \"" + tbFam + tName + "\";";
Session session = this.dbOperations.getSession();
PreparedStatement ps = session.prepare(s1);
BoundStatement boundStatement = new BoundStatement(ps);
ResultSet res = session.execute(boundStatement);
model.getDataVector().clear();
model.rowsRemoved(new TableModelEvent(model));
DateFormat df = new SimpleDateFormat("MM.dd HH:mm:ss");
if (option == 0) {
SortedMap<Long, ArrayList<SmsSet>> result = new TreeMap<Long, ArrayList<SmsSet>>();
for (Row row : res) {
SmsSet smsSet = this.dbOperations.createSms(row, null);
if (smsSet != null) {
ArrayList<SmsSet> al = result.get(smsSet.getSms(0).getMessageId());
if (al == null) {
al = new ArrayList<SmsSet>();
result.put(smsSet.getSms(0).getMessageId(), al);
}
al.add(smsSet);
}
}
for (ArrayList<SmsSet> al : result.values()) {
for (SmsSet smsSet : al) {
ListSelectionModel l = tResult.getSelectionModel();
Vector newRow = new Vector();
newRow.add(smsSet.getTargetId());
newRow.add(smsSet.getSms(0).getDbId());
String reportDate = df.format(this.dbOperations.c2_getTimeForDueSlot(smsSet.getSms(0).getDueSlot()));
newRow.add(smsSet.getSms(0).getDueSlot() + " - " + reportDate);
newRow.add(smsSet.getSms(0).getMessageId());
newRow.add(smsSet.getInSystem());
newRow.add(smsSet.getSms(0).getDeliveryCount());
newRow.add(smsSet.getStatus());
Date dt = smsSet.getSms(0).getValidityPeriod();
if (dt != null)
reportDate = df.format(dt);
else
reportDate = "";
newRow.add(reportDate);
dt = smsSet.getSms(0).getScheduleDeliveryTime();
if (dt != null)
reportDate = df.format(dt);
else
reportDate = "";
newRow.add(reportDate);
newRow.add(smsSet.getSms(0).getShortMessageText());
model.getDataVector().add(0, newRow);
model.newRowsAdded(new TableModelEvent(model));
}
}
} else if (option == 1) {
for (Row row : res) {
ListSelectionModel l = tResult.getSelectionModel();
Vector newRow = new Vector();
newRow.add(row.getString(Schema.COLUMN_ADDR_DST_DIGITS));
newRow.add(row.getUUID(Schema.COLUMN_ID));
newRow.add("");
newRow.add(row.getLong(Schema.COLUMN_MESSAGE_ID));
newRow.add("");
newRow.add("");
newRow.add("");
newRow.add("");
newRow.add("");
newRow.add("");
model.getDataVector().add(0, newRow);
model.newRowsAdded(new TableModelEvent(model));
}
} else {
for (Row row : res) {
ListSelectionModel l = tResult.getSelectionModel();
Vector newRow = new Vector();
newRow.add(row.getString(Schema.COLUMN_REMOTE_MESSAGE_ID));
newRow.add("");
newRow.add(row.getString(Schema.COLUMN_DEST_ID));
newRow.add(row.getLong(Schema.COLUMN_MESSAGE_ID));
newRow.add("");
newRow.add("");
newRow.add("");
newRow.add("");
newRow.add("");
newRow.add("");
model.getDataVector().add(0, newRow);
model.newRowsAdded(new TableModelEvent(model));
}
}
} catch (Exception e) {
JOptionPane.showMessageDialog(getJFrame(), "Can not get data from cassandra database:\n" + e.getMessage());
}
}
use of javax.swing.ListSelectionModel in project mafscaling by vimsh.
the class ACompCalc method createDataTable.
protected JTable createDataTable(JPanel panel, String tableName, int colCount, int rowCount, int gridx, int gridy, boolean isOriginalTable, boolean extendRows, boolean extendCols) {
final JTable table;
ExcelAdapter excelAdapter;
if (isOriginalTable) {
table = new JTable() {
private static final long serialVersionUID = 3218402382894083287L;
public boolean isCellEditable(int row, int column) {
return false;
}
};
excelAdapter = new ExcelAdapter() {
protected void onPaste(JTable table, boolean extendRows, boolean extendCols) {
if (table.getSelectedRows() == null || table.getSelectedRows().length == 0 || table.getSelectedColumns() == null || table.getSelectedColumns().length == 0)
return;
if (table.getSelectedRows()[0] != 0 || table.getSelectedColumns()[0] != 0) {
JOptionPane.showMessageDialog(null, "Please paste copied table into the first cell", "Error", JOptionPane.ERROR_MESSAGE);
return;
}
super.onPaste(table, extendRows, extendCols);
validateTable(table);
clearRunTables();
}
};
excelAdapter.addTable(table, false, true, false, false, true, true, false, extendRows, extendCols);
excelAdapterList.add(excelAdapter);
} else {
table = new JTable() {
private static final long serialVersionUID = -3754572906310312568L;
public boolean isCellEditable(int row, int column) {
return isNonOriginalTableCellEditable(row, column);
}
public Component prepareEditor(TableCellEditor editor, int row, int column) {
Component c = super.prepareEditor(editor, row, column);
if (c instanceof JTextComponent)
((JTextComponent) c).selectAll();
return c;
}
};
excelAdapter = new ExcelAdapter();
excelAdapter.addTable(table, false, true, false, false, true, true, false, false, false);
excelAdapterList.add(excelAdapter);
}
DefaultTableColumnModel tableModel = new DefaultTableColumnModel();
final TableColumn tableColumn = new TableColumn(0, (colCount == 1 ? ColumnWidth : TableWidth));
tableColumn.setHeaderValue(tableName);
tableModel.addColumn(tableColumn);
JTableHeader lblTableHeaderName = table.getTableHeader();
lblTableHeaderName.setColumnModel(tableModel);
lblTableHeaderName.setReorderingAllowed(false);
DefaultTableCellRenderer headerRenderer = (DefaultTableCellRenderer) lblTableHeaderName.getDefaultRenderer();
headerRenderer.setHorizontalAlignment(SwingConstants.LEFT);
GridBagConstraints gbc_lblTableName = new GridBagConstraints();
gbc_lblTableName.insets = new Insets((gridy == 0 ? 0 : 5), 0, 0, 0);
gbc_lblTableName.anchor = GridBagConstraints.NORTHWEST;
gbc_lblTableName.fill = GridBagConstraints.HORIZONTAL;
gbc_lblTableName.gridx = gridx;
gbc_lblTableName.gridy = gridy;
panel.add(lblTableHeaderName, gbc_lblTableName);
table.addComponentListener(new ComponentAdapter() {
@Override
public void componentResized(ComponentEvent e) {
tableColumn.setWidth(table.getWidth());
}
});
table.addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent event) {
if (event.getButton() == MouseEvent.BUTTON1) {
JTable eventTable = (JTable) event.getSource();
int colIdx = eventTable.getSelectedColumn();
int rowIdx = eventTable.getSelectedRow();
JTable[] tables = new JTable[] { origTable, newTable, corrTable, corrCountTable };
for (JTable t : tables) {
if (t == null)
continue;
Utils.setTableHeaderHighlightColor(t, new int[] { colIdx }, new int[] { rowIdx });
if (t.getColumnCount() - 1 >= colIdx && t.getRowCount() - 1 >= rowIdx) {
t.setColumnSelectionInterval(colIdx, colIdx);
t.setRowSelectionInterval(rowIdx, rowIdx);
}
}
}
}
});
table.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent e) {
if (e.getValueIsAdjusting())
return;
ListSelectionModel lsm = (ListSelectionModel) e.getSource();
if (!lsm.isSelectionEmpty()) {
Utils.setTableHeaderHighlightColor(table, null, table.getSelectedRows());
JTable[] tables = new JTable[] { origTable, newTable, corrTable, corrCountTable };
for (JTable t : tables) {
if (t != null && t != table && (lsm.getMinSelectionIndex() != t.getSelectionModel().getMinSelectionIndex() || lsm.getMaxSelectionIndex() != t.getSelectionModel().getMaxSelectionIndex())) {
Utils.setTableHeaderHighlightColor(t, null, table.getSelectedRows());
t.getSelectionModel().setSelectionInterval(lsm.getMinSelectionIndex(), lsm.getMaxSelectionIndex());
}
}
}
}
});
table.getColumnModel().getSelectionModel().addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent e) {
if (e.getValueIsAdjusting())
return;
ListSelectionModel lsm = (ListSelectionModel) e.getSource();
if (!lsm.isSelectionEmpty()) {
Utils.setTableHeaderHighlightColor(table, table.getSelectedColumns(), null);
JTable[] tables = new JTable[] { origTable, newTable, corrTable, corrCountTable };
for (JTable t : tables) {
if (t != null && t != table && (lsm.getMinSelectionIndex() != t.getColumnModel().getSelectionModel().getMinSelectionIndex() || lsm.getMaxSelectionIndex() != t.getColumnModel().getSelectionModel().getMaxSelectionIndex())) {
Utils.setTableHeaderHighlightColor(t, table.getSelectedColumns(), null);
t.getColumnModel().getSelectionModel().setSelectionInterval(lsm.getMinSelectionIndex(), lsm.getMaxSelectionIndex());
}
}
}
}
});
table.setName(tableName);
table.getTableHeader().setReorderingAllowed(false);
table.setColumnSelectionAllowed(true);
table.setCellSelectionEnabled(true);
table.setBorder(new LineBorder(new Color(0, 0, 0)));
table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
table.setModel(new DefaultTableModel(rowCount, colCount));
table.putClientProperty("terminateEditOnFocusLost", true);
Utils.initializeTable(table, ColumnWidth);
formatTable(table);
GridBagConstraints gbc_table = new GridBagConstraints();
gbc_table.insets = insets0;
gbc_table.anchor = GridBagConstraints.NORTHWEST;
gbc_table.gridx = gridx;
gbc_table.gridy = gridy + 1;
panel.add(table, gbc_table);
return table;
}
use of javax.swing.ListSelectionModel in project freeplane by freeplane.
the class NodeList method startup.
public void startup() {
if (dialog != null) {
dialog.toFront();
return;
}
NodeList.COLUMN_MODIFIED = TextUtils.getText(PLUGINS_TIME_LIST_XML_MODIFIED);
NodeList.COLUMN_CREATED = TextUtils.getText(PLUGINS_TIME_LIST_XML_CREATED);
NodeList.COLUMN_ICONS = TextUtils.getText(PLUGINS_TIME_LIST_XML_ICONS);
NodeList.COLUMN_TEXT = TextUtils.getText(PLUGINS_TIME_LIST_XML_TEXT);
NodeList.COLUMN_DETAILS = TextUtils.getText(PLUGINS_TIME_LIST_XML_DETAILS);
NodeList.COLUMN_DATE = TextUtils.getText(PLUGINS_TIME_LIST_XML_DATE);
NodeList.COLUMN_NOTES = TextUtils.getText(PLUGINS_TIME_LIST_XML_NOTES);
dialog = new JDialog(Controller.getCurrentController().getViewController().getFrame(), modal);
String windowTitle;
if (showAllNodes) {
windowTitle = PLUGINS_TIME_MANAGEMENT_XML_WINDOW_TITLE_ALL_NODES;
} else {
windowTitle = PLUGINS_TIME_MANAGEMENT_XML_WINDOW_TITLE;
}
dialog.setTitle(TextUtils.getText(windowTitle));
dialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
final WindowAdapter windowListener = new WindowAdapter() {
@Override
public void windowGainedFocus(WindowEvent e) {
mFilterTextSearchField.getEditor().selectAll();
}
@Override
public void windowClosing(final WindowEvent event) {
disposeDialog();
}
};
dialog.addWindowListener(windowListener);
dialog.addWindowFocusListener(windowListener);
UITools.addEscapeActionToDialog(dialog, new AbstractAction() {
/**
*/
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent arg0) {
disposeDialog();
}
});
final Container contentPane = dialog.getContentPane();
final GridBagLayout gbl = new GridBagLayout();
contentPane.setLayout(gbl);
final GridBagConstraints layoutConstraints = new GridBagConstraints();
layoutConstraints.gridx = 0;
layoutConstraints.gridy = 0;
layoutConstraints.gridwidth = 1;
layoutConstraints.gridheight = 1;
layoutConstraints.weightx = 0.0;
layoutConstraints.weighty = 0.0;
layoutConstraints.anchor = GridBagConstraints.WEST;
layoutConstraints.fill = GridBagConstraints.HORIZONTAL;
contentPane.add(new JLabel(TextUtils.getText(PLUGINS_TIME_MANAGEMENT_XML_FIND)), layoutConstraints);
layoutConstraints.gridwidth = 1;
layoutConstraints.gridx++;
contentPane.add(Box.createHorizontalStrut(40), layoutConstraints);
layoutConstraints.gridx++;
contentPane.add(new JLabel(TextUtils.getText("filter_match_case")), layoutConstraints);
layoutConstraints.gridx++;
contentPane.add(matchCase, layoutConstraints);
layoutConstraints.gridx++;
contentPane.add(Box.createHorizontalStrut(40), layoutConstraints);
layoutConstraints.gridx++;
contentPane.add(new JLabel(TextUtils.getText("regular_expressions")), layoutConstraints);
layoutConstraints.gridx++;
contentPane.add(useRegexInFind, layoutConstraints);
layoutConstraints.gridx = 0;
layoutConstraints.weightx = 1.0;
layoutConstraints.gridwidth = GridBagConstraints.REMAINDER;
layoutConstraints.gridy++;
contentPane.add(/* new JScrollPane */
(mFilterTextSearchField), layoutConstraints);
layoutConstraints.gridy++;
layoutConstraints.weightx = 0.0;
layoutConstraints.gridwidth = 1;
contentPane.add(new JLabel(TextUtils.getText(PLUGINS_TIME_MANAGEMENT_XML_REPLACE)), layoutConstraints);
layoutConstraints.gridx = 5;
contentPane.add(new JLabel(TextUtils.getText("regular_expressions")), layoutConstraints);
layoutConstraints.gridx++;
contentPane.add(useRegexInReplace, layoutConstraints);
layoutConstraints.gridx = 0;
layoutConstraints.weightx = 1.0;
layoutConstraints.gridwidth = GridBagConstraints.REMAINDER;
layoutConstraints.gridy++;
contentPane.add(/* new JScrollPane */
(mFilterTextReplaceField), layoutConstraints);
dateRenderer = new DateRenderer();
textRenderer = new TextRenderer();
iconsRenderer = new IconsRenderer();
tableView = new FlatNodeTable();
tableView.addKeyListener(new FlatNodeTableKeyListener());
tableView.addMouseListener(new FlatNodeTableMouseAdapter());
tableView.getTableHeader().setReorderingAllowed(false);
tableModel = updateModel();
mFlatNodeTableFilterModel = new FlatNodeTableFilterModel(tableModel, new int[] { NodeList.NODE_TEXT_COLUMN, NodeList.NODE_DETAILS_COLUMN, NodeList.NODE_NOTES_COLUMN });
sorter = new TableSorter(mFlatNodeTableFilterModel);
tableView.setModel(sorter);
sorter.setTableHeader(tableView.getTableHeader());
sorter.setColumnComparator(Date.class, TableSorter.COMPARABLE_COMPARATOR);
sorter.setColumnComparator(NodeModel.class, TableSorter.LEXICAL_COMPARATOR);
sorter.setColumnComparator(IconsHolder.class, TableSorter.COMPARABLE_COMPARATOR);
sorter.setSortingStatus(NodeList.DATE_COLUMN, TableSorter.ASCENDING);
final JScrollPane pane = new JScrollPane(tableView);
UITools.setScrollbarIncrement(pane);
layoutConstraints.gridy++;
GridBagConstraints tableConstraints = (GridBagConstraints) layoutConstraints.clone();
tableConstraints.weightx = 1;
tableConstraints.weighty = 10;
tableConstraints.fill = GridBagConstraints.BOTH;
contentPane.add(pane, tableConstraints);
mTreeLabel = new JLabel();
layoutConstraints.gridy++;
GridBagConstraints treeConstraints = (GridBagConstraints) layoutConstraints.clone();
treeConstraints.fill = GridBagConstraints.BOTH;
@SuppressWarnings("serial") JScrollPane scrollPane = new JScrollPane(mTreeLabel) {
@Override
public boolean isValidateRoot() {
return false;
}
};
contentPane.add(scrollPane, treeConstraints);
final AbstractAction exportAction = new AbstractAction(TextUtils.getText("plugins/TimeManagement.xml_Export")) {
/**
*/
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent arg0) {
exportSelectedRowsAndClose();
}
};
final JButton exportButton = new JButton(exportAction);
final AbstractAction replaceAllAction = new AbstractAction(TextUtils.getText("plugins/TimeManagement.xml_Replace_All")) {
/**
*/
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent arg0) {
replace(new HolderAccessor(false));
}
};
final JButton replaceAllButton = new JButton(replaceAllAction);
final AbstractAction replaceSelectedAction = new AbstractAction(TextUtils.getText("plugins/TimeManagement.xml_Replace_Selected")) {
/**
*/
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent arg0) {
replace(new HolderAccessor(true));
}
};
final JButton replaceSelectedButton = new JButton(replaceSelectedAction);
final AbstractAction gotoAction = new AbstractAction(TextUtils.getText("plugins/TimeManagement.xml_Goto")) {
/**
*/
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent arg0) {
selectSelectedRows();
}
};
final JButton gotoButton = new JButton(gotoAction);
final AbstractAction disposeAction = new AbstractAction(TextUtils.getText(PLUGINS_TIME_MANAGEMENT_XML_CLOSE)) {
/**
*/
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent arg0) {
disposeDialog();
}
};
final JButton cancelButton = new JButton(disposeAction);
/* Initial State */
gotoAction.setEnabled(false);
exportAction.setEnabled(false);
replaceSelectedAction.setEnabled(false);
final Box bar = Box.createHorizontalBox();
bar.add(Box.createHorizontalGlue());
bar.add(cancelButton);
bar.add(exportButton);
bar.add(replaceAllButton);
bar.add(replaceSelectedButton);
bar.add(gotoButton);
bar.add(Box.createHorizontalGlue());
layoutConstraints.gridy++;
contentPane.add(/* new JScrollPane */
(bar), layoutConstraints);
final JMenuBar menuBar = new JMenuBar();
final JMenu menu = new JMenu(TextUtils.getText("plugins/TimeManagement.xml_menu_actions"));
final AbstractAction[] actionList = new AbstractAction[] { gotoAction, replaceSelectedAction, replaceAllAction, exportAction, disposeAction };
for (int i = 0; i < actionList.length; i++) {
final AbstractAction action = actionList[i];
final JMenuItem item = menu.add(action);
item.setIcon(new BlindIcon(UIBuilder.ICON_SIZE));
}
menuBar.add(menu);
dialog.setJMenuBar(menuBar);
final ListSelectionModel rowSM = tableView.getSelectionModel();
rowSM.addListSelectionListener(new ListSelectionListener() {
public void valueChanged(final ListSelectionEvent e) {
if (e.getValueIsAdjusting()) {
return;
}
final ListSelectionModel lsm = (ListSelectionModel) e.getSource();
final boolean enable = !(lsm.isSelectionEmpty());
replaceSelectedAction.setEnabled(enable);
gotoAction.setEnabled(enable);
exportAction.setEnabled(enable);
}
});
rowSM.addListSelectionListener(new ListSelectionListener() {
String getNodeText(final NodeModel node) {
return TextController.getController().getShortText(node) + ((node.isRoot()) ? "" : (" <- " + getNodeText(node.getParentNode())));
}
public void valueChanged(final ListSelectionEvent e) {
if (e.getValueIsAdjusting()) {
return;
}
final ListSelectionModel lsm = (ListSelectionModel) e.getSource();
if (lsm.isSelectionEmpty()) {
mTreeLabel.setText("");
return;
}
final int selectedRow = lsm.getLeadSelectionIndex();
final NodeModel mindMapNode = getMindMapNode(selectedRow);
mTreeLabel.setText(getNodeText(mindMapNode));
}
});
final String marshalled = ResourceController.getResourceController().getProperty(NodeList.WINDOW_PREFERENCE_STORAGE_PROPERTY);
final WindowConfigurationStorage result = TimeWindowConfigurationStorage.decorateDialog(marshalled, dialog);
final WindowConfigurationStorage storage = result;
if (storage != null) {
tableView.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
int column = 0;
for (final TimeWindowColumnSetting setting : ((TimeWindowConfigurationStorage) storage).getListTimeWindowColumnSettingList()) {
tableView.getColumnModel().getColumn(column).setPreferredWidth(setting.getColumnWidth());
sorter.setSortingStatus(column, setting.getColumnSorting());
column++;
}
}
mFlatNodeTableFilterModel.setFilter((String) mFilterTextSearchField.getSelectedItem(), matchCase.isSelected(), useRegexInFind.isSelected());
dialog.setVisible(true);
}
Aggregations