Where is the Java source code for the various com.sun packages. * At Leopard?

I am working on my MacBook at home using Leopard, with Apple's latest JDK 1.6. In the IDE, I would like to view the source code for com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel, but the IDE cannot find it. Another example I would like to review is com.sun.java.swing.plaf.nimbus.ButtonPainter.

Which JAR or ZIP do I need to add to the IDEA project to view com.sun..nimbus. classes inside the IDE I'm only interested in Leopard because it works fine on Windows with Sun JDk.

I know that Nimbus classes are available because my application works with Nimbus Look and Feel.

+5
source share
6

Nimbus , 1.6 Mac:

/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/classes.jar

, . JadClipse jad'ed Eclipse. , , .

JDK 1.6:

, Nimbus Work/j2se/src/share/classes/com/sun/java/swing/plaf/nimbus

. jar , , .

+2

, . , .

wikipedia, JAD, , ,

+1

, , - .

, JAD, . JD-GUI , , . .

http://java.decompiler.free.fr/

+1

JDK ( ) OpenJDK. , IntelliJ.

0

Mac JDK .

XCode Apple Developer Network - JDK. . * - ; -)

0

JDK. JDK src.zip.

Java , , Swing .

-2

All Articles