There is the following code for making jzy3d chart in JFrame:
public class SurfaceViewerFrame extends IconFrame {
public SurfaceViewerFrame() {
setR
A CardLayout is well suited to this use. See How to Use CardLayout for details and working examples.
Other strategies for combining data can be seen in/linked from this answer to "The Use of Multiple JFrames, Good/Bad Practice?".
To flesh out that idea.
GridLayout
or BorderLayout
(any single component added to either with no constraint, will be stretched to the available width & height).CardLayout
in the main (and only) frame.