jtree
How to re-draw a jTree, from a Thread object?
I am using a jTree structure to display the structure of the project the user is currently using. Users can, of course, open another project, and then, the software is supposed to display the new pro[详细]
2023-03-31 09:14 分类:问答Assinging different icons to different nodes in a JTree
Is it possible to assign different icons to different nodes in a JTree using DefaultTreeCellR开发者_Python百科enderer.setOpenIcon()? Thanks.The same cell renderer instance is used to render all the ce[详细]
2023-03-30 23:55 分类:问答Expanded JTree Rendering
When the tree is expanded and I开发者_开发技巧 tried to rename the tree node not all the name displayed only about 4 5 letters and the others as (...) but if the tree is collapsed, every thing is OK.[详细]
2023-03-29 09:27 分类:问答Automatically expand JTree to until height threshold is met
I have a JTree on a JScrollPane as part of my GUI. I\'ve set up an AncestorListener where I respond to the ancestorAdded event. In the event, I would like to automatically expand as manyvisible nodes[详细]
2023-03-29 05:25 分类:问答Java: how to speed up JTree reconstruction by reading data from mongodb (remote server)?
basically mongodb stores each node userobject(NodePro) with parentId. This class recursively builds a Jtree from querying all the children of a given parentId.[详细]
2023-03-26 04:45 分类:问答Child parent problem with database and Jtree
I got a lazy-loading tree and a table in a DB called Folders, it contains a folderId and a parentFolderId.[详细]
2023-03-24 22:04 分类:问答How to programmatically fire a MouseEvent to a MouseListener with Java?
I have a JTre开发者_Go百科e with a custom associated MouseListener (for showing popup etc.). I need to fire a MouseEvent that will be caught by the MouseListener. How should I do that programmatically[详细]
2023-03-23 18:43 分类:问答Java Disable Cut Action for JTree / TransferHandler
I\'ve created a custom TransferHandler for my JTree and as such have disabled Copy (by only supporting Move) and Paste (by checking support.isDrop() in canImport) but I can\'t figure out how to disabl[详细]
2023-03-23 00:52 分类:问答JTree with different colored tree lines?
is it possible to have different colored tree lines between two sibling nodes? I want to show that these two nodes are linked by having a blue line connecting them. However the entire JTree default c[详细]
2023-03-22 21:11 分类:问答how to recursively delete all nodes in JTree?
in a JTree comprised of DefaultMutableTreeNodes, how would you traverse and delete starting from a given Node and all it\'s ancestors?[详细]
2023-03-22 18:00 分类:问答