Look And Feel

P

Print Guy

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?
 
I

IchBin

Print said:
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?

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-)
 
A

Andrew Thompson

Print said:
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?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top