* Re: [gentoo-user] Java default Swing stile
@ 2008-05-31 9:55 99% ` Florian Philipp
0 siblings, 0 replies; 1+ results
From: Florian Philipp @ 2008-05-31 9:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1330 bytes --]
On Fri, 30 May 2008 22:04:55 +0200
"Dirk Uys" <dirkcuys@gmail.com> wrote:
> On Fri, May 30, 2008 at 9:20 PM, Florian Philipp
> <lists@f_philipp.fastmail.net> wrote:
> > Hi list!
> >
> > I've recently started both programming and using some Java
> > applications (not that I would have a choice ...).
> >
> > Well, anyway, as it seems the default style for Swing is set to
> > "Metal", Java's own rather ugly and non-conforming variant. Is there
> > a way to set this to GTK, QT or whatever I have here other than
> > through the functionality in the programs themeselve?
> > Or is it really the Java-VM who's dictating what's the default for a
> > given platform (Windows/Linux)?
> >
> > Thanks in advance!
> >
> > Florian Philipp
> >
>
> I think the JVM defaults to motif, it's supported on most platforms. I
> found this on the web:
>
> <start-quote>
> Yes, it is possible.
>
> In the ~/java/lib dir, create / edit a file with name
> swing.proprierties:
>
> Change the line:
>
> swing.defaultlaf=com.sun.java.swing.plaf.CURRENTLO OKANDFEEL
>
> to
>
> swing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLo okAndFeel
> </end-quote>
>
> Don't know if it works though?
No, unfortunately not. I also tried ~/.java
and /opt/sun-jdk-1.6.0.06/ but it's just ignored.
Thanks anyway!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-05-30 19:20 [gentoo-user] Java default Swing stile Florian Philipp
2008-05-30 20:04 ` Dirk Uys
2008-05-31 9:55 99% ` Florian Philipp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox