Allow the frame to be constructed with a graphics configuration.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2346 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
//
|
//
|
||||||
// $Id: ManagedJFrame.java,v 1.4 2003/03/25 23:05:58 mdb Exp $
|
// $Id: ManagedJFrame.java,v 1.5 2003/03/30 00:00:00 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
import java.awt.Graphics;
|
import java.awt.Graphics;
|
||||||
|
import java.awt.GraphicsConfiguration;
|
||||||
import java.awt.Insets;
|
import java.awt.Insets;
|
||||||
import java.awt.Rectangle;
|
import java.awt.Rectangle;
|
||||||
import java.awt.Shape;
|
import java.awt.Shape;
|
||||||
@@ -35,6 +36,14 @@ public class ManagedJFrame extends JFrame
|
|||||||
super(title);
|
super(title);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a managed frame in the specified graphics configuration.
|
||||||
|
*/
|
||||||
|
public ManagedJFrame (GraphicsConfiguration gc)
|
||||||
|
{
|
||||||
|
super(gc);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called by our frame manager when it's ready to go.
|
* Called by our frame manager when it's ready to go.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user