コード例 #1
0
 @Override
 public void actionPerformed(ActionEvent arg0) {
   JPanel dialog = MapillaryFilterChooseSigns.getInstance();
   JOptionPane pane =
       new JOptionPane(dialog, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
   JDialog dlg = pane.createDialog(Main.parent, tr("Choose signs"));
   dlg.setVisible(true);
   if ((int) pane.getValue() == JOptionPane.OK_OPTION)
     MapillaryFilterDialog.getInstance().refresh();
   dlg.dispose();
 }
コード例 #2
0
 @Override
 public void actionPerformed(ActionEvent arg0) {
   MapillaryFilterDialog.getInstance().reset();
 }