Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Swing / AWT / SWT and the fly likes PopUp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "PopUp" Watch "PopUp" New topic


saurabh sood

Joined: Nov 22, 2000
Posts: 17
Is there an equivalent of JavaScript�s popup in swing? I want to display a message in the popup that has an Ok button, that closes the popup.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Take a look at JDialog, JOptionPane, and the How To Make Dialogs section of Sun's Java Tutorial.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
saurabh sood

Joined: Nov 22, 2000
Posts: 17
thank you
[ September 02, 2003: Message edited by: saurabh sood ]
I agree. Here's the link:
subject: PopUp
It's not a secret anymore!