Questions tagged [jxtreetable]

A SwingX component to display hierarchical data in a table, with one column to expand and hide the hierarchy.

A SwingX component to display hierarchical data in a table, with one column to expand and hide the hierarchy.

80 questions
0
votes
0 answers

Is there a method to update UI of a DefaultMutableTreeTableNode when model of this node is changed?

public class MyNode extends DefaultMutableTreeTableNode { MyModel model; public MyNode(MyModel model){ this.model= model; } } public MyTreeTableModel extends DefaultTreeTableModel{ ... } public MyTreeTable extends…
Viet
  • 3,349
  • 1
  • 16
  • 35
0
votes
0 answers

How can change font to JXteeTable for particular row

I have a JXtreeTable in my java swing application. I want to set a customize cellrenderer, so I want to have a custom font for the row parent and I want to set another custom font for the child node (lead node), but I'm not able to du this. This is…
bircastri
  • 2,169
  • 13
  • 50
  • 119
0
votes
0 answers

How can set getTreeCellRendererComponent in Java application

Hi all I have a JXtreeTable with Custom DefaultTreeTableModel. Now I want this: Change default icon with open folder icon (when the node is open), close folder icon (when the node is closed) I want change the all Row renderer of child node when it…
bircastri
  • 2,169
  • 13
  • 50
  • 119
0
votes
1 answer

How can set Font and Background color at child node of JXTreeTable

I have a simple Java swing application. So I have a JPanel with a JXTreeTable. I can insert into this TreeTable, soma row with child node, this is ok. Now if I try to run my application, I can see this: Also this is ok. So, now if I try to exapand…
bircastri
  • 2,169
  • 13
  • 50
  • 119
0
votes
1 answer

How to insert/remove a new row(node) in a jXtreetable?

I'm trying to use JXTreeTable from the SwingLabs library org.jdesktop.swingx.JXTreeTable. I've a problem when I try to insert/remove a node into/from the table. The fact is that I was expected to have a method that could fire the JXTreeTable when…
user2896152
  • 762
  • 1
  • 9
  • 32
0
votes
1 answer

JXTreeTable: preserve a set of rows highlighted

I have a set of rows with some interesting data. I need to point user on them. 1. So I can save row numbers and highlight them with the help of highlighter. But when I expand/collapse tree, row numbers are changed and highlighting is shifted of…
DrDecay
  • 59
  • 1
  • 10
0
votes
1 answer

Swing Outline with Checkbox in node column

I am creating an JOutline that has rooms, and inside each room has multiple products. You can select an individual product and hit details, but I also need to be able to select check boxes next to multiple products using a checkbox. I am…
Kyper
  • 1
0
votes
0 answers

Assigning button to row in JXTreeTable

I am trying to assign a button to a row in a JXTreeTable instance. It's working, but when I expand a row, the button is staying on it's original place. I can't post any pictures cuz I have no 10 reputation points... Example: In this case, last names…
Displee
  • 670
  • 8
  • 20
0
votes
0 answers

Add jButton to JxTreeTable cell

I have a JxTreeTable with four columns . First column has laboratory test names. Second column status of tests ie initially "pending". I need a buttons namely "send" and "complete" in third and fourth column respectively. When i click "send" button…
ddk
  • 159
  • 1
  • 4
  • 13
0
votes
1 answer

How to get parent of selected child row in a JXTreeTable

I'm a beginner to Java programming and have been designing a tree table using JXTreeTable. My tree table has 2 levels - parent nodes and child nodes. I want a display a graph next to the tree table based upon which child row the user has selected.…
Big Sharpie
  • 829
  • 2
  • 9
  • 23
0
votes
2 answers

JXTreeTable scroll upon adding new node?

I have a JXTreeTable with an add button. The button works as expected: it adds a new node to the end, with values that (for the purpose of testing) are hard-coded into my program. The line: modelSupport.fireChildAdded(new TreePath(root),…
DarkOwl
  • 263
  • 1
  • 5
  • 15
0
votes
1 answer

TreeTableRender for JXTreeTable

How can I assign different Renderers for different Column in a JXTreeTable. The JXtreeTable has different Column Types (like currency, date,...etc.). In a JXTable I used the getColumn(identifier).setCellRender(TableCellRender) Method. What should I…
0
votes
1 answer

How to know if a node in SwingX TreeTableModel is expanded?

Is it possible to detect whether a node is expanded or collapsed from within SwingX's TreeTableModel/AbstractTreeTableModel (specifically the getValueAt(Object node, int index) method)? I need to display different values for a parent node,…
cmolodo
  • 43
  • 1
  • 1
  • 7
0
votes
0 answers

Java Swing: Tree-Table widget except for SwingX's JXTreeTable?

I look for a pure Swing JXTreeTable equivalent. Why I don't want to use SwingX's JXTreeTable: When I use SwingX's JXTreeTable in Linux with Swing's GTK+ LookAndFeel, it crashes! It crashes with this message: "GThread-ERROR **: GThread system may…
SomethingSomething
  • 11,491
  • 17
  • 68
  • 126
0
votes
1 answer

JXTreeTable not showing my data

Here is my code what wrong in it DemoJFrame.java package com.suru; import javax.swing.UIManager; import org.jdesktop.swingx.treetable.TreeTableModel; public class DemoJFrame extends javax.swing.JFrame { private javax.swing.JScrollPane…
SuRu
  • 739
  • 1
  • 6
  • 19