This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

changing font type and size  RSS feed

 
Damodar R. Katti
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,
How do i change font type and size in a text field
 
Josh Rehman
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a trivial question which can be answered by the Javadocs. setFont(Font) and setForeground(Color) is the answer.
Try browsing the javadocs or doing a text search in your browser.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!