removing classes.jar

This commit is contained in:
Artur Ventura 2011-11-17 00:35:14 +00:00
parent a16ceea3f2
commit 8fdec07bdb
5 changed files with 16 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,10 @@
import bicavm.browser.Window;
public class foo{ public class foo{
public static void main(String[] args){ public static void main(String[] args){
String hello = "hello"; String hello = "bicavm";
String world = "world"; String world = "changed this title";
String together = hello + world; Window.setTitle(hello + world);
} }
} }

View File

@ -30,5 +30,8 @@
}, },
'java.lang.Double' : { 'java.lang.Double' : {
'method doubleToRawLongBits(D)J' : java_lang_Double_doubleToRawLongBits 'method doubleToRawLongBits(D)J' : java_lang_Double_doubleToRawLongBits
},
'bicavm.browser.Window' : {
'method setTitle(Ljava/lang/String;)V' : bicavm_browser_Window_setTitle
} }
} }

View File

@ -50,3 +50,8 @@ function java_lang_Float_floatToRawIntBits(f){
var y = new Int32Array(x,0); var y = new Int32Array(x,0);
return new math.Long(y[0],y[1]); return new math.Long(y[0],y[1]);
} }
function bicavm_browser_Window_setLocation(s){
window.document.title = javaString2JS(s);
}