Notice the two commented lines of code in my previous post. Either one dosen't do the trick. I used the value of one because all other values pushed the buttons all the way over to the right of the JToolBar.
The other line didnt work either. The height i dont need so 0 should be fine. For the width now matter what value i pass it does nothing to move the buttons.
Code:add(Box.createVerticalStrut(1)); // Pushes buttons all the way over to the right. addSeparator(new Dimension(0,100)); // does nothing




Reply With Quote