|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.unca.cs.LabAids.FrameMaker
public class FrameMaker
The class contains a single static method that can be used to create a JFrame from a JComponent. It follows the suggestions for thread creation found on Sun's web site.
Constructor Summary | |
---|---|
FrameMaker()
|
Method Summary | |
---|---|
static javax.swing.JFrame |
Component2Frame(javax.swing.JComponent canvas,
java.lang.String title)
Creates and displays a JFrame containing a single JPanel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameMaker()
Method Detail |
---|
public static javax.swing.JFrame Component2Frame(javax.swing.JComponent canvas, java.lang.String title)
title
- Title of the JFramecanvas
- JComponent to be framed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |