This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Swing and displaying graphics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing and displaying graphics" Watch "Swing and displaying graphics" New topic
Author

Swing and displaying graphics

Kevin Magee
Greenhorn

Joined: Feb 02, 2002
Posts: 18
hi,
what the best way of creating a "pop-up" image
using swing. I want to create a separate window
on-screen to display a image after a button press.
Thanks, Kevin.
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
I'm going to move this to the swing forum - it'll probably get more of a response there...


Dave
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Kevin,
You could use a JDialog and have a timer remove it after a certain time.
Regards,
Manfred.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Swing and displaying graphics