• Post Reply Bookmark Topic Watch Topic
  • New Topic

Remove the "java" icon from a frame?  RSS feed

 
Josh Tambini
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible by code?
i want to remove the defult icon of the "coffe cup" ,any idea how?
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the javadoc for JFrame...
 
Dave Mace
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, there is a setIcon() or something similar (can't remember from top of my head) in the JFrame class. Now, if you want to completely remove an icon altogether, you'll need to insert a blank image because if it is set to null, the default icon for your system will be used and most likely that will be the java coffee cup.

David
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!