Hi,
I'm a bit new to
java and swing and have been trying to add a panel dynamically to a panel.
Basically, I want to create a sub-form effect (as used in MS Access for example), so the user can add records to a database using a custom input which repeats for each record. In my case, I have a panel with some dynamic behaviour and I want to have a button which can add this panel to a main panel. Each time the user wants to add a record, another panel is added using the add button... I hope this makes sense.
Anyway, any help would be great as when I create a new panel and add it to the main panel, nothing shows...
All the best,
Steve