[1201] in java-interest

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

Help with awt.OptionMenu

daemon@ATHENA.MIT.EDU (Fumihiko \"Miko\" Matsumura)
Fri Aug 25 19:41:14 1995

Date: Fri, 25 Aug 1995 12:29:15 -0700 (PDT)
From: "Fumihiko \"Miko\" Matsumura" <miko@well.com>
To: java-interest@java.Eng.Sun.COM

How do I change the contents of an option menu on the "fly"?
OptionMenu has an "addItem()" method, but no methods to
remove items. Do I need to dispose of the item and create a
new one with different options on it? If so, how do I avoid
the dreaded "Duplicate children in window" error?

Miko

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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