code: public void init(Object parent, Object strLocationParam)
      {
          super.init(parent, null);
          
          BaseApplet applet = (BaseApplet)parent;
  
          JTreePanel panelLeft = new JTreePanel(this, applet);
          if (strLocationParam instanceof String)
              panelLeft.setLocationParamName((String)strLocationParam);
          panelLeft.addPropertyChangeListener(this);      // So I can pass it down
          
          JPanel panelRight = new JMapPanel(this, applet);
  
          JSplitPane panel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, panelLeft, panelRight);
          panel.setContinuousLayout(true);
          panel.setPreferredSize(new Dimension(500, 400));
          panel.setOpaque(false);
  
          this.setLayout(new BorderLayout());
          this.setPreferredSize(new Dimension(500, 300));
          this.add(panel, BorderLayout.CENTER);
      }
docs: The init() method is called by the AWT when an applet is first loaded or
  reloaded.  Override this method to perform whatever initialization your
  applet needs, such as initializing data structures, loading images or
  fonts, creating frame windows, setting the layout manager, or adding UI
  components.