public class GraphFrame
extends java.lang.Object
FunctionGraphsJPanel objects.| Constructor and Description |
|---|
GraphFrame(java.lang.String strTitle,
FunctionGraphsJPanel pnlGraph)
Creates a new
PlotFrame object to display the
given FunctionGraphsJPanel in a frame with the
given title. |
| Modifier and Type | Method and Description |
|---|---|
void |
display()
Displays the graph with frame.
|
void |
setPreferredSize(java.awt.Dimension dimSize)
Sets the preferred size of this component to a constant value.
|
public GraphFrame(java.lang.String strTitle,
FunctionGraphsJPanel pnlGraph)
PlotFrame object to display the
given FunctionGraphsJPanel in a frame with the
given title.strTitle - title of the frame for the plotpnlGraph - graph object containing plotspublic void display()
public void setPreferredSize(java.awt.Dimension dimSize)
dimSize - The new preferred size, or null