Factored out the flip-buffer versus volatile image back-buffer code into
start-time selectable implementations. Modified back buffer to use BufferCapabilities.FlipContents.COPIED which should do what we need in terms of providing us with the current frame's contents on which to paint. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2468 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: PathViz.java,v 1.2 2002/09/18 20:09:55 mdb Exp $
|
||||
// $Id: PathViz.java,v 1.3 2003/04/26 17:56:26 mdb Exp $
|
||||
|
||||
package com.threerings.media.util;
|
||||
|
||||
@@ -57,7 +57,7 @@ public class PathViz extends MediaPanel
|
||||
public static void main (String[] args)
|
||||
{
|
||||
ManagedJFrame frame = new ManagedJFrame("Path viz");
|
||||
FrameManager fmgr = new FrameManager(frame);
|
||||
FrameManager fmgr = FrameManager.newInstance(frame);
|
||||
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.setContentPane(new PathViz(fmgr));
|
||||
|
||||
Reference in New Issue
Block a user