Search:

Type: Posts; User: chronoz13

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: boolean values are going against my assumption on execution of events

    i tried it! it works easier!! ,saves more line than what i was about to do :) :p
  2. [SOLVED] Re: boolean values are going against my assumption on execution of events

    another lesson learned, take some rest, before debugging :D :D :D :D
  3. [SOLVED] Re: boolean values are going against my assumption on execution of events

    the only solution that i only know now, is to use 2 separate boolean variables to control the logic that i need to implement
  4. [SOLVED] Re: boolean values are going against my assumption on execution of events

    oops i think we just posted almost at the same time, i just got it hehe , :D and yes, thats the problem, i wasnt paying attention on ALL the if-else statement, well im a bit tired, thats why i posted...
  5. [SOLVED] Re: boolean values are going against my assumption on execution of events

    now i get it, theres is no wrong with the code itself, i was the one at fault,

    // if-else statement for red square
    if (e.getX() >= 30 && e.getX() <= 60 &&
    ...
  6. [SOLVED] Re: boolean values are going against my assumption on execution of events

    i already did some print statements, i still dont get why does the boolean value doesnt change when i hover the red sqaure, when the mouseMove event has the same statements both for red and blue...
  7. [SOLVED] boolean values are going against my assumption on execution of events

    i beg your pardon with the title of my post, but im not sure what title to give on this one, ill post the code first

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import...
Results 1 to 7 of 7