running jdk 1.5.0_08 or 1.5.0_09, only on winxp l&f.
when running the attached application (by typing ant run in the project's root directory) there is one toggle button with dots instead of the text (too small width of the button) and other two buttons which are too wide.
The problem is that *after* adding the toggle button into toolbar, calling button.setPrefferedSize(button.getPrefferedSize()) sets the width of the button smaller then needed.
When calling button.setPrefferedSize(button.getPrefferedSize()) *before* adding toggle button into toolbar, width is set bigger then needed.
This is the same issue as was in JDK 1.6, number 6349010