wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes dialog box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "dialog box" Watch "dialog box" New topic
Author

dialog box

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
hi,
I want to know that if i want to display dialog box with some error message, how can display it in java?
Plz explain me by an example?
Thanks in advance,
Angela
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1506
Not sure about this question. If you want to show a dialog box in response to some action the user took, check the API for JDialog.
Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Thanks Bosun,
But i don't want to use swing classes. Plz let me know if you suggestion with AWT
Thnaks again,
angela
Originally posted by Bosun Bello:
Not sure about this question. If you want to show a dialog box in response to some action the user took, check the API for JDialog.
Bosun

Stephanie Grasson
Ranch Hand

Joined: Jun 14, 2000
Posts: 347
Hi Angela!
Will this work for you?

This code displays a simple application with one button. When the user clicks the button, the application displays a dialog with the message and an OK button. Pretty basic. Hope it helps.
Stephanie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dialog box
 
Similar Threads
validating user input for number of seats
Application setup
creating a Browse folder dialog box using applet
Display Font Dialog Box
Selected Row in primefaces