Fetch things via the resource manager. Modified code to create resource

manager and then create image manager as well where appropriate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@604 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-11-08 02:58:24 +00:00
parent f206129062
commit a85ba5e2c6
5 changed files with 33 additions and 9 deletions
@@ -1,5 +1,5 @@
//
// $Id: TestApp.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
// $Id: TestApp.java,v 1.4 2001/11/08 02:58:23 mdb Exp $
package com.threerings.cast.builder;
@@ -9,6 +9,7 @@ import javax.swing.JFrame;
import com.samskivert.util.Config;
import com.samskivert.swing.util.SwingUtil;
import com.threerings.resource.ResourceManager;
import com.threerings.media.ImageManager;
import com.threerings.cast.Log;
@@ -26,7 +27,9 @@ public class TestApp
// create the handles on our various services
_config = MisoUtil.createConfig();
_imgmgr = MisoUtil.createImageManager(_frame);
ResourceManager rsrcmgr = new ResourceManager("rsrc");
_imgmgr = new ImageManager(rsrcmgr, _frame);
CharacterManager charmgr =
MisoUtil.createCharacterManager(_config, _imgmgr);