AWT Checkbox text gap
I am in the process of guaranteeing that a legacy application based on applets will work across multiple platforms (windows ans suse for now).
The application developed and always tested on window, IE6 and MSJVM.
I have ported the application to SUN's VM 1.6 and most of it works fine except for the rendering of checkboxes, radiobuttons and their associated label. On windows they look fine, however, on SUSE (using firefox) the gap between the text and actual checkbox is huge, causing the text to crop in certain cases.
I am aware that a possible solution would be to setLabel(null) on the components and add a separate label next to it, but considering the size of the application, I was hoping that would be a last resort - besides why is it soooo different from one platform to another - there must be another solution to this, isn't there??
I have googled on this issue to no avail.
Any suggestions would be appreciated.