How to specify initial sizes of dockables?

Hello everybody,
I decided to use Docking Frames in an in-house developed Java application. So far I am happy but have trouble setting up initial size of docking stations… I followed examples and read the (EXCELLENT) manual (I love LaTeX ;), but cannot precisely make a layout like this:


..................................................
|                |                               |
|                |                               |
|                |                               |
|                |                               |
|      A         |                               |
|                |                               |
|                |                               |
|                |              C                |
|                |                               |
|........--------|                               |
|                |                               |
|                |                               |
|                |                               |
|                |                               |
|                |                               |
|      B         |----------------...............|
|                |                               |
|                |             D                 |
|                |                               |
|________________|_______________________________J

A,B,C,D are all StackDockStations, wrapped inside a SplitDockStation (root).
I want A and B to be of the same height, and C:D ratio to be 3:1 or so.
If, for an example window is 800x600, then sizes would be A(300,300), B(300, 300), C(500,400), D(500,200)…

I need help to specify these exact sizes at start, please.
PS. I know the layout is going to be changed the second user starts the application, but I just want to specify these initial sizes to something “acceptable”…

Kind regards

OK, this worked.


		grid.addDockable( 0, 0, 300, 300, navigationDockStation);
		grid.addDockable( 0, 300, 300, 300, actionDockStation);
		grid.addDockable( 300, 0, 500, 400, mainDockStation);
		grid.addDockable( 300, 300, 500, 200, infoDockStation);
		rootDockStation.dropTree( grid.toTree() );

Great! :smiley: