classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] javax.swing.SpinnerListModel


From: Andrew John Hughes
Subject: [cp-patches] javax.swing.SpinnerListModel
Date: Wed, 18 Aug 2004 02:38:40 +0100
User-agent: Mutt/1.5.6+20040722i

Attached is an implementation of SpinnerListModel.  Just let me
know if this is okay to commit (to Classpath -- probably needs moving
to java-gui at some point).

I've tested it with a quick test class.  When I get chance, I'll have
a look at converting that into a Mauve test case for the class.

Another point also came up while hacking this one.  Is there a Classpath
policy on the toString() and equals() methods?  SpinnerListModel doesn't
have these implemented in Sun's version, but to me, it would seem sensible
to have such methods in place.  After all, they are fairly obvious --
basically just a class check and then equivalent lists for equals(),
and a printing of the list for toString().  Should I go ahead and add these
two?

Cheers,
-- 
Andrew :-)

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

Value your freedom, or you will lose it, teaches history. 
`Don't bother us with politics' respond those who don't want to learn. 

Attachment: spinner_list_model.diff
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]