This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Status Bar

 
Swamy Vatti
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I get a separator between components in a status bar?
can anyone help me out on this.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you put each component that goes on the status bar in it's own named panel and then do
myPanel.setBorder(BorderFactory.createXXXXXBorder());
There are a bunch of border types available to choose from in BorderFactory. And you can control the color etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!