I'm a beginner in java and I have a problem.
I need to use 2 classes, defined in 2 separate files, in a thisrd, main class.
Actually I copy/paste the 2 classes (are made as swing jpanels with controls, textboxes, combos, etc) in the main class, so in the main class they appear as components.
I need to read a value from one ( a combobox selected item), and use it in the second one.
how could this be done ?