This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes i need some help related to Javax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "i need some help related to Javax" Watch "i need some help related to Javax" New topic
Author

i need some help related to Javax

Kajol Shroff
Ranch Hand

Joined: Dec 04, 2000
Posts: 160
Hi everyboy,
I needed some help related to Javax folder ......Where is the Javax folder in the JDK1.2 I was trying to run a applet but couldnt because the applet is importing Javax.swing.* there is no such folder in JDK1.2 called Javax ....so I think I am no able to view the applet in the browser....can anybody please help me in this....
I think I need to set the class path....is it..
Please reply
ryan burgdorfer
Ranch Hand

Joined: Jan 24, 2001
Posts: 219
Kajol,
The 'J' in javax should be lowercase...like this:
import javax.swing.*;
~Ryan

<UL TYPE=SQUARE><I><LI>Ryan Burgdorfer<BR><LI>Java Acolyte</I></UL>
Kajol Shroff
Ranch Hand

Joined: Dec 04, 2000
Posts: 160
Hi Ryan,
I am sorry u are right its import javax.swing.*
But still when I view it in Browser it gives me error
can u tell me why
Kajol
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
you probably are missing one of the jar files or adding it to you class path may help. try adding C:\jdkHomeDirectory\jre\lib\rt.jar to your classpath.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i need some help related to Javax