• Post Reply Bookmark Topic Watch Topic
  • New Topic

MenuItem

 
Vu Pham
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use AWT Components . I want to add image to MenuItem like JMenuItem . How can I do like that ? And in MenuItem , I don't see method setBackground or setForeground . How can I set color for my menu ?
 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
since you said JMenuItem, why not just just Swing component ?

http://java.sun.com/j2se/1.4.2/docs/api/

i hope it help...good luck...

myself also doing a project.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!