-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
6u17
-
x86
-
windows_xp
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
Does this problem occur on J2SE 5.0.x or 6.0? Yes / No (pick one)
Yes
Operating System Configuration Information (be specific):
Client: Microsoft Windows XP [Version 5.1.2600]
Bug Description:
RFE: Provide a way to find out the Baseline of the top row in a FlowLayout
In order to use a panel with components laid out along their baselines within another panel that supports laying out components along their baselines it would be very helpful to know what the baseline of the inner panel is.
Preferably there would be a new interface with the 'int getBaseline(Container aParent, int aWidth, int aHeight)' method which FlowLayout (and any other Layouts that can respect baselines) would implement.
Then a panel could use this method in order to return a meaningful baseline to the LayoutManager of its parent.
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
Does this problem occur on J2SE 5.0.x or 6.0? Yes / No (pick one)
Yes
Operating System Configuration Information (be specific):
Client: Microsoft Windows XP [Version 5.1.2600]
Bug Description:
RFE: Provide a way to find out the Baseline of the top row in a FlowLayout
In order to use a panel with components laid out along their baselines within another panel that supports laying out components along their baselines it would be very helpful to know what the baseline of the inner panel is.
Preferably there would be a new interface with the 'int getBaseline(Container aParent, int aWidth, int aHeight)' method which FlowLayout (and any other Layouts that can respect baselines) would implement.
Then a panel could use this method in order to return a meaningful baseline to the LayoutManager of its parent.