Example #1
0
 protected void initGUI() {
   super.initGUI();
   JLabel tmpLabel;
   JPanel tmpPane = getButtonPane();
   {
     tmpPane.add(axisList);
     tmpPane.add(Box.createHorizontalStrut(10));
     tmpLabel = new JLabel("Z position:");
     tmpLabel.setDisplayedMnemonic('Z');
     tmpLabel.setLabelFor(positionSlider);
     tmpPane.add(tmpLabel);
     tmpPane.add(positionSlider);
     tmpPane.add(positionLabel);
     tmpPane.add(Box.createHorizontalGlue());
   }
 }
Example #2
0
 protected void initGUI() {
   super.initGUI();
   JLabel tmpLabel;
   JPanel tmpPane = getButtonPane();
   {
     tmpPane.add(visibleButton);
     tmpPane.add(Box.createHorizontalStrut(10));
     tmpLabel = new JLabel("Label:");
     tmpLabel.setDisplayedMnemonic('L');
     tmpPane.add(tmpLabel);
     tmpPane.add(Box.createHorizontalStrut(10));
     tmpPane.add(labelSpinner);
     tmpPane.add(positionSpinner);
     tmpPane.add(Box.createHorizontalStrut(10));
     tmpPane.add(editButton);
     tmpPane.add(Box.createHorizontalGlue());
   }
 }