File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to show error message in awt.frame

 
aminur rashid
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic