Example #1
0
 private JComponent getLogComponent()
 {
     var jpanel = new JPanel(new BorderLayout());
     var jtextarea = new JTextArea();
     logger.addHandler(new GuiLogOutputHandler(jtextarea));
     var jscrollpane = new JScrollPane(jtextarea, 22, 30);
     jtextarea.setEditable(false);
     var jtextfield = new JTextField();
     jtextfield.addActionListener(new ServerGuiCommandListener(this, jtextfield));
     jtextarea.addFocusListener(new ServerGuiFocusAdapter(this));
     jpanel.add(jscrollpane, "Center");
     jpanel.add(jtextfield, "South");
     jpanel.setBorder(new TitledBorder(new EtchedBorder(), "Log and chat"));
     return jpanel;
 }
 public InsetsChooserPanel(Insets current)
 {
   base.\u002Ector();
   InsetsChooserPanel insetsChooserPanel = this;
   current = current != null ? current : new Insets(0, 0, 0, 0);
   JTextField.__\u003Cclinit\u003E();
   this.topValueEditor = new JTextField((Document) new IntegerDocument(), new StringBuffer().append("").append((int) current.top).toString(), 0);
   JTextField.__\u003Cclinit\u003E();
   this.leftValueEditor = new JTextField((Document) new IntegerDocument(), new StringBuffer().append("").append((int) current.left).toString(), 0);
   JTextField.__\u003Cclinit\u003E();
   this.bottomValueEditor = new JTextField((Document) new IntegerDocument(), new StringBuffer().append("").append((int) current.bottom).toString(), 0);
   JTextField.__\u003Cclinit\u003E();
   this.rightValueEditor = new JTextField((Document) new IntegerDocument(), new StringBuffer().append("").append((int) current.right).toString(), 0);
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel1 = new JPanel((LayoutManager) new GridBagLayout());
   ((JComponent) jpanel1).setBorder((Border) new TitledBorder(InsetsChooserPanel.localizationResources.getString("Insets")));
   JPanel jpanel2 = jpanel1;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel1 = new JLabel(InsetsChooserPanel.localizationResources.getString("Top"));
   GridBagConstraints gridBagConstraints1 = new GridBagConstraints(1, 0, 3, 1, 0.0, 0.0, 10, 0, new Insets(0, 0, 0, 0), 0, 0);
   ((Container) jpanel2).add((Component) jlabel1, (object) gridBagConstraints1);
   ((Container) jpanel1).add((Component) new JLabel(" "), (object) new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, 10, 1, new Insets(0, 12, 0, 12), 8, 0));
   ((Container) jpanel1).add((Component) this.topValueEditor, (object) new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0, 10, 2, new Insets(0, 0, 0, 0), 0, 0));
   ((Container) jpanel1).add((Component) new JLabel(" "), (object) new GridBagConstraints(3, 1, 1, 1, 0.0, 0.0, 10, 1, new Insets(0, 12, 0, 11), 8, 0));
   JPanel jpanel3 = jpanel1;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel2 = new JLabel(InsetsChooserPanel.localizationResources.getString("Left"));
   GridBagConstraints gridBagConstraints2 = new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, 10, 1, new Insets(0, 4, 0, 4), 0, 0);
   ((Container) jpanel3).add((Component) jlabel2, (object) gridBagConstraints2);
   ((Container) jpanel1).add((Component) this.leftValueEditor, (object) new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0, 10, 1, new Insets(0, 0, 0, 0), 0, 0));
   ((Container) jpanel1).add((Component) new JLabel(" "), (object) new GridBagConstraints(2, 2, 1, 1, 0.0, 0.0, 10, 0, new Insets(0, 12, 0, 12), 8, 0));
   ((Container) jpanel1).add((Component) this.rightValueEditor, (object) new GridBagConstraints(3, 2, 1, 1, 0.0, 0.0, 10, 2, new Insets(0, 0, 0, 0), 0, 0));
   JPanel jpanel4 = jpanel1;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel3 = new JLabel(InsetsChooserPanel.localizationResources.getString("Right"));
   GridBagConstraints gridBagConstraints3 = new GridBagConstraints(4, 2, 1, 1, 0.0, 0.0, 10, 0, new Insets(0, 4, 0, 4), 0, 0);
   ((Container) jpanel4).add((Component) jlabel3, (object) gridBagConstraints3);
   ((Container) jpanel1).add((Component) this.bottomValueEditor, (object) new GridBagConstraints(2, 3, 1, 1, 0.0, 0.0, 10, 2, new Insets(0, 0, 0, 0), 0, 0));
   JPanel jpanel5 = jpanel1;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel4 = new JLabel(InsetsChooserPanel.localizationResources.getString("Bottom"));
   GridBagConstraints gridBagConstraints4 = new GridBagConstraints(1, 4, 3, 1, 0.0, 0.0, 10, 0, new Insets(0, 0, 0, 0), 0, 0);
   ((Container) jpanel5).add((Component) jlabel4, (object) gridBagConstraints4);
   ((Container) this).setLayout((LayoutManager) new BorderLayout());
   ((Container) this).add((Component) jpanel1, (object) "Center");
 }
Example #3
0
 public Spinner(int value)
 {
   base.\u002Ector((LayoutManager) new BorderLayout());
   Spinner spinner = this;
   this.value = value;
   JTextField.__\u003Cclinit\u003E();
   this.textField = new JTextField(Integer.toString(this.value));
   this.textField.setHorizontalAlignment(4);
   ((Container) this).add((Component) this.textField);
   JPanel.__\u003Cclinit\u003E();
   this.buttonPanel = new JPanel((LayoutManager) new GridLayout(2, 1, 0, 1));
   this.upButton = new ArrowPanel(0);
   ((Component) this.upButton).addMouseListener((MouseListener) this);
   this.downButton = new ArrowPanel(1);
   ((Component) this.downButton).addMouseListener((MouseListener) this);
   ((Container) this.buttonPanel).add((Component) this.upButton);
   ((Container) this.buttonPanel).add((Component) this.downButton);
   ((Container) this).add((Component) this.buttonPanel, (object) "East");
 }
Example #4
0
 public override void init()
 {
   ((Container) this).setLayout((LayoutManager) new BoxLayout((Container) this, 0));
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel = new JLabel(this.getFieldName());
   if (this.getType().isChildOf(DataType.__\u003C\u003EBOOLEAN))
   {
     AbstractValueWidget.EditableBooleanValueField.__\u003Cclinit\u003E();
     this.valueField = (JTextField) new AbstractValueWidget.EditableBooleanValueField((AbstractValueWidget) this, this.getFieldName());
   }
   else if (this.getType().isChildOf(DataType.__\u003C\u003ENUMBER))
   {
     AbstractValueWidget.EditableNumberValueField.__\u003Cclinit\u003E();
     this.valueField = (JTextField) new AbstractValueWidget.EditableNumberValueField((AbstractValueWidget) this, this.getFieldName());
   }
   else if (this.getType().isChildOf(DataType.__\u003C\u003ESTRING))
   {
     AbstractValueWidget.EditableStringValueField.__\u003Cclinit\u003E();
     this.valueField = (JTextField) new AbstractValueWidget.EditableStringValueField((AbstractValueWidget) this, this.getFieldName());
   }
   else
   {
     this.valueField = new JTextField();
     ((JTextComponent) this.valueField).setText(new StringBuilder().append("Unupported basic data type: ").append((object) this.getType()).toString());
     ((JTextComponent) this.valueField).setEditable(false);
   }
   this.update((Property) this.__\u003C\u003Ebackground, (object) ((Component) this.valueField).getBackground());
   ((JTextComponent) this.valueField).setEditable(((Boolean) this.__\u003C\u003Eeditable.getValue()).booleanValue());
   this.valueField.setColumns(10);
   ((Container) this).add((Component) jlabel);
   ((Container) this).add((Component) this.valueField);
 }
        private readonly JTextField textField; /* synthetic field */

        #endregion Fields

        #region Constructors

        public ServerGuiCommandListener(ServerGUI servergui, JTextField jtextfield)
        {
            mcServerGui = servergui;
            textField = jtextfield;
            //
        }
 public NewPreferenceEntryDialog([In] RobotPreferences obj0)
 {
   base.\u002Ector();
   RobotPreferences.NewPreferenceEntryDialog preferenceEntryDialog1 = this;
   this.canceled = true;
   ((Dialog) this).setTitle("New Preference Entry");
   ((Dialog) this).setModal(true);
   ((Dialog) this).setResizable(false);
   ((JComponent) this.getContentPane()).setBorder(BorderFactory.createEmptyBorder(7, 7, 7, 7));
   this.setLayout((LayoutManager) new GridBagLayout());
   GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
   ((Container) this).add((Component) new JLabel("Key: "), (object) gridBagConstraints1);
   gridBagConstraints1.gridx = (__Null) 1;
   RobotPreferences.NewPreferenceEntryDialog preferenceEntryDialog2 = this;
   JTextField jtextField1 = new JTextField(10);
   JTextField jtextField2 = jtextField1;
   this.keyField = jtextField1;
   GridBagConstraints gridBagConstraints2 = gridBagConstraints1;
   ((Container) this).add((Component) jtextField2, (object) gridBagConstraints2);
   gridBagConstraints1.gridx = (__Null) 0;
   gridBagConstraints1.gridy = (__Null) 1;
   ((Container) this).add((Component) new JLabel("Value: "), (object) gridBagConstraints1);
   gridBagConstraints1.gridx = (__Null) 1;
   RobotPreferences.NewPreferenceEntryDialog preferenceEntryDialog3 = this;
   JTextField jtextField3 = new JTextField(10);
   JTextField jtextField4 = jtextField3;
   this.valueField = jtextField3;
   GridBagConstraints gridBagConstraints3 = gridBagConstraints1;
   ((Container) this).add((Component) jtextField4, (object) gridBagConstraints3);
   JPanel jpanel1 = new JPanel();
   ((Container) jpanel1).setLayout((LayoutManager) new GridLayout(0, 2));
   JPanel jpanel2 = jpanel1;
   RobotPreferences.NewPreferenceEntryDialog preferenceEntryDialog4 = this;
   JButton jbutton1 = new JButton("Add");
   JButton jbutton2 = jbutton1;
   this.addButton = jbutton1;
   GridBagConstraints gridBagConstraints4 = gridBagConstraints1;
   ((Container) jpanel2).add((Component) jbutton2, (object) gridBagConstraints4);
   ((AbstractButton) this.addButton).addActionListener((ActionListener) new RobotPreferences\u0024NewPreferenceEntryDialog\u00241(this, obj0));
   this.getRootPane().setDefaultButton(this.addButton);
   JPanel jpanel3 = jpanel1;
   RobotPreferences.NewPreferenceEntryDialog preferenceEntryDialog5 = this;
   JButton jbutton3 = new JButton("Cancel");
   JButton jbutton4 = jbutton3;
   this.cancelButton = jbutton3;
   GridBagConstraints gridBagConstraints5 = gridBagConstraints1;
   ((Container) jpanel3).add((Component) jbutton4, (object) gridBagConstraints5);
   ((AbstractButton) this.cancelButton).addActionListener((ActionListener) new RobotPreferences\u0024NewPreferenceEntryDialog\u00242(this, obj0));
   gridBagConstraints1.gridx = (__Null) 0;
   gridBagConstraints1.gridy = (__Null) 2;
   gridBagConstraints1.gridwidth = (__Null) 2;
   ((Container) this).add((Component) jpanel1, (object) gridBagConstraints1);
   ((Window) this).pack();
 }
 public DefaultNumberAxisEditor([In] NumberAxis obj0)
   : base((Axis) obj0)
 {
   DefaultNumberAxisEditor numberAxisEditor = this;
   this.autoRange = obj0.isAutoRange();
   this.minimumValue = obj0.getLowerBound();
   this.maximumValue = obj0.getUpperBound();
   PaintSample.__\u003Cclinit\u003E();
   this.gridPaintSample = new PaintSample((Paint) Color.blue);
   StrokeSample.__\u003Cclinit\u003E();
   this.gridStrokeSample = new StrokeSample((Stroke) new BasicStroke(1f));
   this.availableStrokeSamples = new StrokeSample[3];
   StrokeSample[] strokeSampleArray1 = this.availableStrokeSamples;
   int index1 = 0;
   StrokeSample.__\u003Cclinit\u003E();
   StrokeSample strokeSample1 = new StrokeSample((Stroke) new BasicStroke(1f));
   strokeSampleArray1[index1] = strokeSample1;
   StrokeSample[] strokeSampleArray2 = this.availableStrokeSamples;
   int index2 = 1;
   StrokeSample.__\u003Cclinit\u003E();
   StrokeSample strokeSample2 = new StrokeSample((Stroke) new BasicStroke(2f));
   strokeSampleArray2[index2] = strokeSample2;
   StrokeSample[] strokeSampleArray3 = this.availableStrokeSamples;
   int index3 = 2;
   StrokeSample.__\u003Cclinit\u003E();
   StrokeSample strokeSample3 = new StrokeSample((Stroke) new BasicStroke(3f));
   strokeSampleArray3[index3] = strokeSample3;
   JTabbedPane otherTabs = this.getOtherTabs();
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel1 = new JPanel((LayoutManager) new LCBLayout(3));
   ((JComponent) jpanel1).setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
   ((Container) jpanel1).add((Component) new JPanel());
   JCheckBox.__\u003Cclinit\u003E();
   this.autoRangeCheckBox = new JCheckBox(DefaultNumberAxisEditor.localizationResources.getString("Auto-adjust_range"), this.autoRange);
   ((AbstractButton) this.autoRangeCheckBox).setActionCommand("AutoRangeOnOff");
   ((AbstractButton) this.autoRangeCheckBox).addActionListener((ActionListener) this);
   ((Container) jpanel1).add((Component) this.autoRangeCheckBox);
   ((Container) jpanel1).add((Component) new JPanel());
   JPanel jpanel2 = jpanel1;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel1 = new JLabel(DefaultNumberAxisEditor.localizationResources.getString("Minimum_range_value"));
   ((Container) jpanel2).add((Component) jlabel1);
   JTextField.__\u003Cclinit\u003E();
   this.minimumRangeValue = new JTextField(Double.toString(this.minimumValue));
   ((JComponent) this.minimumRangeValue).setEnabled(!this.autoRange);
   this.minimumRangeValue.setActionCommand("MinimumRange");
   this.minimumRangeValue.addActionListener((ActionListener) this);
   ((Component) this.minimumRangeValue).addFocusListener((FocusListener) this);
   ((Container) jpanel1).add((Component) this.minimumRangeValue);
   ((Container) jpanel1).add((Component) new JPanel());
   JPanel jpanel3 = jpanel1;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel2 = new JLabel(DefaultNumberAxisEditor.localizationResources.getString("Maximum_range_value"));
   ((Container) jpanel3).add((Component) jlabel2);
   JTextField.__\u003Cclinit\u003E();
   this.maximumRangeValue = new JTextField(Double.toString(this.maximumValue));
   ((JComponent) this.maximumRangeValue).setEnabled(!this.autoRange);
   this.maximumRangeValue.setActionCommand("MaximumRange");
   this.maximumRangeValue.addActionListener((ActionListener) this);
   ((Component) this.maximumRangeValue).addFocusListener((FocusListener) this);
   ((Container) jpanel1).add((Component) this.maximumRangeValue);
   ((Container) jpanel1).add((Component) new JPanel());
   otherTabs.add(DefaultNumberAxisEditor.localizationResources.getString("Range"), (Component) jpanel1);
 }
 public DefaultChartEditor([In] JFreeChart obj0)
 {
   base.\u002Ector();
   DefaultChartEditor defaultChartEditor = this;
   ((Container) this).setLayout((LayoutManager) new BorderLayout());
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel1 = new JPanel((LayoutManager) new BorderLayout());
   ((JComponent) jpanel1).setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel2 = new JPanel((LayoutManager) new BorderLayout());
   ((JComponent) jpanel2).setBorder((Border) BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), DefaultChartEditor.localizationResources.getString("General")));
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel3 = new JPanel((LayoutManager) new LCBLayout(6));
   ((JComponent) jpanel3).setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5));
   JCheckBox.__\u003Cclinit\u003E();
   this.antialias = new JCheckBox(DefaultChartEditor.localizationResources.getString("Draw_anti-aliased"));
   ((AbstractButton) this.antialias).setSelected(obj0.getAntiAlias());
   ((Container) jpanel3).add((Component) this.antialias);
   ((Container) jpanel3).add((Component) new JLabel(""));
   ((Container) jpanel3).add((Component) new JLabel(""));
   JPanel jpanel4 = jpanel3;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel1 = new JLabel(DefaultChartEditor.localizationResources.getString("Background_paint"));
   ((Container) jpanel4).add((Component) jlabel1);
   PaintSample.__\u003Cclinit\u003E();
   this.background = new PaintSample(obj0.getBackgroundPaint());
   ((Container) jpanel3).add((Component) this.background);
   JButton.__\u003Cclinit\u003E();
   JButton jbutton1 = new JButton(DefaultChartEditor.localizationResources.getString("Select..."));
   ((AbstractButton) jbutton1).setActionCommand("BackgroundPaint");
   ((AbstractButton) jbutton1).addActionListener((ActionListener) this);
   ((Container) jpanel3).add((Component) jbutton1);
   JPanel jpanel5 = jpanel3;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel2 = new JLabel(DefaultChartEditor.localizationResources.getString("Series_Paint"));
   ((Container) jpanel5).add((Component) jlabel2);
   JTextField.__\u003Cclinit\u003E();
   JTextField jtextField1 = new JTextField(DefaultChartEditor.localizationResources.getString("No_editor_implemented"));
   ((JComponent) jtextField1).setEnabled(false);
   ((Container) jpanel3).add((Component) jtextField1);
   JButton.__\u003Cclinit\u003E();
   JButton jbutton2 = new JButton(DefaultChartEditor.localizationResources.getString("Edit..."));
   ((AbstractButton) jbutton2).setEnabled(false);
   ((Container) jpanel3).add((Component) jbutton2);
   JPanel jpanel6 = jpanel3;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel3 = new JLabel(DefaultChartEditor.localizationResources.getString("Series_Stroke"));
   ((Container) jpanel6).add((Component) jlabel3);
   JTextField.__\u003Cclinit\u003E();
   JTextField jtextField2 = new JTextField(DefaultChartEditor.localizationResources.getString("No_editor_implemented"));
   ((JComponent) jtextField2).setEnabled(false);
   ((Container) jpanel3).add((Component) jtextField2);
   JButton.__\u003Cclinit\u003E();
   JButton jbutton3 = new JButton(DefaultChartEditor.localizationResources.getString("Edit..."));
   ((AbstractButton) jbutton3).setEnabled(false);
   ((Container) jpanel3).add((Component) jbutton3);
   JPanel jpanel7 = jpanel3;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel4 = new JLabel(DefaultChartEditor.localizationResources.getString("Series_Outline_Paint"));
   ((Container) jpanel7).add((Component) jlabel4);
   JTextField.__\u003Cclinit\u003E();
   JTextField jtextField3 = new JTextField(DefaultChartEditor.localizationResources.getString("No_editor_implemented"));
   ((JComponent) jtextField3).setEnabled(false);
   ((Container) jpanel3).add((Component) jtextField3);
   JButton.__\u003Cclinit\u003E();
   JButton jbutton4 = new JButton(DefaultChartEditor.localizationResources.getString("Edit..."));
   ((AbstractButton) jbutton4).setEnabled(false);
   ((Container) jpanel3).add((Component) jbutton4);
   JPanel jpanel8 = jpanel3;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel5 = new JLabel(DefaultChartEditor.localizationResources.getString("Series_Outline_Stroke"));
   ((Container) jpanel8).add((Component) jlabel5);
   JTextField.__\u003Cclinit\u003E();
   JTextField jtextField4 = new JTextField(DefaultChartEditor.localizationResources.getString("No_editor_implemented"));
   ((JComponent) jtextField4).setEnabled(false);
   ((Container) jpanel3).add((Component) jtextField4);
   JButton.__\u003Cclinit\u003E();
   JButton jbutton5 = new JButton(DefaultChartEditor.localizationResources.getString("Edit..."));
   ((AbstractButton) jbutton5).setEnabled(false);
   ((Container) jpanel3).add((Component) jbutton5);
   ((Container) jpanel2).add((Component) jpanel3, (object) "North");
   ((Container) jpanel1).add((Component) jpanel2, (object) "North");
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel9 = new JPanel((LayoutManager) new BorderLayout());
   TextTitle title = obj0.getTitle();
   Plot plot = obj0.getPlot();
   JTabbedPane jtabbedPane = new JTabbedPane();
   this.titleEditor = new DefaultTitleEditor((Title) title);
   ((JComponent) this.titleEditor).setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
   jtabbedPane.addTab(DefaultChartEditor.localizationResources.getString("Title"), (Component) this.titleEditor);
   this.plotEditor = new DefaultPlotEditor(plot);
   ((JComponent) this.plotEditor).setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
   jtabbedPane.addTab(DefaultChartEditor.localizationResources.getString("Plot"), (Component) this.plotEditor);
   jtabbedPane.add(DefaultChartEditor.localizationResources.getString("Other"), (Component) jpanel1);
   ((Container) jpanel9).add((Component) jtabbedPane, (object) "North");
   ((Container) this).add((Component) jpanel9);
 }
 public DefaultTitleEditor([In] Title obj0)
 {
   base.\u002Ector();
   DefaultTitleEditor defaultTitleEditor = this;
   TextTitle textTitle1;
   if (obj0 != null)
   {
     textTitle1 = (TextTitle) obj0;
   }
   else
   {
     TextTitle.__\u003Cclinit\u003E();
     textTitle1 = new TextTitle(DefaultTitleEditor.localizationResources.getString("Title"));
   }
   TextTitle textTitle2 = textTitle1;
   this.showTitle = obj0 != null;
   this.titleFont = textTitle2.getFont();
   JTextField.__\u003Cclinit\u003E();
   this.titleField = new JTextField(textTitle2.getText());
   PaintSample.__\u003Cclinit\u003E();
   this.titlePaint = new PaintSample(textTitle2.getPaint());
   ((Container) this).setLayout((LayoutManager) new BorderLayout());
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel1 = new JPanel((LayoutManager) new BorderLayout());
   ((JComponent) jpanel1).setBorder((Border) BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), DefaultTitleEditor.localizationResources.getString("General")));
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel2 = new JPanel((LayoutManager) new LCBLayout(4));
   ((JComponent) jpanel2).setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5));
   JPanel jpanel3 = jpanel2;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel1 = new JLabel(DefaultTitleEditor.localizationResources.getString("Show_Title"));
   ((Container) jpanel3).add((Component) jlabel1);
   this.showTitleCheckBox = new JCheckBox();
   ((AbstractButton) this.showTitleCheckBox).setSelected(this.showTitle);
   ((AbstractButton) this.showTitleCheckBox).setActionCommand("ShowTitle");
   ((AbstractButton) this.showTitleCheckBox).addActionListener((ActionListener) this);
   ((Container) jpanel2).add((Component) new JPanel());
   ((Container) jpanel2).add((Component) this.showTitleCheckBox);
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel2 = new JLabel(DefaultTitleEditor.localizationResources.getString("Text"));
   ((Container) jpanel2).add((Component) jlabel2);
   ((Container) jpanel2).add((Component) this.titleField);
   ((Container) jpanel2).add((Component) new JPanel());
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel3 = new JLabel(DefaultTitleEditor.localizationResources.getString("Font"));
   FontDisplayField.__\u003Cclinit\u003E();
   this.fontfield = (JTextField) new FontDisplayField(this.titleFont);
   JButton.__\u003Cclinit\u003E();
   this.selectFontButton = new JButton(DefaultTitleEditor.localizationResources.getString("Select..."));
   ((AbstractButton) this.selectFontButton).setActionCommand("SelectFont");
   ((AbstractButton) this.selectFontButton).addActionListener((ActionListener) this);
   ((Container) jpanel2).add((Component) jlabel3);
   ((Container) jpanel2).add((Component) this.fontfield);
   ((Container) jpanel2).add((Component) this.selectFontButton);
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel4 = new JLabel(DefaultTitleEditor.localizationResources.getString("Color"));
   JButton.__\u003Cclinit\u003E();
   this.selectPaintButton = new JButton(DefaultTitleEditor.localizationResources.getString("Select..."));
   ((AbstractButton) this.selectPaintButton).setActionCommand("SelectPaint");
   ((AbstractButton) this.selectPaintButton).addActionListener((ActionListener) this);
   ((Container) jpanel2).add((Component) jlabel4);
   ((Container) jpanel2).add((Component) this.titlePaint);
   ((Container) jpanel2).add((Component) this.selectPaintButton);
   this.enableOrDisableControls();
   ((Container) jpanel1).add((Component) jpanel2);
   ((Container) this).add((Component) jpanel1, (object) "North");
 }