JTable combobox editor



I have a JTable with 17 columns. The last 15 columns contain airport
codes (this is used
for entering a flight schedule). The application uses a list of 5000
airport codes.

When I do:
column.setCellEditor(new MyComboBoxEditor(airportValues));

for each column it is very slow.

Is it possible to only use 1 combobox and reuse and activate it as a
celleditor when I click on a particular cell?

Can someone give me a hint how to do this?

regards
john

.



Relevant Pages

  • JTable combobox cell editor
    ... The last 15 columns contain airport ... for entering a flight schedule). ... airport codes. ...
    (comp.lang.java.gui)
  • Re: Problem with VLOOKUP Results.
    ... So the forumula says to concatenate whatever is in A2 (say ABE) with a space, ... Then match that in column A of the Airport ... Codes worksheet. ... ABE - Allentown Bethlehem-Easton International, PA, USA ...
    (microsoft.public.excel.newusers)
  • Re: Problem with VLOOKUP Results.
    ... I would do what Roger wrote. ... So the forumula says to concatenate whatever is in A2 (say ABE) with a space, ... Then match that in column A of the Airport ... Codes worksheet. ...
    (microsoft.public.excel.newusers)
  • Re: JTable combobox editor
    ... The last 15 columns contain airport ... > airport codes. ... I assume MyComboBoxEditor extends TableCellEditor? ... public TableCellEditor getCellEditor(int row, int column) ...
    (comp.lang.java.programmer)
  • Re: Way OT: Phrases you Hate
    ... >> Dee Dee ... These are the ICAO/IATA airport ... > IS some logic behind the codes, ... I've never thought about how the call letters for Amtrak get come about. ...
    (rec.food.cooking)

Loading