Overwrite combobox to accept objects in constructor
From: Greg (gstasica_at_poczta.onet.pl)
Date: 11/25/04
- Previous message: Larry Coon: "Re: JSplitPane resize woes"
- Next in thread: Andrew Thompson: "Re: Overwrite combobox to accept objects in constructor"
- Reply: Andrew Thompson: "Re: Overwrite combobox to accept objects in constructor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Nov 2004 23:17:09 -0800
Hi,
I've created ComboBox and passed in constructor vector with some
objects. This way combobox for each object in vector invokes method
toString (this is what user sees). How can I overwrite this method, I
mean I'd like to write to ComboBox not result of calling toString but
rather result of some other function in object.
- Previous message: Larry Coon: "Re: JSplitPane resize woes"
- Next in thread: Andrew Thompson: "Re: Overwrite combobox to accept objects in constructor"
- Reply: Andrew Thompson: "Re: Overwrite combobox to accept objects in constructor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|