Hi, > As i have said in my previous mail i have written a simple SVG drawing application > (much like an SG version of MS paint). I want to display all of the elements in the > DOM in some sort of tree formatted panel (like in JASC webdraw if you are farmilliar > with that, or like the layers window in photoshop) > > As i am new to java i have no idea if this is easy to do. is there some Swing or AWT > bean i could use? > > Anyone know if this is easy/difficult/possible??? > Any ideas?
You could use JTree for the DOM structure. If you want to customize the look, just supply with cell renderer, which maybe could draw rect,line,etc icon instead of default icon Cheers Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]