aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to display an image without borders? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to display an image without borders?" Watch "How to display an image without borders?" New topic
Author

How to display an image without borders?

Peter Wolfenstein
Greenhorn

Joined: Oct 23, 2006
Posts: 11
Hello!

I'd like to know how to display an image or some component without any borders?

This technique is used by Netbeans, OO.org, Zend Studio, Mozilla Browser etc. on start up.

Thanks!

Jay
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
JWindow or an undecorated JFrame (or in 1.6 SplashScreen??)
Peter Wolfenstein
Greenhorn

Joined: Oct 23, 2006
Posts: 11
Do you have some code snippet, as I am new to Java.
Thanks!

EDIT:
I tried it out JFrame#setUndecorated (true); works fine

Best Regards,
Jay

[ November 19, 2006: Message edited by: Jakob Buchgraber ]
[ November 19, 2006: Message edited by: Jakob Buchgraber ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display an image without borders?
 
Similar Threads
how to display image on a jsp page?
Display image from non-web directory
Border JButton
Borderless Form
To retrieve an image from the database and display it in a JSP page