Foros del web
Iniciar Sesión
Ver originalpublic class Tree extends JFrame { JPanel p = new JPanel(); JTree t = new JTree(); public Tree() { setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); p.add(t); getContentPane().add(p); pack(); } ... etc ...