Trying to run a swing application. I need to include jar file
C:\java\lnfdir\newlnf.jar
on my class path. Easy to do if I knew where it was. I'm using Java
1.6 and have searched for the jar file in all the directories under not
only Mustang but also the other Java versions I have. The error only
happens when I try to use the GTK+ look-and-feel.
Couldn't find class for specified look and
feel:com.sun.java.swing.plaf.gtk.
Did you include the L&F library in the class path?
Using the default look and feel.
Based on a google search I did find this site
http://www.codecomments.com/archive250-2005-5-388704.html
Is what they are saying accurate in the the GTK L&F is only available
under Linux?
IchBin - 10 Aug 2006 01:31 GMT
> Trying to run a swing application. I need to include jar file
> C:\java\lnfdir\newlnf.jar
[quoted text clipped - 13 lines]
> Is what they are saying accurate in the the GTK L&F is only available
> under Linux?
Yes if you are on windows you will not find it because of lawyer stuff
right now.
I know of a GTK like LAF. It can be found here:
http://gtkswing.sourceforge.net
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Andrew Thompson - 10 Aug 2006 07:51 GMT
> Trying to run a swing application. I need to include jar file
> C:\java\lnfdir\newlnf.jar
[quoted text clipped - 13 lines]
> Is what they are saying accurate in the the GTK L&F is only available
> under Linux?
Not that I especially like the Win. PLAF, but (assuming I
was your Win based user) why do you think I'd want to see
the GTK PLAF in one (of perhaps dozens of) desktop application?
I even find Sun's default Metal PLAF quite odd to look at
and work with, and prefer the Windows PLAF simply because
the keys are more predictable for me.
Andrew T.