Created
January 16, 2019 10:45
-
-
Save fffars/d0f0c6872f5b2dac05101641b7fcedc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'java' | |
ActionListener = java.awt.event.ActionListener | |
$check=true | |
$inter=false | |
$stepMode=true | |
$runToEnd=false | |
class ToBreakListener < ActionListener | |
def actionPerformed(e) | |
$check = false | |
$stepMode = true | |
puts $check | |
end | |
end | |
btnToBreak.addActionListener ToBreakListener.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment