sukhbir barpagga wrote:... in which all the frames are supposed to have the same layout. the data is connected with MySQL.
In pseudo code
1) Create one JPanel instance.
2) Use proper layout manager to add all required child components (JComboBox, JButton etc)
3) Add the JPanel to the JFrame and display it.
4) When the user selection changes, it will result in the display data change. Refresh the existing JPanel to display the new data.
In a nutshell, use one JPanel as a template and change the data as required. No need to have 90 panels/frames