๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Disable a button??

#628
From: Davisote
Date: Sun, 27 Mar 2005 20:46
67 lines
3625 bytes
Hi again and thanks for asking.
That link has the same documentation I use.

After making many tests, I have discovered how to show "Expose As Class 
Level Variable" and the rest is very easy.

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?
That was my original problem.

Ok.
Greetings
David.



"John McGrath [TeamB]" <ng-b@JPMcGrath.net> escribi๏ฟฝ en el mensaje 
news:xn0e0954r1170y000@newsgroups.borland.com...
> On 3/27/2005 at 7:52:37 AM, Davisote wrote:
>
>> I'm using JBuilder Enterprise 8.0.140.0 and the document is "Learning
>> Java with JBuilder" Verison 4.
>> In the Chapter 19, called "Building a Java Text Editor" in the Step 13:
>
> I do not have a copy of the JBuilder 8 documentation set, but the JBuilder
> 2005 docs have a tutorial by the same name, so that is what I am looking
> at.  You might want to check to see that it is the same as what you are
> looking at.  It is available at:
>
> http://info.borland.com/techpubs/jbuilder/jbuilder2005/index1280x1024.html
>
> Select the book, "Designing Applications with JBuilder", from the combo at
> the top of the page, then Chapter 11, Step 13 from the table of contents
> on the left.
>
>
> On 3/26/2005 at 6:12:52 AM, Davisote wrote:
>
>> > choose Expose As Class Level Variable, but this option is not enabled.
>
> Are you saying that "Expose As Class Level Variable" appears in the menu,
> but it is disabled?  I tried this with JBuilder Enterprise 8.0.140.0 and
> it worked for me.  If that is what you are saying, would you please post
> the code that you are viewing in the UI Designer?
>
>> > just one of them
>
> I do not understand this.  Just one of what?
>
>> > and when you select the option Regular the document option it
>> > disappears.
>
> The property exposure level controls what properties are visible.  If you
> set it to "Regular", only the most commonly used properties are shown.
> "Expert" shows most properties, and "Hidden" shows all properties.  Since
> the document property is "Expert" level, it is not shown when you set the
> property exposure level to "Regular".  That is how it is supposed to work.
>
> -- 
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>    http://www.JPMcGrath.net/newsgroups/e-mail.html 
Technical Details
Message-ID: <42471b8a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,cb273dd3cca84955
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII
From: "Davisote" <yeses@hotmail.com>
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>
Subject: Re: Disable a button??
Date: Sun, 27 Mar 2005 21:46:08 +0100
Lines: 69
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 80.103.167.80
Message-ID: <42471b8a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111956362 80.103.167.80 (27 Mar 2005 12:46:02 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail