File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "javax.swing.JOptionPane" Watch "javax.swing.JOptionPane" New topic


thomas r

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

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.
I agree. Here's the link:
subject: javax.swing.JOptionPane
It's not a secret anymore!