projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
192881b
)
altosui: Use system look&feel
author
Keith Packard
<keithp@keithp.com>
Wed, 24 Aug 2011 05:51:57 +0000
(22:51 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 24 Aug 2011 05:54:26 +0000
(22:54 -0700)
Turn on the 'be less ugly bit'
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosUI.java
patch
|
blob
|
history
diff --git
a/altosui/AltosUI.java
b/altosui/AltosUI.java
index 36c08882413fe61b1907d96f654e3769b617a7ab..27c41838e12ea15189d50bf65d4501f2619d9ddb 100644
(file)
--- 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();