Results 1 to 2 of 2
Threaded View
-
19th Nov 2009, 10:15 PM #1OPBannedWebsite's:
jagmit.com ermm-what.netJava Issue
I am new, and also i am a java programmer, well i wanna become a good one and learning. (student).....
Code:import javax.swing.JOptionPane; public class GetUserInput { public static void main(String[] args) { String input; boolean done = false; while (!done) { input = JOptionPane.showInputDialog("Enter some input (or Cancel to finish):"); if (input == null) { done = true; } else { JOptionPane.showMessageDialog(null, "You entered " + input); } } } }
I have really been trying really hard to understand but its just not working!!!!!!!!!!!!!!
Please help meallmighty581772 Reviewed by allmighty581772 on . Java Issue I am new, and also i am a java programmer, well i wanna become a good one and learning. (student)..... import javax.swing.JOptionPane; public class GetUserInput { public static void main(String args) { String input; boolean done = false; while (!done) Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Java stinks: Turn off your Java browser plugin
By Loget in forum General DiscussionReplies: 37Last Post: 5th Sep 2012, 07:40 AM -
Interesting For Java Course
By CrOwN. in forum General DiscussionReplies: 6Last Post: 15th May 2012, 10:55 AM -
[Dedicated] Java Hosting
By joerudy1988 in forum ArchiveReplies: 1Last Post: 27th Feb 2012, 08:08 AM -
Need help in JAVA
By digimon in forum Web Development AreaReplies: 10Last Post: 20th Jan 2012, 04:53 AM -
please help me in java
By shanshayan in forum Webmaster DiscussionReplies: 2Last Post: 10th Jan 2012, 06:48 AM
themaPoster - post to forums and...
Version 5.38 released. Open older version (or...