Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to display an image without borders?

 
Peter Wolfenstein
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JWindow or an undecorated JFrame (or in 1.6 SplashScreen??)
 
Peter Wolfenstein
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic