Some further FrameManager wrangling and a proper bridge for managed applets.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@32 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -81,7 +81,7 @@ public class ViewerApp
|
||||
|
||||
// create the window
|
||||
_frame = new ViewerFrame(gc);
|
||||
_framemgr = FrameManager.newInstance(_frame, _frame);
|
||||
_framemgr = FrameManager.newInstance(_frame);
|
||||
|
||||
// we don't need to configure anything
|
||||
ResourceManager rmgr = new ResourceManager("rsrc");
|
||||
|
||||
@@ -33,10 +33,12 @@ import javax.swing.JMenuBar;
|
||||
|
||||
import com.samskivert.swing.util.MenuUtil;
|
||||
|
||||
import com.threerings.media.ManagedJFrame;
|
||||
|
||||
/**
|
||||
* The viewer frame is the main application window.
|
||||
*/
|
||||
public class ViewerFrame extends JFrame
|
||||
public class ViewerFrame extends ManagedJFrame
|
||||
{
|
||||
/**
|
||||
* Creates a frame in which the viewer application can operate.
|
||||
|
||||
Reference in New Issue
Block a user