Graphical User Interfaces > GUI Classes > SWTGraphicsPanel

SWTGraphicsPanel
Create an SWT Composite (panel) that can be used to plot COMSOL Multiphysics graphics into a custom GUI.
Syntax
SWTGraphicsPanel(Composite parent, String tag, String description);
Description
SWTGraphicsPanel(parent, tag, description) creates an SWT Composite that can be used in a GUI created using the Standard Widget Toolkit (SWT). parent is the SWT composite that is the parent of the panel in the GUI. 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.