Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes Dynamic tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Dynamic tables" Watch "Dynamic tables" New topic
Author

Dynamic tables

Karl Beowulph
Ranch Hand

Joined: May 31, 2004
Posts: 130
Howdy.

I'm currently working on GUI app and am having some difficulties with tables.

On my frame I've got essentially two panels, the criteria panel (crP) and the results panel (reP).

What I would like to do enter search criteria in the crP and have the results displayed in the reP.

When the user fills in the relevant information in the crP and then hits the "search" button, the table in the reP will then get filled with matching results from the database.

So far, I'm good for creating the panels and getting the results from the search. My problem comes with trying to have the table change to recieve the information.

I'm posting the class as it stands at the moment. It's a bit messy since I've been fiddling with trying to get this to work.


Anybody have any ideas?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Dynamic tables
 
Similar Threads
GridBagLayout Problem
JTable column help
JTable in JFrame
JTable column that can be both editable or non-editable
JTable In JTree