• Post Reply Bookmark Topic Watch Topic
  • New Topic

JLabel????  RSS feed

 
mira yang
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the method myLabel.setBackground(Color.read) doesn't work, why?
Thanks!
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because it's Color.red?
 
mira yang
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry,
myJLabel.setBackground(Color.red) doesn't work also.
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this -

HTH,
- Manish
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!