_jlist.setCellRenderer(new ColorLegendRenderer()); _attributeName = new javax.swing.JLabel(_legend.getAttribute());
_jlist.setCellRenderer(new ColorLegendListRenderer()); _optionsComboBox = new javax.swing.JComboBox(); _topPanel = new javax.swing.JPanel(); _legendAttribute = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton();
    private void initComponents() {//GEN-BEGIN:initComponents        _scrollPane = new javax.swing.JScrollPane();        _jlist = new javax.swing.JList(_legend.getListModel());        _jlist.setCellRenderer(new ColorLegendRenderer());        _attributeName = new javax.swing.JLabel(_legend.getAttribute());        setLayout(new java.awt.BorderLayout());        _scrollPane.setViewportView(_jlist);        add(_scrollPane, java.awt.BorderLayout.CENTER);        add(_attributeName, java.awt.BorderLayout.NORTH);    }//GEN-END:initComponents