Home > Back-end >  Novice online help explain the meaning of this two code
Novice online help explain the meaning of this two code

Time:10-06

As shown, thank you very much bosses

CodePudding user response:

1, if the parameters of the incoming event source is bt1
(2), if the left mouse button to trigger the mouse events

CodePudding user response:

The first to use getSource can let him with a JLabel array deck [54] equal (54 CARDS)? Such as use the if (um participant etSource (.) the equals. Deck [I])

CodePudding user response:

reference 1st floor sotondolphin response:
1, if the incoming parameters to get the event source is bt1
2. If the left mouse button to trigger the mouse events
that use the get. Source (); Can let him with an array of JLabel (54 card deck [54] equal?
If (um participant etSource (). The equals. Deck [I])
  • Related