tags:

views:

59

answers:

3

I want to devlop simple image application in java. I need to display the image without anything around it. That is, there should be absolutely no application frame or title bar or anything else. When I open the image in this application, all I will see is the image floating on my screen.

In should when my application shold work like google picasa(desktop version). When i install picasa and double clikc on image it shows me the full scrin image without any application window.

A: 

Use java.awt.Window or javax.swing.JWindow?

Tom Hawtin - tackline
A: 

It doesn't sound like you need a window at all. A SplashScreen should do what you want, provided that you don't need the user to interact with the image in any way other than viewing it. You can look at the SplashDemo.java file from the link above to get started.

sfarbota
+1  A: 

Or you could set the frame to be undecorated.

frame.setUndecorated(true);

It will look and behave just as a Window container.

nalo