Warning Window

Reply

Join Date: Dec 2007
Posts: 2
Reputation: CloudSportRacer is an unknown quantity at this point 
Solved Threads: 0
CloudSportRacer CloudSportRacer is offline Offline
Newbie Poster

Warning Window

 
0
  #1
Dec 5th, 2007
Hello, I am new to java and was looking all over the place for a pop up type warning box coding for java. If someone has any ideas, that would be excellent! Thanks!
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,435
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 507
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is online now Online
Industrious Poster

Re: Warning Window

 
0
  #2
Dec 5th, 2007
You can use JOptionPane.showMessageDialog() with a message type of WARNING_MESSAGE:
http://java.sun.com/javase/6/docs/ap...String,%20int)
Last edited by Ezzaral; Dec 5th, 2007 at 3:31 pm. Reason: url pasted wrong
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 62
Reputation: Black Box is on a distinguished road 
Solved Threads: 7
Black Box Black Box is offline Offline
Junior Poster in Training

Re: Warning Window

 
0
  #3
Dec 5th, 2007
It's best you start from the beginning when you want to start with GUI's. GUI building in Java is best done using Swing.
The Java website provides great tutorials which will take you from the basics to where you want pretty quick. However, the do start out with the basics. But you'll need that to understand what is going on. Especially if you're new to Java as a language, and surely if you're new to programming.

Here you can find the Swing tutorial: link.
If you want to understand what's happening, do start at the beginning.

Once you've started and you have questions, feel free to post them here.
Since you're new to this community, also read the FAQ's and rules on posting, you'll be helped a lot better and faster when your post follows the guidlines.

Also, since you're new to Java, read the sticky at the top of this Java forum by sos. It's a great document that will give you insight in all the aspects necessary for programming Java

Black Box
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 2
Reputation: CloudSportRacer is an unknown quantity at this point 
Solved Threads: 0
CloudSportRacer CloudSportRacer is offline Offline
Newbie Poster

Re: Warning Window

 
0
  #4
Dec 8th, 2007
Thank you very much for the help. I did find them in the javadocs later on but again, thanks!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC