🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #2

Re: Disabling a JButton in an applet

#2
From: Bart Luyckx
Date: Tue, 28 Mar 2000 00:00
22 lines
1505 bytes
Ok, guess I found it...it's jbutton.setEnabled(true/false) instead of
jbutton.enable(true/false)

Sorry for the disturbance, continue hypersleep.

Bart.

"Bart Luyckx" <bart.luyckx@iim.be> wrote in message
news:O34E4.14$k05.1276@nreader2.kpnqwest.net...
> Hi all,
>
> I want to disable (grey out) a JButton in an applet. I have the JDK 1.2
> plugin installed.
>
> I use "jbutton.enable(true)" to enable it and "jbutton.disable()" to
disable
> this button...except...it DOESN'T work :-)
>
> Anyone?
>
>
>
Technical Details
Message-ID: <CI4E4.18$k05.1159@nreader2.kpnqwest.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <O34E4.14$k05.1276@nreader2.kpnqwest.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,244d3d94a31216a3
X-Google-Attributes: gid111d45,public
X-Google-Thread: f74b3,244d3d94a31216a3
X-Google-Attributes: gidf74b3,public
X-Google-Thread: ff01d,244d3d94a31216a3
X-Google-Attributes: gidff01d,public
From: "Bart Luyckx" <bart.luyckx@iim.be>
Subject: Re: Disabling a JButton in an applet
Date: 2000/03/28
Message-ID: <CI4E4.18$k05.1159@nreader2.kpnqwest.net>
X-Deja-AN: 603453453
References: <O34E4.14$k05.1276@nreader2.kpnqwest.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-Complaints-To: newsmaster@kpnqwest.net
X-Trace: nreader2.kpnqwest.net 954259362 195.207.156.13 (Tue, 28 Mar 2000 18:02:42 MET DST)
Organization: KPNQwest customer news service
X-MSMail-Priority: Normal
NNTP-Posting-Date: Tue, 28 Mar 2000 18:02:42 MET DST
Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.java.language,borland.public.jbuilder.applet-issues