Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i need some help related to Javax

 
Kajol Shroff
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kajol,
The 'J' in javax should be lowercase...like this:
import javax.swing.*;
~Ryan
 
Kajol Shroff
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic