File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Update an Existing combobox in JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Update an Existing combobox in JTable " Watch "Update an Existing combobox in JTable " New topic

Update an Existing combobox in JTable

SyedMahmudul Hasan

Joined: Feb 22, 2007
Posts: 6
Hi all,
I've asked this quesion in following forum... but didn't get any answer...
I thought I'll get some help from this forum.

I have a comboBox in a Jtable.
Now I need to update(add few more items in it) that combobox based on the other cell's value.
How can I do that?

This is what i tried... but didn't work

I've "ScaleTypeComboBoxEditor" and "LingComboBoxEditor" for two different combobox...
In ScaleTypeComboBoxEditor I've added following code to update ComponentCreator.linguisticList

I'm stuck...Please help me....thanks in advance
Ranganathan Kaliyur Mannar

Joined: Oct 16, 2003
Posts: 1101

I started to work on this, but soon lost patience. Your post is complex and needs to be more clear. First, isolate the problem by creating a SSCCE. That will also help people like us trying to help u.

I agree. Here's the link:
subject: Update an Existing combobox in JTable
It's not a secret anymore!