blank component

I have a JToolbar with 10 buttons using the default layout manager.
I want to put some space in between the first 5 and last 5 buttons.
What is the best component to use for this?
an invisible button?
LVL 1
allelopathAsked:
Who is Participating?
 
CEHJCommented:
You could do that, but a BoxLayout would be less kludgy
0
 
javaexpertoCommented:
The best way is the separator that JToolbar provides, use it like this:
myToolBar.addSeparator();
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.