public JPanel createLegendPanel(){
  JPanel legendPanel=new JPanel();
  legendPanel.setLayout(new GridLayout(2,1));
  legendPanel.add(getLegendPanel());
  JPanel symbolTreePanel=getSymbolTree();
  legendPanel.add(symbolTreePanel);
  return legendPanel;
}

public JPanel createLegendPanel ( ) { JPanel legendPanel = new JPanel ( ) ; legendPanel . setLayout ( new GridLayout ( 2 , 1 ) ) ; legendPanel . add ( getLegendPanel ( ) ) ; JPanel symbolTreePanel = getSymbolTree ( ) ; legendPanel . add ( symbolTreePanel ) ; return legendPanel ; }
creates the legend selection panel .
