• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jlabels & colors....

 
Matthew Orral
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With j2sdk1.4.x, now in my applets , the only way for me to change a jlabel's foreground/background color is setting before the opaque property, but does it's necessary to call the setopaque(true) method to show/change jlabels foreground color, or i'm doing something wrong ? I Don't know why all this shit with setopaque, because in previous sdk's it worked well everytime.
 
Peter Gragert
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just lately for bridgehandinput the backgroundcolour of a JButton
changes after a click (using JVM1.4) as well as a JLabels text.
(nothing done or even known opaque, I do not use it.)
Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic