Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Advanced-java] Display combo box in JTable cell?


  • From: jorti@xxxxxxxxx (Jose Ortiz)
  • Subject: [Advanced-java] Display combo box in JTable cell?
  • Date: Mon, 25 Feb 2002 11:26:57 -0500

This may not do exactly what you want, but there is an example of a
renderer for a JButton inside a JTable. That may help build the one you
need.

http://www2.gol.com/users/tame/swing/examples/SwingExamples.html

> 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
-- 
-------------------------------------------------------------------
                                      Jose L. Ortiz, Ph.D.
                                      Senior Development Engineer
     _/_/    _/_/  _/_/_/_/    _/     
    _/ _/  _/ _/  _/      _/  _/      Mechanical Dynamics, Inc. 
   _/  _/_/  _/  _/      _/  _/       2300 Traverwood Drive
  _/   _/   _/  _/      _/  _/        Ann Arbor, MI 48105, USA
 _/        _/  _/_/_/_/    _/         phone : (734) 887-2551
                                      e-mail: jorti@xxxxxxxxx
 The virtual prototyping company      web   : http://www.adams.com
-------------------------------------------------------------------