fixed some AWT10 things

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1074 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 25 years ago
parent ba4e13803b
commit 5b3fb0a36b
  1. 2
      jode/jode/JodeApplet.java
  2. 2
      jode/jode/JodeWindow.java

@ -28,7 +28,7 @@ public class JodeApplet extends Applet {
///#ifdef AWT10 ///#ifdef AWT10
/// public boolean action(Event e, Object arg) { /// public boolean action(Event e, Object arg) {
/// jodeWin.action(e); /// jodeWin.action(e, arg);
/// return true; /// return true;
/// } /// }
///#endif ///#endif

@ -155,7 +155,7 @@ public class JodeWindow
} }
///#ifdef AWT10 ///#ifdef AWT10
/// public synchronized void action(Object target) { /// public synchronized void action(Event e, Object target) {
///#else ///#else
public synchronized void actionPerformed(ActionEvent e) { public synchronized void actionPerformed(ActionEvent e) {
Object target = e.getSource(); Object target = e.getSource();

Loading…
Cancel
Save