Package com.jgoodies.forms.builder

Examples of com.jgoodies.forms.builder.DefaultFormBuilder.nextLine()


    adminModeCheckBox = new JCheckBox();
    settingMediator.add(Settings.ADMIN_MODE, adminModeCheckBox);   
    adminPasswordTextField = new JPasswordField(Constants.DEFAULT_COLUMNS);
    settingMediator.add(Settings.ADMIN_PASSWORD, adminPasswordTextField);
    builder.append(adminModeCheckBox); builder.append(adminPasswordTextField, 3);
    builder.nextLine();

    adminModeCheckBox.addItemListener(new EnableListener(adminPasswordTextField));
   
    builder.appendSeparator(i18n.tr("Status Update"));
View Full Code Here


    builder.appendSeparator(i18n.tr("Status Update"));

    updateOnStartupCheckBox = new JCheckBox();
    settingMediator.add(Settings.UPDATE_ON_STARTUP, updateOnStartupCheckBox);
    builder.append(updateOnStartupCheckBox, 4);
    builder.nextLine();

    autoUpdateCheckBox = new JCheckBox();
    autoUpdateCheckBox.setEnabled(false);
    settingMediator.add(Settings.DO_AUTO_UPDATE, autoUpdateCheckBox);
    // the auto updater is error prone, therefore it has been disabled
View Full Code Here

    autoUpdateCheckBox.setEnabled(false);
    settingMediator.add(Settings.DO_AUTO_UPDATE, autoUpdateCheckBox);
    // the auto updater is error prone, therefore it has been disabled
    // until fixed
    //builder.append(autoUpdateCheckBox, 4);
    builder.nextLine();
   
    autoUpdateIntervalModel = new SpinnerNumberModel(1, 1, Integer.MAX_VALUE, 30);
    settingMediator.add(Settings.AUTO_UPDATE_INTERVAL, autoUpdateIntervalModel);
    autoUpdateIntervalSpinner = new JSpinner(autoUpdateIntervalModel);
    autoUpdateIntervalSpinner.setEditor(new JSpinner.NumberEditor(autoUpdateIntervalSpinner, "# s"));
View Full Code Here

    settingMediator.add(Settings.AUTO_UPDATE_INTERVAL, autoUpdateIntervalModel);
    autoUpdateIntervalSpinner = new JSpinner(autoUpdateIntervalModel);
    autoUpdateIntervalSpinner.setEditor(new JSpinner.NumberEditor(autoUpdateIntervalSpinner, "# s"));
    //autoUpdateIntervalLabel = builder.append("", autoUpdateIntervalSpinner);
    autoUpdateIntervalLabel = new JLabel();
    builder.nextLine();   

    autoUpdateCheckBox.addItemListener(new EnableListener(autoUpdateIntervalSpinner));
  }
 
  public void initializeGeneralForm() {
View Full Code Here

    builder.appendSeparator(i18n.tr("Appearance"));

    showPollqCheckBox = new JCheckBox();
    settingMediator.add(Settings.SHOW_POLLQ, showPollqCheckBox);
    builder.append(showPollqCheckBox, 5);
    builder.nextLine();
   
    languageModel = new DefaultComboBoxModel();
    JComboBox lanuageComboBox = new JComboBox(languageModel);
    lanuageComboBox.setRenderer(new DefaultListCellRenderer() {
      public java.awt.Component getListCellRendererComponent(javax.swing.JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
View Full Code Here

        }
        return this;
      }
    });
    languageLabel = builder.append("", lanuageComboBox, 2);
    builder.nextLine();
   
    builder.appendSeparator(i18n.tr("Behavior"));
   
    completionModeModel = new DefaultComboBoxModel();
    JComboBox completionModeComboBox = new JComboBox(completionModeModel);
View Full Code Here

        }
        return this;
      }
    });
    completionModeLabel = builder.append("", completionModeComboBox, 2);
    builder.nextLine();
   
    builder.appendSeparator(i18n.tr("Confirmations"));
   
    confirmNonPSCheckBox = new JCheckBox();
    settingMediator.add(Settings.CONFIRM_NONPS, confirmNonPSCheckBox);
View Full Code Here

    builder.appendSeparator(i18n.tr("Confirmations"));
   
    confirmNonPSCheckBox = new JCheckBox();
    settingMediator.add(Settings.CONFIRM_NONPS, confirmNonPSCheckBox);
    builder.append(confirmNonPSCheckBox, 5);
    builder.nextLine();
   
    confirmDeleteCheckBox = new JCheckBox();
    settingMediator.add(Settings.CONFIRM_DELETE, confirmDeleteCheckBox);
    builder.append(confirmDeleteCheckBox, 5);
    builder.nextLine();
View Full Code Here

    builder.nextLine();
   
    confirmDeleteCheckBox = new JCheckBox();
    settingMediator.add(Settings.CONFIRM_DELETE, confirmDeleteCheckBox);
    builder.append(confirmDeleteCheckBox, 5);
    builder.nextLine();
  }
 
  private void initializeJobForm() {
    DefaultFormBuilder builder = createForm();
    jobPanel = builder.getPanel();
View Full Code Here

    builder.appendSeparator(i18n.tr("Programs"));
   
    viewerPathFileChooserPanel = new ExecutableChooserPanel(Constants.DEFAULT_COLUMNS);
    viewerPathFileChooserPanel.setDialogParent(this);
    viewerPathLabel = builder.append("", viewerPathFileChooserPanel, 3);
    builder.nextLine();
   
    docViewerPathFileChooserPanel = new ExecutableChooserPanel(Constants.DEFAULT_COLUMNS);
    docViewerPathFileChooserPanel.setDialogParent(this);
    docViewerPathLabel = builder.append("", docViewerPathFileChooserPanel, 3);
    builder.nextLine();
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.