[BBB-USERS] Binding a JComboBox

  • From: "Rom Yatziv" <ryatziv@entertainmentpartners.com>
  • To: <users@betterbeansbinding.kenai.com>
  • Subject: [BBB-USERS] Binding a JComboBox
  • Date: Tue, 19 Jan 2010 09:52:20 -0800
  • Importance: normal
  • Priority: normal

I need some help with this situation.

Given:

class BeanOne {
  String bean2reference;
}

class BeanTwo {
  String reference;
  String description;
}

I have a JComboBox that contains a list of BeanTwo.  I'd like a
bidirectional binding between this JComboBox and BeanOne.bean2reference.

Also, I'd like to display BeanTwo.description, perhaps without a
toString() in BeanTwo.

Thanks.


                
        Rom Yatziv Software Developer Software Development  Tel (818) 
955-4421 | Fax  www.entertainmentpartners.com 
<http://www.entertainmentpartners.com/>  GO GREEN: Please consider the 
environment before you print.        
Disclaimer - January 19, 2010

This email and any attachments are confidential and intended solely for 
users@betterbeansbinding.kenai.com. If you are not a named addressee you are 
prohibited from reviewing, printing, disseminating, distributing, copying or 
altering this email or any part of it. If you have received this 
communication in error, please notify the sender of the error immediately, do 
not read or use the communication in any manner, destroy all copies, and 
delete it from your system if the communication was sent via email. Warning: 
Although Entertainment Partners has taken reasonable precautions to ensure no 
viruses are present in this email, the recipient is responsible for checking 
for and deleting viruses. Entertainment Partners does not accept 
responsibility for any loss or damage arising from the use of this email or 
attachments.


[BBB-USERS] Binding a JComboBox

Rom Yatziv 01/19/2010
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close