File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes combining two classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "combining two classes" Watch "combining two classes" New topic

combining two classes

ben riches
Ranch Hand

Joined: Nov 08, 2002
Posts: 126
Hello All,
I have two classes and I want to use one class with the other class, The first class pulls out the table names from a database and puts the names into a comboBox then when the user selectes a table in the first comboBox the second comboBox list all the column names in that table.
The second class is a JTable with every cell holding a comboBox displaying in each comboBox 1,2,3 and 4,5,6.
How I can I get all the comboBoxes in the first row on the JTable to display all the TableNames that are in the comboxes in the 1st class?
Thanks Ben

I agree. Here's the link:
subject: combining two classes
It's not a secret anymore!