my dog learned polymorphism*
The moose likes Distributed Java and the fly likes javax.swing.JOptionPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "javax.swing.JOptionPane" Watch "javax.swing.JOptionPane" New topic
Author

javax.swing.JOptionPane

thomas r
Greenhorn

Joined: Sep 10, 2008
Posts: 3
im a new programmer and i just downloaded ready to program with java and i need to import javax.swing.JOptionPane but it says it dosnt exists where can i go to get it ?

ty for your help in advance.
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

Welcome to JavaRanch

JOptionPane is already in the JDK. Next time, carefully choose the appropriate forum. We have Swing and beginner forum.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
thomas r
Greenhorn

Joined: Sep 10, 2008
Posts: 3
im using READY TO PROGRAM with java here is the error meassage when i try to compile it.
javax/swing/JOptionPane is either a misplaced package name or a non-existent entity. When i use this exact code at my schools computers it seems to work fine. so i unno ty for your help all
Andre Brito
Ranch Hand

Joined: Dec 13, 2007
Posts: 95

That can be problems with classpath.

Like the other user said, JavaRanch has places for Swing things (instead, I believe that this is problem for Begginners).

Google classpath problems in Java. You'll find good tutoials.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: javax.swing.JOptionPane
 
Similar Threads
trouble importing javax.swing.JOptionPane
Custom JDialog's returnValue
Importing packages
Swing in CodeWarrior 4 on Mac OS9
OkCancelDialog