I am creating a dynamic interface in
java. It resizes and adds multiple components depending on your input on certain things. I know this is like what...
The application allows a user to add business objectives. I created a JTabbedPane with the number of panels == number of objectives defined.
Each panel in the JTabbedPane uses a JComboBox[][] to define certain ratings they should use to rate objectives. The panels use GridLayout to add the JComboBoxes[][]
Under ActionListiner, I need to find which combobox was selected and it's position in the panel as per the gridLayout. So effectively, I can use event.getSource() to get the combobox but need to get it's position in the gridLayout.