Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!newsfeed.tele2net.at!news.panservice.it!feed.xsnews.nl!border02.ams.xsnews.nl!feeder04.ams.xsnews.nl!feeder02.ams.xsnews.nl!frontend-F09-15.ams.news.kpn.nl From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Re: Disabling generated buttons Organization: Decebal Computing References: <874mr41ox9.fsf@Equus.decebal.nl> <87zj8wzcr2.fsf@Equus.decebal.nl> X-Face: "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR,v+Pti8=Vi/Z"g^?b"E X-Homepage: http://www.decebal.nl/ Date: Mon, 02 Feb 2015 15:17:56 +0100 Message-ID: <87r3u8z9bf.fsf@Equus.decebal.nl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:s8c4dYl5puuK0JgvINjhst/5C54= MIME-Version: 1.0 Content-Type: text/plain Lines: 30 NNTP-Posting-Host: 77.171.42.144 X-Trace: 1422887335 news.kpn.nl 19713 77.171.42.144@kpn/77.171.42.144:37419 Xref: csiph.com comp.lang.java.programmer:31010 Op Monday 2 Feb 2015 14:26 CET schreef Jeff Higgins: > On 02/02/2015 08:03 AM, Cecil Westerhof wrote: >> Op Monday 2 Feb 2015 13:47 CET schreef Jeff Higgins: >> >>> On 02/02/2015 07:24 AM, Cecil Westerhof wrote: >>> >>>> How would I do this? >>>> >>> MyButton.setEnabled(false); >>> +.5s >>> MyButton.setEnabled(true); >> >> That is for buttons that are stored in a variable, but these are >> not stored in a variable but generated. >> > Shrug? > Generate a list of references to the buttons you wish to disable? That is what I have done. See other reply. > Use MagicButtons? What do you mean with that? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof