JComboBox

Help
Namic46
2006-05-02
2013-04-16
  • Namic46

    Namic46 - 2006-05-02

    First, I'd like to say that your look and feel is fantastic and is well received by users when I deploy applications.

    I only have one comment, if you don't mind, and thats with JComboBox. I received ClassCastException occasionally (as per a previous discussion) but the ComboBox doesn't paint correctly. I am using a basic JComboBox setup like:

    JComboBox cb = new JComboBox();
    cb.setEditable(true);
    cb.setModel(new DefaultComboBoxModel(new String[] { "56", "06", "55", "05" }));
    cb.setToolTipText("Select Letter");
    cb.setPreferredSize(new java.awt.Dimension(94, 19));

    It is merely cosmetic and the functionality is not affected. I thought i'd let you know so you are aware.

    Keep up the good work.

     
    • Robert Futrell

      Robert Futrell - 2006-05-10

      Thanks for the input!  I'll look into this issue.

       
    • Robert Futrell

      Robert Futrell - 2006-06-07

      I tried your example code and didn't see any paint error.  Could you provide a small standalone example of JComboBoxes not rendering properly?  Also, what JRE version are you using?

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks