This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree 2 files changed +3
-2
lines changed
src/test/java/nodebox/graphics
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 123
123
</target >
124
124
125
125
<target name =" compile-tests" depends =" compile" >
126
- <javac srcdir =" ${ test } " destdir =" ${ build.test } " source =" 1.7 " target =" 1.7 " includeantruntime =" false"
126
+ <javac srcdir =" ${ test } " destdir =" ${ build.test } " source =" 11 " target =" 11 " includeantruntime =" false"
127
127
deprecation =" yes" >
128
128
<classpath refid =" test.classpath" />
129
129
<compilerarg value =" -Xlint:unchecked" />
Original file line number Diff line number Diff line change 8
8
import java .awt .Color ;
9
9
import java .awt .event .ActionEvent ;
10
10
import java .awt .event .ActionListener ;
11
+ import java .awt .event .InputEvent ;
11
12
import java .awt .event .KeyEvent ;
12
13
import java .io .StringReader ;
13
14
@@ -124,7 +125,7 @@ public void setResult(Object result) {
124
125
private class RunAction extends AbstractAction {
125
126
private RunAction () {
126
127
super ("Run" );
127
- putValue (ACCELERATOR_KEY , KeyStroke .getKeyStroke (KeyEvent .VK_R , Toolkit . getDefaultToolkit (). getMenuShortcutKeyMaskEx () ));
128
+ putValue (ACCELERATOR_KEY , KeyStroke .getKeyStroke (KeyEvent .VK_R , InputEvent . META_DOWN_MASK ));
128
129
}
129
130
130
131
@ Override
You can’t perform that action at this time.
0 commit comments