JXTable « JTable « Java Swing Q&A





1. JXTable - Highlighter after filtering table    stackoverflow.com

Info - for better formatting, I used code-formatting throughout the whole posting.

Hi,

I have a highlighted JXTable. Rows are highlighted, depending on the value 
of a specific column (c2). Everytime the value ...

2. Merging cells in a JXTreeTable    stackoverflow.com

I want to merge two cells in a JXTreeTable. Is this possible? I have read the solution for Merging cells in JTable, but this does not work for JXTreeTables. What I ...

3. JXTreeTable and JComboBox cell editor    stackoverflow.com

Jow can I use JComboBox as cell editor in JXTreeTable ? Can you give me a working example please?

4. JXTable listen to sort and sort a similar table the same way    stackoverflow.com

I have a number of JXTables which all have the same columns (but different data). You can sort the data by clicking on one the header of one of the columns. ...

5. Freeze columns in JXTable    stackoverflow.com

I'd like to be able to freeze columns in JXTable just like in Excel spreadsheet and came across this project: xframe-swing's JXTable. Just wondering if there is a tutorial for ...

6. Swing: table cell rendering doesn't work right for JXTable?    stackoverflow.com

I'm trying to override the highlight color of a JXTable based on the value of certain row items. Here's an example where the highlight is green if the row item value ...

7. Is there a way to call JXTable.packAll() in a way that does not lock up the swing thread?    stackoverflow.com

I am displaying lots of data in JXTable from the SwingX project. After loading the data, I call packAll() on the table but with 200 hundred columns and ...

8. Out-of-table column sorting with Glazed Lists and a JXTable    stackoverflow.com

I'm using Glazed Lists to sort and filter a JXTable. How can I sort on out-of-table values? That is, I would like to be able to format column values in my own ...

9. Sorting JXTable with SwingX    stackoverflow.com

I am using JXTable which is from SwingX components. If I use setSortable(boolean flag) method then it will enable or disable sorting for all columns. As of my requirement I want ...





10. jtable and intellij - how do i set the columns to appear next to the the right side    stackoverflow.com

On intellij I have created a JXTable on a JPanel.
I have added two columns and set their width.
I want the panel too be much longer then the jxtable and so i ...

11. JXTable convertRowIndexToModel wrong result after sort?    stackoverflow.com

I have a JXTable in which a model is a List of distinct objects. There is a problem when I try to map the view index to model index after sorting ...

12. Wrong highlighting while using a JXTable with the MatchingTextHighlighter    stackoverflow.com

The basic question:

While changing the width of a TableColumn the method SwingUtilities.layoutCompoundLabel(..) sets the parameter Rectangle textR to an old value (or 'the value before').
How could I ...

13. jxtable - find the object behind the row when updating    stackoverflow.com

I have a JXTable and a collection bounded to it.
I have added a JComboBox renderer as one of its columns.

final JComboBox myComboBox = new JComboBox(MyEnum.values());
table.getColumnModel().getColumn(columnNumber).setCellEditor(new DefaultCellEditor(myComboBox));  
And it ...

14. Combining JXTable with RXTable    stackoverflow.com

Problem

I want the capabilities of JXTable with the "select all on edit" behavior of RXTable. Doing a simple override would be fine but the double click ...

15. JXTable Highlighter    stackoverflow.com

I would like to highlight data in a JXTable based on the previous data in the table. The data exists in "blocks" but the number of rows in each block ...

16. Views sorting and filtering: GlazedList sorting and filtering + JTable vs Glazed event list+JXTable    stackoverflow.com

I want to create user views (tables) with sorting and filtering capabilities. I use EventList (Glazed Lists) as source for EventTableModel. There are also Sorted List and ...





17. how to click on a row in jxtable from the code (and trigger its event)    stackoverflow.com

I have a jxtable.
I want to click on a row and trigger the related event. Is there a fast way to do it ?
(as in button.doClick() I was hoping for JXTable.selectRow()) Thank you ...

18. JXTable    bytes.com

19. Drag&Drop between JXTable and Nodes    forums.netbeans.org

Hello again I have this JXTable that I'd like to drag som rows from and drop them on some nodes in a BeanTreeView (and then do some magic with them). The ...

20. help me filter a jxtable    forums.netbeans.org

I've googled & searched alot! so to start, private static void configureFilters(JXTable masterTable) { Filter[] filterArray = { new PatternFilter("(.*1st.*)|(.*Final.*)", 0, 0) }; FilterPipeline filters = new FilterPipeline(filterArray); table.setFilters(filters); } why ...

21. Using JXTable and JXTree ?    coderanch.com

Hi guys, Need your inputs again I am in the process of writting a swing application, which will allow user to select some event log file (log file contains thousands of event objects in serialized form) and can display those event objects in JXTable using reflection to actually inspect the nature of object. I have so far tested it with 10-15 ...

22. How to use JXSearchPanel with JXTable?    coderanch.com

23. Column header of JXTable with Windows XP 5.1 sp2 Look and Feel    coderanch.com

Hi team, I am facing a problem, I am using JXTable and Sorting is enabled on it's column. My underlying OS is Windows XP 5.1 sp2 and with it I am not able to display sorting order arrow at table column header. For other Look and Feels like Metal\Motif\GTK\Windows classic etc- the column header is able to display sorting order arrow ...

24. About paintining rows of JXTable    coderanch.com

25. work with jxtable    java-forums.org

26. custom jxtable header focus traversal    java-forums.org

hello, any1 knows how to set the focus traversal policy for a groupable table header? or by some mechanism can the focus be moved to the next header cell upon TAB.? In the table,the columns can be deleted and new columns can be added so each time TAB out on the header should behave like default cell traversal inside the table. ...

27. Moving Columns in JXTable with Robot    java-forums.org

I am using Robot to automate GUI testing somewhat. I can have the bot drag a JXTable column from left to right to move it, but when I do the same from right to left, the column pops back to its original position when the mouse is released. Any ideas?:confused: public void doDrag(Point p1, Point p2){ mouseMove(p1); doMousePress(); mouseMove(p2); doMouseRelease(); } ...

28. hidden columns in jxtable    java-forums.org

I have a DTable. If I setColumnControlVisible() to true so user can manually selects to hide columns. When I do "getColumnModel().getColumnCount()", the count will not include the hidden columns, correct? If that is correct, then when I use "getColumnModel().getColumn(i)" to loop through all the columns, it will only loop through all the visuable ones right? How do I loop through all ...

29. Access to invisible columns in JXtable    java-forums.org

30. jxtable sort indicator    java-forums.org

31. filtering jxtable    forums.oracle.com

gpxtc02 wrote: i'd like to learn how to filter the result set of a jXTable .. Rather than wasting what little talent you possess on colors & formatting, why not invest it in spelling? For instance, is this post about jxtable (as in the Subject line), jXTable (as in red) or [JXTable|http://pirlwww.lpl.arizona.edu/resources/guide/software/SwingX/org/jdesktop/swingx/JXTable.html] (the only one I could find JavaDocs for)? If ...

32. Sorting the data in a column in Jxtable    forums.oracle.com