Article View: borland.public.jbuilder.java.language
Article #16730Disabling a JLabel
From: Leo Cohen
Date: Mon, 25 Jan 1999 00:00
Date: Mon, 25 Jan 1999 00:00
17 lines
998 bytes
998 bytes
I have a JPanel with a large JLabel in it. The JLabel holds a gif which I am using for a background logo. I have disabled the JLabel with setEnabled(false). However, if I click in the label, it comes to the front of the screen images and hides any image that was originally over it. How do I disable the label so that it does not recognize any inputs? -- Leo Cohen 116-1 Howard Drive Charlottesville, VA 22903 804-243-8922 (UVA) 804-244-4648 (home) 804-244-7922 (fax) lcohen@cs.virginia.edu
Technical Details
Message-ID:
<36ACF572.FC025EE8@cs.virginia.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,77a7fdcdcfcd52,start X-Google-Attributes: gidf74b3,public From: Leo Cohen <lcohen@cs.virginia.edu> Subject: Disabling a JLabel Date: 1999/01/25 Message-ID: <36ACF572.FC025EE8@cs.virginia.edu> X-Deja-AN: 436864010 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language