开发者

Display BMP Files Without A Frame

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.


Or you could set the frame to be undecorated.

frame.setUndecorated(true);

It will look and behave just as a Window container.


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜