File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Displaying images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Displaying images" Watch "Displaying images" New topic

Displaying images

Scott Makos

Joined: Nov 27, 2005
Posts: 2

Is it possible to display an image in Swing with the whole screen without a border?

Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
Yes, as of JDK 1.4 (IIRC) you can use methods in the JFrame class to set the frame to be full screen.
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Here's a tutorial on just that:

There is no emoticon for what I am feeling!
I agree. Here's the link:
subject: Displaying images
It's not a secret anymore!