[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/22812] JComboBox fails on non-default ComboBoxModel
From: |
gcc-bugzilla at gcc dot gnu dot org |
Subject: |
[Bug classpath/22812] JComboBox fails on non-default ComboBoxModel |
Date: |
16 Oct 2005 01:27:19 -0000 |
The bug appears here (JComboBox.java):
public int getItemCount() {
return ((DefaultComboBoxModel) dataModel).getSize();
}
But there seems to be several instances of (DefaultComboBoxModel) dataModel) in
the code.
My failing class is "extends AbstractListModel implements ComboBoxModel". That
works with Sun's javax.swing.
------- Comment #1 from from-classpath at savannah dot gnu dot org 2004-12-11
18:50 -------
Thanks for the bug report. I am on this and similar problematic cases.
------- Comment #2 from from-classpath at savannah dot gnu dot org 2004-12-19
11:46 -------
The problem is solved in CVS. Bug will be closed when a mauve testcase is
written.
------- Comment #3 from from-classpath at savannah dot gnu dot org 2004-12-20
00:57 -------
Mauve tests are in.
------- Comment #4 from from-classpath at savannah dot gnu dot org 2005-04-15
12:48 -------
Forgot to mark this as fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22812
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/22812] JComboBox fails on non-default ComboBoxModel,
gcc-bugzilla at gcc dot gnu dot org <=