Two Laptop Bag
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing and displaying graphics" Watch "Swing and displaying graphics" New topic

Swing and displaying graphics

Kevin Magee

Joined: Feb 02, 2002
Posts: 18
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...

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.
I agree. Here's the link:
subject: Swing and displaying graphics
It's not a secret anymore!