Article View: aus.computers.java
Article #1040Re: Button
From: SkoZombie
Date: Thu, 14 Oct 1999 00:00
Date: Thu, 14 Oct 1999 00:00
17 lines
990 bytes
990 bytes
Morten Endal wrote: > > Is there a method that can change the look and disable the function of > a Button? > I need it for disabling some of the buttons during runtime, when their > functions is not available for the user. It should be eazy, it's done all > the time in most applications.. > > .. > Regards > morten buttonObject.setEnabled(false); That will disable the button ... change false to true to re-enable it. -Sko
Technical Details
Message-ID:
<380579C7.CF038AD7@Bigfoot.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<Pine.OSF.3.96.991012135323.2279A-100000@silas-2.cc.monash.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,48cc97f778fa8ba7 X-Google-Attributes: gid10d6db,public From: SkoZombie <SkoZombie@Bigfoot.com> Subject: Re: Button Date: 1999/10/14 Message-ID: <380579C7.CF038AD7@Bigfoot.com> X-Deja-AN: 536554337 Content-Transfer-Encoding: 7bit References: <Pine.OSF.3.96.991012135323.2279A-100000@silas-2.cc.monash.edu.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: The University of Newcastle Mime-Version: 1.0 Newsgroups: aus.computers.java