Package net.sourceforge.squirrel_sql.client.gui

Examples of net.sourceforge.squirrel_sql.client.gui.OkClosePanel


          //i18n[ImportTableDataCommand.settingsDialogTitle=Import file settings]
          final JDialog dialog = new JDialog(session.getApplication().getMainFrame(), stringMgr.getString("ImportTableDataCommand.settingsDialogTitle"), true);
          StateListener dialogState = new StateListener(dialog);
          dialog.setLayout(new BorderLayout());
          dialog.add(importer.getConfigurationPanel(), BorderLayout.CENTER);
          OkClosePanel buttons = new OkClosePanel();
          //i18n[ImportTableDataCommand.cancel=Cancel]
          buttons.getCloseButton().setText(stringMgr.getString("ImportTableDataCommand.cancel"));
          buttons.addListener(dialogState);
          dialog.add(buttons, BorderLayout.SOUTH);
          dialog.pack();
          GUIUtils.centerWithinParent(dialog);
          dialog.setVisible(true);
          if (!dialogState.isOkPressed()) {
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.gui.OkClosePanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.