This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JcomboBox master, change the values of all jComboBoxes on a Jatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JcomboBox master, change the values of all jComboBoxes on a Jatable" Watch "JcomboBox master, change the values of all jComboBoxes on a Jatable" New topic
Author

JcomboBox master, change the values of all jComboBoxes on a Jatable

Mar Ver
Greenhorn

Joined: Sep 01, 2012
Posts: 2
Hello Guys,

I have one doubt, I'm using a single JcomboBox that must change all the Jcomboboxes of a jtable to the same value of the master jcombobox.
I have the attached code, but It doesnt´t work, I dont know where could be the issue :S, could any body help me?
The master jComboBox is named: combo1 and this need to change all the comboboxes named: comboBox on the jtable called tbl.

http://www.javaclub.com.mx/code/ComboBoxTable.java
http://www.javaclub.com.mx/code/ComboBoxTable.txt



Many thanks in advance!!!



Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
lucky I checked before posting the solution

https://forums.oracle.com/forums/thread.jspa?threadID=2434683&tstart=0
http://forums.devshed.com/java-help-9/jcombobox-master-change-the-values-of-all-jcomboboxes-on-a-929978.html
http://stackoverflow.com/questions/12232222/jcombobox-master-change-the-values-of-all-jcomboboxes-on-a-jatable

and there is no doubt what I think of cross-posters
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JcomboBox master, change the values of all jComboBoxes on a Jatable
 
Similar Threads
combining two classes
Regarding JComboBox in a JTable
why is my JTable not showing up?
Thowing to many errors
JTable selected row problem