How to show PopUp in Frame
0 posts in topic
Flat View  Flat View

Posted By:   J_R
Posted On:   Friday, September 21, 2001 10:57 PM

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

About | Sitemap | Contact