Changeset 3181 in josm
- Timestamp:
- 2010-04-14T17:14:26+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SplashScreen.java
r3083 r3181 92 92 93 93 // Center the splash screen 94 Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); 95 Dimension labelSize = contentPane.getPreferredSize(); 96 setLocation(screenSize.width / 2 - (labelSize.width / 2), 97 screenSize.height / 2 - (labelSize.height / 2)); 94 setLocationRelativeTo(null); 98 95 99 96 // Add ability to hide splash screen by clicking it
Note:
See TracChangeset
for help on using the changeset viewer.