1 package ca.spaz.gui; 2 3 import javax.swing.*; 4 5 6 /*** 7 * An XML definition of a GUI layout. 8 * 9 * @author Aaron Davidson 10 * @date September 2002 11 */ 12 13 public class SpazCanvasLoader extends SpazCanvas { 14 public JPanel proxy; 15 16 public SpazCanvasLoader(String file, JPanel proxy) { 17 super(file, null); 18 this.proxy = proxy; 19 this.actions = null; 20 } 21 22 public void add(JComponent c, SpazPosition lp) { 23 proxy.add(c, lp); 24 } 25 26 }