Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any way for initial config

 
Mahesh x Bogadi
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to set the fonts, colors etc of all the component to be used initally when the applet starts.

ex: label font("Dialog", plain. 12") red.

is it possible.
 
Joe Ess
Bartender
Posts: 9340
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java API Documentation is your friend. It describes methods in java.awt.Label like setFont() and setForeground().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic