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 11:56:52 PDT
In reply to:Re: Using JXTreeTable, a first draft sent on Tue, 27 May 2008 09:52:18 PDT by [jdnc-interest@masked-domain]
Alex,

> 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.
Not really. I added some code to my incubator for adding validation to the editors, but we haven't done too much in that department. I'd recommend creating base editors that are reusable. There probably is a use case for StringValue-as-formatter type code, but that would add a lot of complexity to the StringValue code. Perhaps a subinterface? Hmm...

Karl
[Message sent by forum member 'kschaefe' (kschaefe)]

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

---------------------------------------------------------------------
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 09:52:18 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