Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Mar 25, 2005
Sep 19, 2006 08:47:00
I currently have KTables (SWT) working on an eclipse rcp. The only problem is that I cannot get the height of the table to increase. It only shows the 1st 3 rows.
If anyone could help, It would be greatly appreciated
table = new KTable(container, SWT.SINGLE | SWTX.FILL_WITH_DUMMYCOL| SWTX.AUTO_SCROLL | SWTX.FILL_WITH_LASTCOL | SWTX.EDIT_ON_KEY); //create Column models int columns = 3; IColumnModel models = new IColumnModel[columns]; models = new UDPNameColumnModel(0, columnNames, itemList); models = new UDPTypeColumnModel(1, columnNames, itemList); models = new UDPValueColumnModel(2, columnNames, itemList); tableMapper = new DefaultTableMapper(this, models); model = new KTableModelAdapter(tableMapper, table); table.setModel(model); table.addCellSelectionListener(tableMapper);
subject: KTable resizing
Rendering 1+JTable in same JPanel
Add Row with AbstractTableModel
Removing rows from DefaultTableModel
Jtable filled with JButtons each having their own ImageIcon from a SQL server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013