path & directiories

Hi, I am a junior Java developer. I am some questions need you experts to help me out.1. Where can I locate the pathof the prepackaged classes?2. An example of Javax.swing.JoptionPane. Is JoptionPane a object? Is JoptionPane a subfolder under swing folder?
[277 byte] By [svenson120a] at [2007-11-27 5:18:27]
# 1
What are you really looking for? The source code: it's in a file named src.zip, in your jdk folder.The API: http://java.sun.com/javase/6/docs/api/
Hippolytea at 2007-7-12 10:41:36 > top of Java-index,Java Essentials,Java Programming...
# 2
JOptionPane is a class. It's in a .class file. I imagine the .class file is bundled up in a jar with a directory path corresponding to the package path.
paulcwa at 2007-7-12 10:41:36 > top of Java-index,Java Essentials,Java Programming...
# 3

> Hi, I am a junior Java developer. I am some questions

> need you experts to help me out.

>

> 1. Where can I locate the pathof the prepackaged

> classes?

do you mean the package names for the classes in the java api? in the api docs, which you can find on java.sun.com

> 2. An example of Javax.swing.JoptionPane. Is

> JoptionPane a object? Is JoptionPane a subfolder

> under swing folder?

it's a class in the javax.swing package

OnBringera at 2007-7-12 10:41:36 > top of Java-index,Java Essentials,Java Programming...
# 4
Thank you all. when I install J2SE, does it mean I intall all default packages at sme time?
svenson120a at 2007-7-12 10:41:36 > top of Java-index,Java Essentials,Java Programming...
# 5
> Thank you all. > > when I install J2SE, does it mean I intall all> default packages at sme time?J2SE consists of, among other things, rt.jar, where all those packages live. So, yes
georgemca at 2007-7-12 10:41:36 > top of Java-index,Java Essentials,Java Programming...