summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-23 22:51:57 -0700
committerKeith Packard <keithp@keithp.com>2011-08-23 22:54:26 -0700
commit186dfc7c72aa7eba281f29f917088e49e44c2ddc (patch)
treecd0f269f5ccf3bda37712304e92224da2445b09a
parent192881b7cae49af375cc2b8b7305c937079ee724 (diff)
altosui: Use system look&feel
Turn on the 'be less ugly bit' Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosui/AltosUI.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index 36c08882..27c41838 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -508,6 +508,10 @@ public class AltosUI extends JFrame {
}
public static void main(final String[] args) {
+ try {
+ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+ } catch (Exception e) {
+ }
/* Handle batch-mode */
if (args.length == 0) {
AltosUI altosui = new AltosUI();