Any expert Java, Netbeans, Swing readers?
if we have a ‘jFrame’ and within that object we have a ‘jPanel’ that contains all its components supporting its layout.
all this is held within a single file, the layout of which appears fixed, no problem.
but if another ‘jPanel’ is required, and it is added to the project using a manager such as CARD LAYOUT and we add a number of components to the new ‘jPanel’ with the intention that both these ‘jPanel’ components are separate and unrelated, except by the ‘jFrame’, is it possible, to hold the components of each ‘jPanel’ in a CLASS that has each ‘jPanel’ component separate from the whole.
I am looking effectively to see if I can recreate the xojo(yes sorry, some stuff in there is a good idea) container class.
right now, when I add anything GUI it all goes in a single great big file with zero separation, not OOPy at all.