Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

another simple (?) question....

 
Jesse Crockett
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After five months away from basic gui stuff, i'm starting to figure it out again, but I'm stumped by the next step, that is to put a titled border around two components in FlowLayout. How is this done?
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put the two components in a JPanel, set the TitledBorder on the panel and add it to the FlowLayout.
 
Jesse Crockett
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!