This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where are Swing classes?

 
arul senthil
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me in which JAR file are the SWING classes packed? I have "tools.jar", "dt.jar" in my JDKhome/lib directory.
Then I have some JARs in JDKhome/jre directory. How to find out in which of these JARs are the SWING classes available?
I am using JDK1.2.2 for Windows.
Thanks,
Senthil.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the classes are in the < Java dir >/jre/lib/rt.jar file.

However, if you want to look at the source, it is in src.jar, in the Java directory. That is, if you chose the "with sources" option when you got the JDK...

-Nate
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swing classes are in the javax.swing package.
If you look at the source like Nathan said, you'll see the java.lang package and others including the javax.swing package
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic