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
