aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Intercell spacing in cell in tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Intercell spacing in cell in tree" Watch "Intercell spacing in cell in tree" New topic
Author

Intercell spacing in cell in tree

Bhagya Tangutur
Ranch Hand

Joined: Oct 21, 2002
Posts: 88
how can i increase the intercell spacing in tree.Right now i am setting Empty border to increase the intercell spacing.I guess it is hit on performance.please let me know ,if any better way of doing it.
Thanks


Sun Certified Java Programmer
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

How are you adding the border? I've run the code below through a profiler, and adding an empty border actually made the memory footprint go *down* due to less cells being able to be displayed on the screen...



-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Intercell spacing in cell in tree