class main { /* 描画する絵を選択する処理 */ ThreadClass tc = new ThreadClass(); tc.setDrawPattern(1); tc.start(); } //スレッド { Handler hi = new Handler(Looper.getMainLooper()); public void run() { public void run () { //描画処理 } }); } }
Standard input is empty
Main.java:6: illegal character: \12288 ?ThreadClass tc = new ThreadClass(); ^ Main.java:6: ';' expected ?ThreadClass tc = new ThreadClass(); ^ Main.java:6: <identifier> expected ?ThreadClass tc = new ThreadClass(); ^ Main.java:7: <identifier> expected tc.setDrawPattern(1); ^ Main.java:7: illegal start of type tc.setDrawPattern(1); ^ Main.java:8: illegal character: \12288 ?tc.start(); ^ Main.java:8: ';' expected ?tc.start(); ^ Main.java:8: illegal start of type ?tc.start(); ^ Main.java:14: illegal character: \12288 ?Handler hi = new Handler(Looper.getMainLooper()); ^ Main.java:14: ';' expected ?Handler hi = new Handler(Looper.getMainLooper()); ^ Main.java:14: <identifier> expected ?Handler hi = new Handler(Looper.getMainLooper()); ^ Main.java:15: illegal character: \12288 ?public void run() ^ Main.java:15: ';' expected ?public void run() ^ Main.java:16: illegal character: \12288 ?{ ^ Main.java:17: illegal character: \12288 ??hi.post(new Runnable() { ^ Main.java:17: illegal character: \12288 ??hi.post(new Runnable() { ^ Main.java:17: ';' expected ??hi.post(new Runnable() { ^ Main.java:18: illegal character: \12288 ???public void run () { ^ Main.java:18: illegal character: \12288 ???public void run () { ^ Main.java:18: illegal character: \12288 ???public void run () { ^ Main.java:18: <identifier> expected ???public void run () { ^ Main.java:18: ';' expected ???public void run () { ^ Main.java:18: invalid method declaration; return type required ???public void run () { ^ Main.java:19: illegal character: \12288 ????//???? ^ Main.java:19: illegal character: \12288 ????//???? ^ Main.java:19: illegal character: \12288 ????//???? ^ Main.java:19: illegal character: \12288 ????//???? ^ Main.java:20: illegal character: \12288 ???} ^ Main.java:20: illegal character: \12288 ???} ^ Main.java:20: illegal character: \12288 ???} ^ Main.java:21: illegal character: \12288 ??}); ^ Main.java:21: illegal character: \12288 ??}); ^ Main.java:22: illegal character: \12288 ?} ^ 33 errors
Standard output is empty