Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #15637
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | bilsch <bilsch01@gmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: It doesn't see my 'if' statements |
| Date | Tue, 26 Jun 2012 17:18:09 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 21 |
| Message-ID | <jsdjg0$e4g$1@dont-email.me> (permalink) |
| References | <jsde9p$ebg$1@dont-email.me> <jsdefq$ek9$1@dont-email.me> <jsdhh1$qfu$2@localhost.localdomain> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Wed, 27 Jun 2012 00:18:08 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="KnXAleWiR2b1CH/F67mjfA"; logging-data="14480"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++6cKMPa69mWx2UUXu5gHY" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
| In-Reply-To | <jsdhh1$qfu$2@localhost.localdomain> |
| Cancel-Lock | sha1:7bIlIvKVHEu07T0BqGw+g8SDbQw= |
| Xref | csiph.com comp.lang.java.programmer:15637 |
Show key headers only | View raw
On 6/26/2012 4:44 PM, Martin Gregorie wrote:
> On Tue, 26 Jun 2012 15:52:41 -0700, markspace wrote:
>
>> On 6/26/2012 3:49 PM, bilsch wrote:
>>
>>> public void actionPerformed(ActionEvent event){
>>> String btn = event.getActionCommand();
>>> // opflag clears display if (opFlag = true){
>>
>>
>> This is assignment, not == test. You need two == for equals testing.
>>
>> If you are using NetBeans, it should have flagged this with a warning.
>> Mine does.
>
> As far as I can see the result of your calculation is never written to
> gui.number1
>
>
It doesn't go that far. I'm testing for the display to change when the
second string of digits starts getting entered.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
It doesn't see my 'if' statements bilsch <bilsch01@gmail.com> - 2012-06-26 15:49 -0700
Re: It doesn't see my 'if' statements markspace <-@.> - 2012-06-26 15:52 -0700
Re: It doesn't see my 'if' statements Lew <lewbloch@gmail.com> - 2012-06-26 16:40 -0700
Re: It doesn't see my 'if' statements bilsch <bilsch01@gmail.com> - 2012-06-26 17:22 -0700
Re: It doesn't see my 'if' statements Mike Winter <usenet@michael-winter.me.invalid> - 2012-06-27 02:04 +0100
Re: It doesn't see my 'if' statements Martin Gregorie <martin@address-in-sig.invalid> - 2012-06-26 23:44 +0000
Re: It doesn't see my 'if' statements bilsch <bilsch01@gmail.com> - 2012-06-26 17:18 -0700
Re: It doesn't see my 'if' statements bilsch <bilsch01@gmail.com> - 2012-06-26 17:04 -0700
Re: It doesn't see my 'if' statements markspace <-@.> - 2012-06-26 19:47 -0700
Re: It doesn't see my 'if' statements Roedy Green <see_website@mindprod.com.invalid> - 2012-06-27 03:16 -0700
csiph-web