• Post Reply Bookmark Topic Watch Topic
  • New Topic

Create an Icon ?  RSS feed

 
Juan Manuel Alberto de los Santos
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


for now i'm using an image to display an icon, is there a way to create an Icon ? like a black rectangle for example ... something simple
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Juan Manuel Alberto de los Santos
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WOW man !! it works like a charm

many thanks, this is just was i was looking for ! thanks again
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, if you ever need an Icon only, and only use the Image to create an ImageIcon, it's just as easy to implement Icon:
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!