• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

combining two classes

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
1ST CLASS:

2ND CLASS:
 
reply
    Bookmark Topic Watch Topic
  • New Topic