🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Disable a button??

#629
From: John McGrath [TeamB]
Date: Mon, 28 Mar 2005 04:13
16 lines
1649 bytes
On 3/27/2005 at 3:46:08 PM, Davisote wrote:

> Once I have added the DocumentListener to my JTextField, putted the
> dirty flag to true in the 3 events ChangeUpdated, etc.., how I disable
> enable my button?

You use the setEnabled() method.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <xn0e09hmbhyeci009@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42441118@newsgroups.borland.com> <4244454a$1@newsgroups.borland.com> <42445a44@newsgroups.borland.com> <xn0e06k3u1mwvy000@newsgroups.borland.com> <424543b4@newsgroups.borland.com> <xn0e07ug01bdr2r002@newsgroups.borland.com> <4246ac93@newsgroups.borland.com> <xn0e0954r1170y000@newsgroups.borland.com> <42471b8a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,cb273dd3cca84955
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: Disable a button??
Newsgroups: borland.public.jbuilder.java.swing
References: <42441118@newsgroups.borland.com> <4244454a$1@newsgroups.borland.com> <42445a44@newsgroups.borland.com> <xn0e06k3u1mwvy000@newsgroups.borland.com> <424543b4@newsgroups.borland.com> <xn0e07ug01bdr2r002@newsgroups.borland.com> <4246ac93@newsgroups.borland.com> <xn0e0954r1170y000@newsgroups.borland.com> <42471b8a@newsgroups.borland.com>
User-Agent: XanaNews/1.17.3.1
Message-ID: <xn0e09hmbhyeci009@newsgroups.borland.com>
X-Ref: newsgroups.borland.com ~XNS:0000032B
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 141.158.33.210
Date: 27 Mar 2005 20:13:24 -0800
X-Trace: newsgroups.borland.com 1111983204 141.158.33.210 (27 Mar 2005 20:13:24 -0800)
Lines: 16
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail