|
| From: | anonymous |
| Subject: | [commit-cp] [bugs #11255] JComboBox fails on non-default ComboBoxModel |
| Date: | Wed, 08 Dec 2004 07:54:48 -0500 |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041128 Firefox/1.0 (Debian package 1.0-4) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #11255] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11255>
Project: classpath
Submitted by: 0
On: Wed 12/08/2004 at 07:44
Category: classpath
Severity: 5 - Average
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Platform Version: None
Summary: JComboBox fails on non-default ComboBoxModel
Original Submission: 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.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11255>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |