[N][O][B]
04-24-2004, 06:23 PM
[3rd gen noob] lamsey, what's wrong with this: if(event.getSource() == mineGUI[0][0])
[Lamsey] you don't want to do the whole thing with if statements
[3rd gen noob] no, i was just checking
[3rd gen noob] lol
[3rd gen noob] i wasn't intending doing the whole thing with ifs
[3rd gen noob] i just want to know that it's working as intended
[Lamsey] you need to implement some way of finding out the coords of the pressed button
[Lamsey] i put methods and fields into my custom button class for doing it
[Lamsey] dunno how you want to do it
[3rd gen noob] what, like mouse clicked in the extended button class?
[Lamsey] nope
[Lamsey] you don't want to do the whole thing with if statements
[3rd gen noob] no, i was just checking
[3rd gen noob] lol
[3rd gen noob] i wasn't intending doing the whole thing with ifs
[3rd gen noob] i just want to know that it's working as intended
[Lamsey] you need to implement some way of finding out the coords of the pressed button
[Lamsey] i put methods and fields into my custom button class for doing it
[Lamsey] dunno how you want to do it
[3rd gen noob] what, like mouse clicked in the extended button class?
[Lamsey] nope