I made an swing application. I developed it on Windows and it works and looks fine, but when I run it on Solaris it works fine but the swing components doesn't look the same. The JButtons have a different size (smaller). Does anyone know why this is happening or how to fix it?
Thank yo very much.
(I've been told that it's because of the font but I use icons in the buttons)
It could be also that you are not using a layout manager and are positioning all your components statically with setBounds(). Different OS's compute pixels differently and so that would explain why your buttons, etc are not the same size. Layout managers will help eleviate that.
Yes you did, and you are almost there. Notice anything different about my display name and yours? You need a first and last name. We realize that not everyone in the world has both a first and last name but we still require it. If you don't have one it's ok to make one up as long as it sounds real and you don't publically state that it is fake.