equal
deleted
inserted
replaced
28 import java.awt.*; |
28 import java.awt.*; |
29 import java.awt.event.*; |
29 import java.awt.event.*; |
30 |
30 |
31 import javax.swing.*; |
31 import javax.swing.*; |
32 |
32 |
|
33 |
33 import static javax.swing.JLayeredPane.*; |
34 import static javax.swing.JLayeredPane.*; |
34 import static sun.tools.jconsole.Resources.*; |
|
35 |
35 |
36 /** |
36 /** |
37 * Used instead of JDialog in a JDesktopPane/JInternalFrame environment. |
37 * Used instead of JDialog in a JDesktopPane/JInternalFrame environment. |
38 */ |
38 */ |
39 @SuppressWarnings("serial") |
39 @SuppressWarnings("serial") |
71 private ImageIcon leftIcon = |
71 private ImageIcon leftIcon = |
72 new ImageIcon(InternalDialog.class.getResource("resources/masthead-left.png")); |
72 new ImageIcon(InternalDialog.class.getResource("resources/masthead-left.png")); |
73 private ImageIcon rightIcon = |
73 private ImageIcon rightIcon = |
74 new ImageIcon(InternalDialog.class.getResource("resources/masthead-right.png")); |
74 new ImageIcon(InternalDialog.class.getResource("resources/masthead-right.png")); |
75 |
75 |
76 private Font font = Font.decode(getText("Masthead.font")); |
76 private Font font = Font.decode(Messages.MASTHEAD_FONT); |
77 private int gap = 10; |
77 private int gap = 10; |
78 private String title; |
78 private String title; |
79 |
79 |
80 public MastheadIcon(String title) { |
80 public MastheadIcon(String title) { |
81 this.title = title; |
81 this.title = title; |