public class ExportToJPEGAction extends javax.swing.AbstractAction
| Constructor and Description |
|---|
ExportToJPEGAction(Panel3D panel)
Creates a new action instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Writes the content of the panel to a PNG image, using Java's ImageIO.
|
public ExportToJPEGAction(Panel3D panel)
panel - the panel (null not permitted).public void actionPerformed(java.awt.event.ActionEvent e)
e - the event.