projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2004/01/19 05:51:38
[org.ibex.core.git]
/
src
/
org
/
xwt
/
Main.java
diff --git
a/src/org/xwt/Main.java
b/src/org/xwt/Main.java
index
5c25df5
..
533e763
100644
(file)
--- a/
src/org/xwt/Main.java
+++ b/
src/org/xwt/Main.java
@@
-5,14
+5,18
@@
import java.net.*;
import java.util.*;
import java.io.*;
import java.awt.*;
import java.util.*;
import java.io.*;
import java.awt.*;
-import org.bouncycastle.util.encoders.Base64;
import org.xwt.js.*;
import org.xwt.util.*;
import org.xwt.translators.*;
import org.xwt.js.*;
import org.xwt.util.*;
import org.xwt.translators.*;
+import org.xwt.plat.*;
+import org.bouncycastle.util.encoders.Base64;
/** Entry point for the XWT Engine; handles splash screen, initial xwar loading, and argument processing */
public class Main {
/** Entry point for the XWT Engine; handles splash screen, initial xwar loading, and argument processing */
public class Main {
+ // to prevent GCJ from dropping these classes
+ private static final Class[] keep = new Class[] { GCJ.class, Linux.class, Solaris.class, Darwin.class, Win32.class };
+
/**
* FEATURE: this should be implemented using self-emulation
* Used for security checks. If this is null, it means that only
/**
* FEATURE: this should be implemented using self-emulation
* Used for security checks. If this is null, it means that only
@@
-83,7
+87,7
@@
public class Main {
scarImage =
Picture.load((Stream)Main.builtin.get("org/xwt/builtin/scar.png"),
new Scheduler.Task() { public void perform() throws Exception {
scarImage =
Picture.load((Stream)Main.builtin.get("org/xwt/builtin/scar.png"),
new Scheduler.Task() { public void perform() throws Exception {
- new Template(Stream.getInputStream(xwt.resolveStringToResource(startupTemplate, false)), xwt).apply(new Box());
+ xwt.resolveString(startupTemplate, false).call(new Box(), null, null, null, 1);
} });
Scheduler.init();
} });
Scheduler.init();