This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how  to  show  error  message in awt.frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how  to  show  error  message in awt.frame" Watch "how  to  show  error  message in awt.frame" New topic
Author

how to show error message in awt.frame

aminur rashid
Ranch Hand

Joined: Sep 21, 2001
Posts: 79
I have an awt frame in which i have a textfield and button and i want to show a popup when the button is clicked and the textfield is empty.With JPanel i can show it by showing message dialog JOptionPane.showMessageDialog(null, "hi ","Empty",JOptionPane.ERROR_MESSAGE);
How to do it with awt.frame
i know its simple but i am confused
Thanks in advance

------------------
Regards
Aminur


Regards<br />Aminur
 
 
subject: how to show error message in awt.frame
 
Similar Threads
error message
j2me - RMS & appending textfield
TEXTFIELDS / BUTTON
Does this piece of code hang for you all also ?
dynamic display of a row