• Post Reply Bookmark Topic Watch Topic
  • New Topic

Removing coffee cup image from Left Top

 
Vikram Deshmukh
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is anyone having idea, how to remove coffee cup image from left top of JFrame & JDialog, & showing our own custom image at that place.
 
narayan kulkarni
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that should be possible using the setIconImage method on JFrame object.
refer API reference. I guess if you have image object set properly and pass it to this method you should be able to set your own image as icon for the frame
 
M.K.A. Monster
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by narayan kulkarni:
that should be possible using the setIconImage method on JFrame object.
refer API reference. I guess if you have image object set properly and pass it to this method you should be able to set your own image as icon for the frame

Thats right, use gif.
Yours,
M.K.A. Monster
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!