From 018ff13d8bd33b5cc0a11013daf5c0a4f7c1bf40 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Tue, 11 Aug 2009 23:05:18 +0000 Subject: [PATCH] Moving setting of Linux look and feel from linux/Platform.java to arduino script. --- app/src/processing/app/linux/Platform.java | 2 +- build/linux/dist/arduino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/processing/app/linux/Platform.java b/app/src/processing/app/linux/Platform.java index 7f227596f..496e926ae 100644 --- a/app/src/processing/app/linux/Platform.java +++ b/app/src/processing/app/linux/Platform.java @@ -48,7 +48,7 @@ public class Platform extends processing.app.Platform { // This is available in Java 1.4.2 and later, and it can't possibly // be any worse than Metal. (Ocean might also work, but that's for // Java 1.5, and we aren't going there yet) - UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel"); + //UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel"); } diff --git a/build/linux/dist/arduino b/build/linux/dist/arduino index 3137595d2..b689b52d1 100755 --- a/build/linux/dist/arduino +++ b/build/linux/dist/arduino @@ -17,4 +17,4 @@ export LD_LIBRARY_PATH export PATH="${APPDIR}/java/bin:${PATH}" -java processing.app.Base +java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base