File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Populate JCombo Box with different Values in each Row in JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Populate JCombo Box with different Values in each Row in JTable" Watch "Populate JCombo Box with different Values in each Row in JTable" New topic
Author

Populate JCombo Box with different Values in each Row in JTable

Rohit Kedia
Ranch Hand

Joined: Apr 24, 2010
Posts: 79
I need a Help here In my JTable I have 3 combo boxs.
If I select a Value from Combo Box 1 , then Combo Box 2 should get populated with some values by fetching from Database & Same for For Combo Box 3.

Note Each Combo Box in each row can have different set of values(which can be selected).
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

http://www.coderanch.com/t/451389/GUI/java/Swing-JCombobox-JTable

I knew I already answered that one.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Populate JCombo Box with different Values in each Row in JTable
 
Similar Threads
Column value is getting reset to zero automatically in Jtable
JTable and combobox as the cellEditor
TableCellEditor ComboBox in JTable
JTable
MultiComponent JTable