Article View: borland.public.jbuilder.java.api
Article #3191Re: setVisible(true) what am i doing wrong?
From: Rich Wilkman
Date: Sat, 07 Mar 1998 00:00
Date: Sat, 07 Mar 1998 00:00
50 lines
1794 bytes
1794 bytes
Jim:
Try asking the container to validate().
-Rich
jim wrote:
>
> when i use the following statement blank out an image and display another
> image,
> the image1.setVisible(false); works but the image2.setVisible(true);
> does not. the only way i know how to get image2 to display is to
> setSize(); after i setVisible to true;
>
> i'm converting from 1.0 jdk to 1.1... ITS KILLING ME...
>
> does not work...
>
> void image1_mouseEntered(MouseEvent e) {
> image1.setVisible(false);
> image2.setVisible(true);
> }
>
> does work...
>
> void image1_mouseEntered(MouseEvent e) {
> image1.setVisible(false);
> image2.setVisible(true);
> this.setSize(1,100);
> }
>
> thanks,
>
> wyatt@fastlane.net
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team
If you see something that looks like an opinion up there,
it's mine and mine alone.
Mail sent to me from the newsgroups won't bounce but will
be ignored. If I have time, I'll respond, but you have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<35017637.5FD4A5CB@corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bd4962$a5a63dc0$25e1c5d1@jimwyatt>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,d376207fc58e0e2 X-Google-Attributes: gid1089d0,public From: Rich Wilkman <rwilkman@corp.borland.com> Subject: Re: setVisible(true) what am i doing wrong? Date: 1998/03/07 Message-ID: <35017637.5FD4A5CB@corp.borland.com> X-Deja-AN: 331725635 Content-Transfer-Encoding: 7bit References: <01bd4962$a5a63dc0$25e1c5d1@jimwyatt> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api