- Timestamp:
- 2009-10-03T14:13:17+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r2224 r2232 52 52 private DialogsPanel dialogsPanel; 53 53 54 private TitleBar titleBar; 55 private String title; 54 private TitleBar titleBar; 56 55 57 56 /** … … 259 258 private class TitleBar extends JPanel { 260 259 final private JLabel lblTitle; 260 final private JComponent lblTitle_weak; 261 261 262 262 public TitleBar(String toggleDialogName, String iconName) { … … 277 277 278 278 // Cannot add the label directly since it would displace other elements on resize 279 JComponentlblTitle_weak = new JComponent() {279 lblTitle_weak = new JComponent() { 280 280 @Override 281 281 public void paintComponent(Graphics g) { … … 336 336 public void setTitle(String title) { 337 337 lblTitle.setText(title); 338 lblTitle_weak.repaint(); 338 339 } 339 340
Note:
See TracChangeset
for help on using the changeset viewer.