Article View: borland.public.jbuilder.java.api
Article #3190setVisible(true) what am i doing wrong?
From: jim
Date: Sat, 07 Mar 1998 00:00
Date: Sat, 07 Mar 1998 00:00
30 lines
1044 bytes
1044 bytes
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
Technical Details
Message-ID:
<01bd4962$a5a63dc0$25e1c5d1@jimwyatt>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,d376207fc58e0e2,start X-Google-Attributes: gid1089d0,public From: "jim" <wyatt@fastlane.net> Subject: setVisible(true) what am i doing wrong? Date: 1998/03/07 Message-ID: <01bd4962$a5a63dc0$25e1c5d1@jimwyatt> X-Deja-AN: 331570344 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.api