Ok, so that is all good and well in those examples, but what about a case like this:
1. You have a main JPanel that contains all the panels for the project (the JFrame's JPanel, let's call it:...
Type: Posts; User: aussiemcgr
Ok, so that is all good and well in those examples, but what about a case like this:
1. You have a main JPanel that contains all the panels for the project (the JFrame's JPanel, let's call it:...
I understand that in theory, however how does one ensure the model state is constant throughout the entire program without passing it (or having it as a singleton)?
The children JPanels need access to arrays of objects, more general GUI elements, ect, that are used throughout the entire GUI. For example, an object that references a user's profile, or an array of...
I am working on a very large GUI, with many classes that extend JPanels. Most of the JPanels (and other classes) need connections to "host" GUI containers (the larger GUI container that the JPanel is...