I have, say, 7 JTables aligned horizontally. I want to put on vertical
scrollbarr, to control all 7 simultaneously.
Anyone have any idea how in the wolrd you do that? Thanks, Ike
Andrew Thompson - 02 Dec 2003 06:58 GMT
> I have, say, 7 JTables aligned horizontally. I want to put on vertical
> scrollbarr, to control all 7 simultaneously.
Put each JTable into a single JPanel with a GridLayout,
then add that JPanel to a JScrollPane, add the JScrollPane
to another JPanel.
Voila!
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Sandip Chitale - 02 Dec 2003 16:07 GMT
> I have, say, 7 JTables aligned horizontally. I want to put on vertical
> scrollbarr, to control all 7 simultaneously.
>
> Anyone have any idea how in the wolrd you do that? Thanks, Ike
Put them in a JPanel with flow layout and add the panel to the JScrollPane.
Did it work?