Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Swing / AWT / SWT
posted 9 years ago
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);
Don't get me started about those stupid
Rendering 1+JTable in same JPanel
Jtable filled with JButtons each having their own ImageIcon from a SQL server
Add Row with AbstractTableModel
Removing rows from DefaultTableModel