• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Customizing window icons...

 
Tad Dicks
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the top left corner of each frame/window is an icon. Is there a way to customize/change this? Also is there a way to customise the background color/image on a frame?

-Tad
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both these questions are pretty basic "I am learning Swing" questions and have been asked a lot of times. Often you can save yourself some time simply by searching this forum.

Here is but 1 thread found from searching for "Frame Icon". There were 200 results.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something else that is helpful is glancing through the methods for a particular component in the API.

I don't say this to discourage you from asking questions. I only bring up these points so that you aren't sitting around waiting for people to answer your questions.
 
Tad Dicks
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did a few searches and came up with nothing... maybe I was being to specific. I've found setFrameIcon for internal frames but couldn't find anything for JFrames or just windows.

-Tad
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic