Results 1 to 3 of 3
Thread: problems with JOptionPane
- 08-04-2007, 05:35 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 41
- Rep Power
- 0
- 08-04-2007, 09:29 PM #2
The String class does not have a parseString method. You can look up fields and methods available for any class in the javadocs.
Overview (Java 2 Platform SE 5.0). Find the class in the left lower frame, click the link and its api loads into the main frame. The Method Summary lists all the methods for the class. Sections below show methods of superclasses available through inheritance.
The showInputDialog method you are using returns a String so you only need
Java Code:String Name = JOptionPane.showInputDialog("Enter your name");
- 08-05-2007, 05:58 PM #3
Member
- Join Date
- Jul 2007
- Posts
- 41
- Rep Power
- 0
Similar Threads
-
JOptionPane (customizing)
By Java Tip in forum Java TipReplies: 0Last Post: 03-14-2008, 11:39 AM -
Changing icon of JOptionPane
By mew in forum New To JavaReplies: 3Last Post: 12-21-2007, 07:01 AM -
About JOptionPane.showMessageDialog
By jhetfield18 in forum AWT / SwingReplies: 2Last Post: 11-02-2007, 10:45 PM -
About JOptionPane.showMessageDialog
By jhetfield18 in forum Advanced JavaReplies: 0Last Post: 11-02-2007, 10:56 AM -
Problem with JOptionPane.showInputDialog()
By romina in forum AWT / SwingReplies: 1Last Post: 08-07-2007, 05:33 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks