Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] Display combo box in JTable cell?
- From: greg@xxxxxxxxxxxxxxx (Greg Munt)
- Subject: [Advanced-java] Display combo box in JTable cell?
- Date: Mon, 25 Feb 2002 16:07:21 -0000
Why would you want to render a combo box? A combo box as an editor, I can understand.. But a renderer? ----- Original Message ----- From: "Mark Plamann" <mark@xxxxxxxxxxx> To: <advanced-java@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, February 25, 2002 3:03 PM Subject: [Advanced-java] Display combo box in JTable cell? > Hi all, > > I am interested in displaying a combo box in the cell of a JTable. It seems > the default rendering option is for a JTable cell to display only the text > of the currently selected item of the combo box and not the actual combo > box itself. The combo box displays fine when a user selects the cell the > combo box is in, but once they move to another cell, only the text is > displayed. > > Is it possible to write a renderer to do what I would like to do? If so, > does anyone have any tips or examples towards writing such a renderer? > > Thanks for any insight, > Mark > > _______________________________________________ > Advanced-java mailing list > Advanced-java@xxxxxxxxxxxxxxxxxxxxxx > http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java >
- Follow-Ups:
- [Advanced-java] Display combo box in JTable cell?
- From: Jose Ortiz
- [Advanced-java] Display combo box in JTable cell?
- From: Mark Plamann
- [Advanced-java] Display combo box in JTable cell?
- References:
- [Advanced-java] Display combo box in JTable cell?
- From: Mark Plamann
- [Advanced-java] Display combo box in JTable cell?
- Prev by Date: [Advanced-java] Display combo box in JTable cell?
- Next by Date: [Advanced-java] Display combo box in JTable cell?
- Previous by thread: [Advanced-java] Display combo box in JTable cell?
- Next by thread: [Advanced-java] Display combo box in JTable cell?
- Index(es):