public class SwingPainter extends Object implements Painter
postComponent(java.awt.Component) method additional to the
 Painter interface which allows a component to be submitted directly,
 if one is available.| Constructor and Description | 
|---|
SwingPainter(String winTitle)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
paintPicture(Picture picture)
Export the graphics contained in a Picture. 
 | 
void | 
postComponent(Component comp)
Displays a screen component directly. 
 | 
public SwingPainter(String winTitle)
winTitle - window title to use for the container framepublic void paintPicture(Picture picture)
PainterpaintPicture in interface Painterpicture - graphics to exportpublic void postComponent(Component comp)
comp - screen componentCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.