Reworked AnimationManager's tick to make sure all action takes place

on the AWT thread.  Explicitly set the panel to be opaque and
non-double-buffered for better performance.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@154 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-08-02 23:12:19 +00:00
parent 254433f5fb
commit 5b390ea2ec
2 changed files with 57 additions and 9 deletions
@@ -1,5 +1,5 @@
//
// $Id: SceneViewPanel.java,v 1.7 2001/08/02 20:43:03 shaper Exp $
// $Id: SceneViewPanel.java,v 1.8 2001/08/02 23:12:19 shaper Exp $
package com.threerings.miso.viewer;
@@ -54,7 +54,8 @@ public class SceneViewPanel extends JPanel
// load up the initial scene
prepareStartingScene();
//setDoubleBuffered(false);
setDoubleBuffered(false);
setOpaque(true);
PerformanceMonitor.register(this, "paint", 1000);
}