Is this your first time here? SwingWiki is a Java Swing Developer community site with an big archive of Swing-related usenet groups and mailing lists, but also tips, tricks and articles and book reviews written by your colleagues from around the world. If you came here through a search engine and did not find what you were looking for, make sure to check the wiki table of contents.

Re: Using JXTreeTable, a first draft

From:[jdnc-interest@masked-domain]
Sent on:Tue, 27 May 2008 09:52:18 PDT
In reply to:Re: Using JXTreeTable, a first draft sent on Tue, 27 May 2008 07:50:54 PDT by [jdnc-interest@masked-domain]
> Actually mutability is set at various levels in the
> JXTable. This is the standard practice. As for the
> DefaultTreeTableModel, it respects the TreeTableNodes
> editibility. I guess this is more of a general issue
> with understanding JXTable? Would you agree?
>

True; I'm more speaking to my instincts as a coder, where when I set the columns to be editable and then still could not edit I was a bit surprised, and then used my debugger to find that the AbstractMutableTreeTableNode was hard coded to return false which I thought was odd. But really not such a big deal either way :0).

Speaking of editability, do you guys have any good ideas on a way to improve Editor customization? What you did with Renderers is great. One thing that is currently driving me a bit crazy is there doesn't seem to be an elegant way to set how editors format the data they display; for instance I am editing Floats which are almost always Integers and would like the editor to not display a ".0" at the end, but am at a bit of a loss as to how to do so without really hacking into the editor.

Don't know if you've had any thoughts on this...

Thanks again

--Alex
[Message sent by forum member 'alexkogon' (alexkogon)]

http://forums.java.net/jive/thread.jspa?messageID=276811

---------------------------------------------------------------------
To unsubscribe, e-mail: [jdnc-unsubscribe@masked-domain]
For additional commands, e-mail: [jdnc-help@masked-domain]
Found what you were looking for? If not - continue at Wiki Index

Other messages in this topic

SenderDate sentSubject
Kleopatra [fastegal@masked-domain]Wed, 11 Jun 2008 10:06:00 +0200Re: Using JXTreeTable, a first draft
Kleopatra [fastegal@masked-domain]Wed, 11 Jun 2008 09:55:03 +0200Re: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Tue, 27 May 2008 11:56:52 PDTRe: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Tue, 27 May 2008 07:50:54 PDTRe: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Tue, 27 May 2008 06:36:30 PDTRe: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Wed, 14 May 2008 05:59:21 PDTRe: Using JXTreeTable, a first draft
Kleopatra [fastegal@masked-domain]Tue, 06 May 2008 11:51:59 +0200Re: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Fri, 02 May 2008 04:42:52 PDTRe: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Wed, 30 Apr 2008 08:50:54 PDTRe: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Wed, 30 Apr 2008 08:42:20 PDTRe: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Wed, 30 Apr 2008 05:33:32 PDTRe: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Wed, 30 Apr 2008 05:17:27 PDTRe: Using JXTreeTable, a first draft
[jdnc-interest@masked-domain]Fri, 25 Apr 2008 10:14:08 PDTUsing JXTreeTable, a first draft

 
Recent changes | RSS changes | Table of contents | News Archive | Terms And Conditions | Register | The Quest For Software++| Ruby Resources
FitNesse Resources