This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 33699
Collapse All | Expand All

(-)openide/api/examples/org/netbeans/examples/modules/globalactions/TestAction.java (-1 / +2 lines)
Lines 48-54 Link Here
48
        comp.setName (NbBundle.getBundle (TestAction.class).getString ("LBL_test_window_title"));
48
        comp.setName (NbBundle.getBundle (TestAction.class).getString ("LBL_test_window_title"));
49
        comp.setLayout (new BorderLayout ());
49
        comp.setLayout (new BorderLayout ());
50
        JLabel label = new JLabel (NbBundle.getBundle (TestAction.class).getString ("LBL_jlabel_text"));
50
        JLabel label = new JLabel (NbBundle.getBundle (TestAction.class).getString ("LBL_jlabel_text"));
51
        label.setFont (new Font ("Serif", Font.ITALIC | Font.BOLD, 24));
51
        label.setFont (new Font ("Serif", Font.ITALIC | Font.BOLD,
52
                       label.getFont().getSize() + 13));
52
        label.setHorizontalAlignment (SwingConstants.CENTER);
53
        label.setHorizontalAlignment (SwingConstants.CENTER);
53
        comp.add (label, BorderLayout.CENTER);
54
        comp.add (label, BorderLayout.CENTER);
54
        comp.setPreferredSize (new Dimension (500, 200));
55
        comp.setPreferredSize (new Dimension (500, 200));
(-)openide/src/org/openide/explorer/propertysheet/PropertyPanel.java (-6 / +2 lines)
Lines 1227-1238 Link Here
1227
            customizeButton.setFocusTraversable(true);
1227
            customizeButton.setFocusTraversable(true);
1228
            
1228
            
1229
            Font currentFont = customizeButton.getFont ();
1229
            Font currentFont = customizeButton.getFont ();
1230
            customizeButton.setFont (
1230
            customizeButton.setFont(
1231
                new Font (
1231
                currentFont.deriveFont(currentFont.getStyle () | Font.BOLD)
1232
                    currentFont.getName (),
1233
                    currentFont.getStyle () | Font.BOLD,
1234
                    currentFont.getSize ()
1235
                )
1236
            );
1232
            );
1237
            customizeButton.addFocusListener(getWriteComponentListener());
1233
            customizeButton.addFocusListener(getWriteComponentListener());
1238
            customizeButton.addSheetButtonListener(new CustomizeListener());
1234
            customizeButton.addSheetButtonListener(new CustomizeListener());
(-)openide/src/org/openide/text/CloneableEditorSupport.java (-1 / +1 lines)
Lines 1547-1553 Link Here
1547
        /** Set to a sane font (not proportional!). */
1547
        /** Set to a sane font (not proportional!). */
1548
        public void install (JEditorPane pane) {
1548
        public void install (JEditorPane pane) {
1549
            super.install (pane);
1549
            super.install (pane);
1550
            pane.setFont (new Font ("Monospaced", Font.PLAIN, 12)); //NOI18N
1550
            pane.setFont (new Font ("Monospaced", Font.PLAIN, pane.getFont().getSize() + 1)); //NOI18N
1551
        }
1551
        }
1552
    }
1552
    }
1553
1553

Return to bug 33699