Examples of pack()


Examples of net.sf.jftp.gui.framework.HFrame.pack()

        h.getContentPane().add("Center", text);
        text.setText(" ---------------- Output -----------------\n" +
                     JFtp.log.getText());
        JFtp.log.setText("");
        text.setEditable(false);
        h.pack();
        h.show();
    }

    private void setDate()
    {
View Full Code Here

Examples of net.sf.jsignpdf.SignPdfForm.pack()

          UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e) {
          System.err.println("Can't set Look&Feel.");
        }
        final SignPdfForm tmpForm = new SignPdfForm(WindowConstants.DISPOSE_ON_CLOSE);
        tmpForm.pack();
        tmpForm.setVisible(true);
        return;
      }
    }
  }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.gui.desktopcontainer.DialogWidget.pack()

            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));
          } else if (frame instanceof SmarttoolChangeValuesFrame) {
            frame.setSize(new Dimension(frame.getWidth(), 500));
          } else if (frame instanceof SmarttoolMissingIndicesFrame) {
View Full Code Here

Examples of net.sourceforge.squirrel_sql.plugins.exportconfig.gui.ExportDialog.pack()

   */
  public void execute()
  {
    final IApplication app = _plugin.getApplication();
    final JDialog dlog = new ExportDialog(app, _plugin);
    dlog.pack();
    GUIUtils.centerWithinParent(dlog);
    dlog.setVisible(true);
   }
}
View Full Code Here

Examples of net.sourceforge.squirrel_sql.plugins.mssql.gui.GenerateSqlDialog.pack()

                }
            }
           
      GenerateSqlDialog dlog = new GenerateSqlDialog(_session, _plugin, _dbObjs);
            dlog.preselectObjects(_dbObjs);
      dlog.pack();
      GUIUtils.centerWithinParent(dlog);
      if (!dlog.showGeneralSqlDialog())
                return;
           
            JFileChooser fc = new JFileChooser();
View Full Code Here

Examples of net.sourceforge.squirrel_sql.plugins.mysql.gui.AlterTableDialog.pack()

  public void execute() throws BaseException
  {
    try
    {
      AlterTableDialog dlog = new AlterTableDialog(_session, _plugin, _ti);
      dlog.pack();
      GUIUtils.centerWithinParent(dlog);
      dlog.setVisible(true);
    }
    catch (SQLException ex)
    {
View Full Code Here

Examples of net.xoetrope.swing.XDialog.pack()

        m_productsList.setVisibleRowCount(-1);
        m_productsList.ensureIndexIsVisible(m_productsList.getItemCount());
        m_productsList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        m_productsList.setToolTipText(UtilProperties.getMessage(PosTransaction.resource, "PosSelectProductListDblClickTip", Locale.getDefault()));

        dlg.pack();
        dlg.showDialog(this);
        return m_productIdSelected;
    }

    public synchronized void DoubleClick() {
View Full Code Here

Examples of no.ugland.utransprod.gui.JDialogAdapter.pack()

                        new JDialog(ProTransMain.PRO_TRANS_MAIN, "Attributter",
                                true));
                dialogAttributes.setName("OrderLineAttributeView");
                dialogAttributes.add(attributeCriteriaView
                        .buildPanel(dialogAttributes));
                dialogAttributes.pack();
                Util.locateOnScreenCenter(dialogAttributes);
                dialogAttributes.setVisible(true);
                dialogAttributes.dispose();

                if (object == null
View Full Code Here

Examples of no.ugland.utransprod.gui.WindowInterface.pack()

                        new JDialog(ProTransMain.PRO_TRANS_MAIN, "Attributter",
                                true));
                dialogAttributes.setName("OrderLineAttributeView");
                dialogAttributes.add(attributeCriteriaView
                        .buildPanel(dialogAttributes));
                dialogAttributes.pack();
                Util.locateOnScreenCenter(dialogAttributes);
                dialogAttributes.setVisible(true);
                dialogAttributes.dispose();

                if (object == null
View Full Code Here

Examples of org.anks.sudoku.ui.MainWindow.pack()

   * @param args
   */
  public static void main(String[] args)
  {
    JFrame window = new MainWindow();
    window.pack();

    window.setResizable(false);
    window.setLocation(100, 100);
    window.setVisible(true);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.