
Signature
Change "3e" in my address to "eee"
> [...] so is there something I can do to get the same
> Look 'n Feel from JRE 1.4 that JRE 1.2 and 1.3 gave me?
You can override the default borders for all instances
of JRadioButton and JCheckBox. Or you can use a l&f
that does this automatically to ensure a consistent
appearance over the different platforms.
The open source Plastic l&f family and the JGoodies
Windows l&f remove the borders as described above.
The project is located at http://looks.dev.java.net/
Hope this helps,
Karsten
Roger Levy - 16 Dec 2003 13:12 GMT
I can think of three parameters that constitute what you call "borders." They
are the insets of the JRadioButton, the insets of the frame, and the horizontal
and vertical gaps in the GridLayout that positions the button in the frame.
Since the application sets these parameters (they are 4's, 2's, and 0's
respectively) and since those values don't change whether the application is
being executed by JRE 1.3 or 1.4, what exactly do you think I should override?
If the JRE is taking these parameters and rendering things differently then I
don't understand what I should override or how the custom L & F packages you
mentioned will help.
Roger
> > [...] so is there something I can do to get the same
> > Look 'n Feel from JRE 1.4 that JRE 1.2 and 1.3 gave me?
[quoted text clipped - 11 lines]
> Hope this helps,
> Karsten

Signature
Change "3e" in my address to "eee"