Personally I think you are missing one point. That is you usually want validate any 
data that actually gets stored before it gets stored. Also, what happens if the person 
cancels the modifying of the data?

Paul Franz

----- Original Message -----
From: "Neil Stevens" <[EMAIL PROTECTED]>
Date: Mon, 24 Jun 2002 16:54:27 +0100
To: "JDJList" <[EMAIL PROTECTED]>
Subject: [jdjlist] Swing


> I am just about to do a bit of  Swing for the first time for a while.
> It may help if you visualise me stamping my foot, and acting spoilt as you
> read this :-
> 
> I don't want to keep copying data around in swing.
> I don't like DefaultTreeModel because you copy your data into it.
> I hate doing setText in JTextField.
> At least JTable lets you avoid this.
> 
> I want a set of part written adapters that I can customise to point at my
> business objects.
> 
> For a JTextField I want to say :-
> 
> myField.setDocument( new DocumentAdapter( myCustomer, "ADDRESS" ) ); // Uses
> beans to derive getter and setter
> or
> mySlider.setModel( new BoundedRangeAdapter( myAccount, "CREDITLIMIT", 0,
> 1000 );
> 
> Is this a valid way to proceed or am I misguided?
> 
> N
> 
> 
> 
> 
> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm
> 
> 

-- 
__________________________________________________________

Sign-up for your own FREE Personalized E-mail at Mail.com

http://www.mail.com/?sr=signup



Save up to $160 by signing up for NetZero Platinum Internet service.

http://www.netzero.net/?refcd=N2P0602NEP8



To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to