Deprecated hide and show for Choice

From: Doug van Vianen (courses_at_shaw.ca)
Date: 02/28/04


Date: Sat, 28 Feb 2004 19:58:45 GMT

Hi,

I am using Choice to provide a dropdown menu in an Applet. I create the
Choice and then need to hide it until it is needed and then show it. I use
c.hide() and c.show() where 'c' is the choice.

This works fine except that when I use javac to compile the code I get the
message that I am using a deprecated API. That is, hide() and show() for
choices (and presumably other items) is no longer used. I have tried doing a
search to find the new way of doing this but do not get any useful results.

Can someone tell me how to hide and show a choice dropdown menu using newer
code?

Thank you.

Doug van Vianen
courses@shaw.ca



Relevant Pages

  • Re: Deprecated hide and show for Choice
    ... > I am using Choice to provide a dropdown menu in an Applet. ... > message that I am using a deprecated API. ... The JavaDocs are your friend: ...
    (comp.lang.java)
  • Re: Deprecated hide and show for Choice
    ... >> I am using Choice to provide a dropdown menu in an Applet. ... >> message that I am using a deprecated API. ...
    (comp.lang.java)
  • Custom DropDownList control in ASP.NET 2.0
    ... I've created a custom dropdown list in a web control library that my ... When I compile the .aspx I get the following error for each ... is a compilation error in the Web site. ...
    (microsoft.public.dotnet.framework.aspnet)