Graphical User Interfaces > GUI Classes > SwingGraphicsPanel

SwingGraphicsPanel
Create an Swing JPanel that can be used to plot COMSOL Multiphysics graphics into a custom GUI.
Syntax
SwingGraphicsPanel(String tag, String description);
Description
SWTGraphicsPanel(tag, description) creates a Swing JPanel that can be used in a GUI created using Swing. tag is a unique tag used to identify the panel. The "window" property of a plot group in the model object should be set to this tag to plot into the panel.
This panel supports 1D, 2D, and 3D graphics.