I'm trying to write a small program for use as an invoicing package. I'm trying to use the JTable as an input field for the invoice. What I want to do is let the user input a value in, e.g. cell (0,0) (top left) of the table, and upon pressing the enter key I want to fill the other columns of the table with information gathered from a database. (The scenario is that a product code is being entered, and I want to display the details of that product, it's price etc in the Table). Any help will be greatly appreciated.
posted 15 years ago
So what is your question? Have you looked at the java tutorial on tables? You create your own model and fill it.