|
-
Jul 26th, 2001, 08:22 AM
#1
Thread Starter
Lively Member
message boxes
what's the code to create a message box the some text in it and an ok button.
-
Jul 27th, 2001, 08:54 PM
#2
Fanatic Member
Code:
JOptionPane.showMessageDialog(null, "Your message here", JOptionPane.PLAIN_MESSAGE);
Chris
-
Jul 30th, 2001, 05:41 AM
#3
Member
Info message box:
Toolkit.getDefaultToolkit().beep();
JOptionPane.showMessageDialog(null, "Message" , "Title" ,JOptionPane.INFORMATION_MESSAGE);
Error Message box:
Toolkit.getDefaultToolkit().beep();
JOptionPane.showMessageDialog(null, "Message" , "Title" ,JOptionPane.ERROR_MESSAGE);
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
|