Hashtable h = new Hashtable();
// build up the hashtable using every other entry in the String[][] as a key
// followed by a "value" which is a String[]
for (int i = 0; i < sampleData.length; i+=2) {
h.put(sampleData[i][0], sampleData[i + 1]);
}
tree = new JTree(h);
getContentPane().add(tree, BorderLayout.CENTER);