|
-
Dec 3rd, 2006, 03:52 PM
#1
Thread Starter
Frenzied Member
Message Boxes
How do you create a message box in Java? Like in VB where I can type in MessageBox.Show("This is a message")
How can I create the same type of dialog box in Java?
-
Dec 4th, 2006, 06:17 PM
#2
Re: Message Boxes
JOptionPane.showMessageDialog()
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 4th, 2006, 06:49 PM
#3
Thread Starter
Frenzied Member
Re: Message Boxes
Do I have to create a new JOptionPane object and instantiate that, or do I have to draw this object in netbeans?
-
Dec 4th, 2006, 07:26 PM
#4
Re: Message Boxes
It's a static method. Look it up in the API reference.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|