-
Bug
-
Resolution: Fixed
-
P5
-
5.0
-
b45
-
generic
-
generic
Name: adR10249 Date: 02/26/2004
Too many users were displeasured with new GridBagLayout's
behaviour. From the very beginning (1995) GridBagLayout work in
inconsistency with spec. So many users had their applications relying on existing behaviour, and when
it was brought in consistence with spec, their applications seemed broken.
Javadoc for GridBagConstraints says:
--
public int ipadx
This field specifies the internal padding of the component, how much space to add to the
minimum width of the component. The width of the component is at least its minimum width
plus (ipadx * 2) pixels.
But GridBagLayout used only single ipadx (or ipady) till Tiger's
recent build (The fix changed the behaviour is #4617682). After the Beta users were harmed
with it because they are accustomed by this incorrect behaviour. Moreover, there are many
applications which rely on old behaviour.
Simple example is available in 4991218.
======================================================================
- relates to
-
JDK-4991218 REGRESSION: GridBagLayout handles ipadx differently under JDK 1.5
-
- Closed
-