-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
6
-
x86
-
windows_xp
A DESCRIPTION OF THE REQUEST :
I request a kind of JSplitPane that split its surface into n*m area (n horizontally and m vertically, with some areas at the intersection of 2 dividers where the user can drag the 2 dividers onto the 2 axis).
I found that many years ago another RFE was made to add this ability to the JSplitPane but the RFE was refused because it was not compatible with the initial specification of the JSplitPane class. This RFE is different since I request a the creation of a new component.
JUSTIFICATION :
For example, a 2*2 split cannot be done simply by using 1 vertical JSplitPane + 2 horizontal JSplitPane on each of the splitted area since the dividers of the 2 horizontal JSplitPane will not move at the same time during a drag operation.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Here is some example in ASCII about how the JMultiSplitPane will layout the component and enable its dividers to be dragged. Each 'x' at the intersection of 2 dividers can be dragged and move its 2 divers at the same time.
new JMultiSplitPane(2, 2);
+---+---+
| | |
| | |
| | |
+---x---+
| | |
| | |
| | |
+---+---+
new JMultiSplitPane(2, 3);
+---+---+
| | |
| | |
+---x---+
| | |
| | |
+---x---+
| | |
| | |
+---+---+
new JMultiSplitPane(3, 3);
+--+--+--+
| | | |
| | | |
+--x--x--+
| | | |
| | | |
+--x--x--+
| | | |
| | | |
+--x--x--+
I request a kind of JSplitPane that split its surface into n*m area (n horizontally and m vertically, with some areas at the intersection of 2 dividers where the user can drag the 2 dividers onto the 2 axis).
I found that many years ago another RFE was made to add this ability to the JSplitPane but the RFE was refused because it was not compatible with the initial specification of the JSplitPane class. This RFE is different since I request a the creation of a new component.
JUSTIFICATION :
For example, a 2*2 split cannot be done simply by using 1 vertical JSplitPane + 2 horizontal JSplitPane on each of the splitted area since the dividers of the 2 horizontal JSplitPane will not move at the same time during a drag operation.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Here is some example in ASCII about how the JMultiSplitPane will layout the component and enable its dividers to be dragged. Each 'x' at the intersection of 2 dividers can be dragged and move its 2 divers at the same time.
new JMultiSplitPane(2, 2);
+---+---+
| | |
| | |
| | |
+---x---+
| | |
| | |
| | |
+---+---+
new JMultiSplitPane(2, 3);
+---+---+
| | |
| | |
+---x---+
| | |
| | |
+---x---+
| | |
| | |
+---+---+
new JMultiSplitPane(3, 3);
+--+--+--+
| | | |
| | | |
+--x--x--+
| | | |
| | | |
+--x--x--+
| | | |
| | | |
+--x--x--+