Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
KTable resizing
Diarmuid McDonald
Greenhorn
Posts: 8
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys,
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[0] = new UDPNameColumnModel(0, columnNames[0], itemList); models[1] = new UDPTypeColumnModel(1, columnNames[1], itemList); models[2] = new UDPValueColumnModel(2, columnNames[2], itemList); tableMapper = new DefaultTableMapper(this, models); model = new KTableModelAdapter(tableMapper, table); table.setModel(model); table.addCellSelectionListener(tableMapper);
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Rendering 1+JTable in same JPanel
JTable
Jtable filled with JButtons each having their own ImageIcon from a SQL server
Add Row with AbstractTableModel
Removing rows from DefaultTableModel
More...