开发者

Where is swing.jar in jdk1.6.0?

I read this 开发者_StackOverflowtut http://www.iam.ubc.ca/guides/javatut99/uiswing/start/swingStart11.html

but I can't find swing.jar in my jdk1.6.0 folder ?


No swing.jar - the swing classes are in rt.jar (of the jre). It's a massive jar containing everything.

Sun (now Oracle) are trying to break that massive jar into modules, but it is not easy. See this article. Project jigsaw is aimed at modularizing the JRE. But for now - it's all in rt.jar


The javax.swing package is included in rt.jar.


This is a very, very old page discussing Java 1.1 which didn't include Swing.

These days Swing is part of the standard Java runtime library available out of the box.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜