• Post Reply Bookmark Topic Watch Topic
  • New Topic

change default logo

 
sac kul
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to change Default logo appear in title bar of JDialog ?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ensure the JDialog has a parent JFrame
change the logo of the parent - setIconImage(new ImageIcon("test.gif").getImage());
eg
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!