This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

update font of labels , menus and buttons  RSS feed

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working on a application, which gives option to the user to change the font of the labels, buttons, menus etc, ( select which fonts he likes)
So i have to update the font through out my application when the user selects one,
What is the best way of doing it,
or do i have to go to each button, label, menu item to update the font ( call updateUI)
or i can do some thing like UIManager, where we change the look and feel on the fly
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!