I am pretty newbie. Java Swing and I use CardLayout for my application. In this application, the user can create actions, and in another JPanel, view existing ones.
I'm having problems updating the map (where the shortcut is). If I add activity, when I restart the application, it will work fine. I am looking for a method that does not require a restart.
So, I would like to know what is the best way to recreate / update the panel at runtime to show new shortcut data.
Thanks in advance!
source
share