Java project using Swing

Hi, if anyone knows about Swing in java, there's a project i'm doing a To Do List Task, so i'm doing it between JFrame, one for adding the list, and other that displays when the user adds the new task, but I dont know how to storage the windows and show them into a Dashboard (Im currently saving them in a class which contains the List of Lists that the user adds), also, whenever the user wants to go back to the principal menu, it doesn't let me execute it, so if someone knows a better way to travel between JFrame without lossing the storage in each one, or if it is better to use just one JFrame and use CardLayouts, tysm
Was this page helpful?