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

Component as a Title in a TitledBorder  RSS feed

 
Erin Terry
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to have a component such as a JCheckBox be placed as the title of a TitledBorder? I looked at paintBorder() whose parameters include a component but I had some problems with the graphics parameter also required. Thanks!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!