InTree+Source

A powerfull & simple to use Swing java JTree component + source code
Download

InTree+Source Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Shareware
  • Publisher Name:
  • Intarex, S.L.
  • Publisher web site:
  • Operating Systems:
  • Windows All
  • File Size:
  • Evaluation

InTree+Source Tags


InTree+Source Description

InTree a powerfull & simple to use Swing java JTree component InTree is an powerfull and easy to use JTree component with a lot of methods to deal with a underlaying Swing JTree. - Background image - Drag & drop easy configuration - Extended node object with (ImageIcon, text, font, colour, tooltiptext, drag&drop permisions, data properties) - Build in and configurable popup menu - Multiple events (function keys, mouse clicks, edited, selected, drag, drop) - Very easy methods to build and modify a tree - JavaDoc & examples included - Full source code include Sample easy code to build left tree: public class Test2 extends JFrame { public Test2() { PanellITree pt = new PanellITree("root", "Root", "Root", new ImageIcon("shield.png"), null, true, true); pt.addNode("root", "a4", "D - None", "No drag, No drop", new ImageIcon("colors.png"), null, false, false, false); pt.addNode("root", "a3", "C - Drop", "Only drop", new ImageIcon("copy.png"), null, false, true, false); pt.addNode("root", "a2", "B - Drag", "Only drag", new ImageIcon("colors.png"), null, true, false, false); pt.addNode("root", "a1", "A - Drag & Drop", "Drag & Drop", new ImageIcon("copy.png"), null, true, true, false); this.getContentPane().add(pt); IconNode nd = pt.getNode("a2"); nd.setColor(Color.white); nd.setFont(new Font("Helvetica", Font.ITALIC, 12)); pt.setBackgroundImage(new ImageIcon("NiceGrey.gif")); this.pack(); this.show(); } public static void main(String[] args) { Test2 fm = new Test2(); } }


InTree+Source Related Software