Adding an unknown number of JComponents to a JPanel
- by Matthew
Good day,
I am building an Applet (JApplet to be exact) and I sub divided that into two panels. The top panel is called DisplayPanel which is a custom class that extends JPanel. The bottom panel is called InputPanel which also extends JPanel.
As mentioned above, I can add those two Panel's to the applet and they display fine. The next thing that…