public class SimpleFrame
extends java.lang.Object
Constructor and Description |
---|
SimpleFrame() |
Modifier and Type | Method and Description |
---|---|
static void |
displayPanel(javax.swing.JComponent component)
Show the provided panel in a jframe.
|
static void |
displayPanel(javax.swing.JComponent component,
java.lang.String string)
Show the panel in a jframe with the provided title.
|
public static void displayPanel(javax.swing.JComponent component)
component
- the component to show.public static void displayPanel(javax.swing.JComponent component, java.lang.String string)
component
- the component to showstring
- the title