This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTable vs. JXTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable vs. JXTable" Watch "JTable vs. JXTable" New topic
Author

JTable vs. JXTable

Jason Richard
Ranch Hand

Joined: Oct 05, 2007
Posts: 69
I'm working on a GUI that I'm doing a lot more complex items by the day. I've noticed that there is also a JXTable out there instead of just a JTable.

My question is simply this: before i get too deep into my project, are the benifits/costs of JXTable worth making a switch too over the standard JTable, or should i just wait to see if i run into something that the JXTable does that the JTable won't? (or won't easily).
Brett Spell
Ranch Hand

Joined: Feb 24, 2001
Posts: 92
It depends on what functionality you need: if JTable does everything you need then don't bother with JXTable. According to its documentation:

A JXTable is a JTable with built-in support for row sorting, filtering, and highlighting, column visibility and a special popup control on the column header for quick access to table configuration.


If you don't need any of that then don't use it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable vs. JXTable
 
Similar Threads
JTable problem.
JTable Troubles.
jtable
Printing JTable
JTable with fixed row