public JInternalFramePalletSplit() {
    super();

    this.setTitle("Split Pallet");

    int copies =
        Integer.valueOf(
            ctrl.getKeyValueWithDefault(
                "DEFAULT_LABELS_TO_PRINT", "2", "Default No of Labels to print"));
    copiesnumbermodel = new SpinnerNumberModel(copies, 1, 100, 1);

    initGUI();

    final JHelp help = new JHelp();
    help.enableHelpOnButton(jButtonHelp, JUtility.getHelpSetIDforModule("FRM_PAL_SPLIT"));

    lsscc = "";
    jTextFieldSSCC.setText(lsscc);

    refresh();

    SwingUtilities.invokeLater(
        new Runnable() {
          public void run() {
            jTextFieldSSCC.requestFocus();
            jTextFieldSSCC.setCaretPosition(jTextFieldSSCC.getText().length());
          }
        });
  }
Пример #2
0
 public JInternalFrameRFMenu() {
   super();
   initGUI();
   final JHelp help = new JHelp();
   help.enableHelpOnButton(jButtonHelp, JUtility.getHelpSetIDforModule("FRM_ADMIN_RF_MENU"));
   populateAssignedList();
   populateUnAssignedList();
 }