java.awt.Checkbox lacks setLabel
Alexandre Oliva
oliva at dcc.unicamp.br
Mon Dec 21 11:38:29 PST 1998
On Dec 21, 1998, Pavel Roskin <pavel_roskin at geocities.com> wrote:
> public Checkbox ( String label, boolean state, CheckboxGroup group) {
> - this.label = label;
> + if (label == null)
> + this.label = "";
> + else
> + this.label = new String( label);
This doesn't seem right. In thise case, getLabel() wouldn't return
null, but it should.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
More information about the kaffe
mailing list