• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where are Swing classes?

 
arul senthil
Greenhorn
Posts: 29
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic