Index: openide/api/examples/org/netbeans/examples/modules/globalactions/TestAction.java =================================================================== RCS file: /cvs/openide/api/examples/org/netbeans/examples/modules/globalactions/TestAction.java,v retrieving revision 1.10 diff -u -r1.10 TestAction.java --- openide/api/examples/org/netbeans/examples/modules/globalactions/TestAction.java 26 Feb 2002 09:59:46 -0000 1.10 +++ openide/api/examples/org/netbeans/examples/modules/globalactions/TestAction.java 29 May 2003 16:35:31 -0000 @@ -48,7 +48,8 @@ comp.setName (NbBundle.getBundle (TestAction.class).getString ("LBL_test_window_title")); comp.setLayout (new BorderLayout ()); JLabel label = new JLabel (NbBundle.getBundle (TestAction.class).getString ("LBL_jlabel_text")); - label.setFont (new Font ("Serif", Font.ITALIC | Font.BOLD, 24)); + label.setFont (new Font ("Serif", Font.ITALIC | Font.BOLD, + label.getFont().getSize() + 13)); label.setHorizontalAlignment (SwingConstants.CENTER); comp.add (label, BorderLayout.CENTER); comp.setPreferredSize (new Dimension (500, 200)); Index: openide/src/org/openide/explorer/propertysheet/PropertyPanel.java =================================================================== RCS file: /cvs/openide/src/org/openide/explorer/propertysheet/PropertyPanel.java,v retrieving revision 1.123.2.3 diff -u -r1.123.2.3 PropertyPanel.java --- openide/src/org/openide/explorer/propertysheet/PropertyPanel.java 22 Apr 2003 15:21:52 -0000 1.123.2.3 +++ openide/src/org/openide/explorer/propertysheet/PropertyPanel.java 29 May 2003 16:35:31 -0000 @@ -1227,12 +1227,8 @@ customizeButton.setFocusTraversable(true); Font currentFont = customizeButton.getFont (); - customizeButton.setFont ( - new Font ( - currentFont.getName (), - currentFont.getStyle () | Font.BOLD, - currentFont.getSize () - ) + customizeButton.setFont( + currentFont.deriveFont(currentFont.getStyle () | Font.BOLD) ); customizeButton.addFocusListener(getWriteComponentListener()); customizeButton.addSheetButtonListener(new CustomizeListener()); Index: openide/src/org/openide/text/CloneableEditorSupport.java =================================================================== RCS file: /cvs/openide/src/org/openide/text/CloneableEditorSupport.java,v retrieving revision 1.86 diff -u -r1.86 CloneableEditorSupport.java --- openide/src/org/openide/text/CloneableEditorSupport.java 18 Apr 2003 08:34:31 -0000 1.86 +++ openide/src/org/openide/text/CloneableEditorSupport.java 29 May 2003 16:35:32 -0000 @@ -1547,7 +1547,7 @@ /** Set to a sane font (not proportional!). */ public void install (JEditorPane pane) { super.install (pane); - pane.setFont (new Font ("Monospaced", Font.PLAIN, 12)); //NOI18N + pane.setFont (new Font ("Monospaced", Font.PLAIN, pane.getFont().getSize() + 1)); //NOI18N } }