• Post Reply Bookmark Topic Watch Topic
  • New Topic

TitledBorder's title  RSS feed

 
Anthony Yip
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

Is it possible to update the title of TitledBorder at runtime?

I have tried to update it with setTitle(), but it didn't take effect.

Please inform.

Regards
Anthony Yip
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would just call setBorder with a new titled border each time you want to change it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!