Thank you people, you are correct. It worked as expected, Eder
2017-03-22 15:58 GMT-04:00, Kevin Meyer <[email protected]>: > Thanks Jeroen, > That's what I was going to suggest. > > > On 22 March 2017 17:44:27 CET, Jeroen van der Wal <[email protected]> > wrote: >>Maybe change the title? >> >>public class Child { >> public String title() { >> return getProp1()+getProp2(); >> } >> .... >>} >> >>On 22 March 2017 at 15:53, L Eder <[email protected]> wrote: >> >>> Hi members: >>> >>> i have this: >>> >>> Child class: >>> String prop1; >>> String prop2; >>> >>> and >>> >>> Parent class: >>> private SortedSet<Child> collec = new TreeSet<Child>(); >>> public Parent add (final Child child) {...} >>> >>> How can i have prop1 + prop2 rendered when add() is executed? >>> Currently is prop1 the one being, by default, rendered in the Add >>> dialog's child drop-down control. >>> >>> Thanks in advance, Eder >>> > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity.
