00001 package org.hfbk.vis; 00002 00003 import java.applet.Applet; 00004 00005 public class VisClientApplet extends Applet { 00006 VisClientPanel panel; 00007 00008 public void init() { 00009 if (panel!=null) return; 00010 try { 00011 // Prefs.current.load(); 00012 // Prefs.current.setParams(this); 00013 00014 //new VisClientWindow(); 00015 panel=new VisClientPanel(); 00016 add(panel); 00017 00018 panel.setSize(128,128); 00019 /*setLayout(new BorderLayout()); 00020 */ 00021 invalidate(); 00022 } catch (Exception e) { 00023 e.printStackTrace(); 00024 } 00025 } 00026 }