private void showTreeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_showTreeActionPerformed
        
        // instantiate objects
        DefaultMutableTreeNode top = new DefaultMutableTreeNode("Genres");
        TreeNodeCreator tnc = new TreeNodeCreator();
        JTree tree = new JTree(top);
        
        // method to add nodes to the top node
        tnc.nodeAdder(top);

        // create scroll pane
        JScrollPane treeScrollPane = new JScrollPane(tree);
        
        // add tree to JFrame
        tnc.add(treeScrollPane, BorderLayout.CENTER);
        tnc.setVisible(true);
    }//GEN-LAST:event_showTreeActionPerformed