[5692] in java-interest

home help back first fref pref prev next nref lref last post

Re: problem with awt.Choice in appletviewer

daemon@ATHENA.MIT.EDU (Amy Fowler)
Thu Feb 22 22:16:25 1996

Date: Wed, 21 Feb 1996 11:14:54 -0800
From: Amy.Fowler@Eng.Sun.COM (Amy Fowler)
To: java-interest@java.Eng.Sun.COM, thomas.koch@gmd.de


>>Dear Javas,
>>I have encountered a problem using the "Choice" button 
>>with many items :
>>After adding about 100 items to the choice (using addItem()
>>method) I  add the choice to the Panel (Appplet).
>>This works fine with Netscape but the appletviewer hangs
>>(consuming about 99% CPU) after the "add(choice)" command
>>in appelts init() method !
>>Unfortunately I need this running in the appletviewer, really !
>>Does anybody know about this (a bug ?) or has made similar 
>>experiences ? Besides this only happens on the SUN - I tried
>>it under WindowsNT and all was o.k.

This is definitely a bug (looking at the choice native Motif code,
looks like we arn't realloc'ing properly once the 21st item
is added).  It possible netscape fixed this bug in their
implementation.

We'll fix this in the next bugfix release --
Thanks for reporting it.

Regards,
Amy Moore-Fowler
Java Products Group
JavaSoft
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post