public class TotalCrossApplication
extends java.lang.Object
Launcher
. See the example
bellow:
import totalcross.TotalCrossApplication; import totalcross.sample.main.TCSample; public class TCSampleApplication { public static void main(String[] args) { TotalCrossApplication.run(TCSample.class, "/scr", "360x568"); } }
Modifier and Type | Method and Description |
---|---|
static void |
run(java.lang.Class<? extends MainWindow> clazz,
java.lang.String... args)
Runs a TotalCross application on Java using the totalcross.Launcher, it
receives classes that extends
MainWindow and the
Launcher arguments. |
public static void run(java.lang.Class<? extends MainWindow> clazz, java.lang.String... args)
MainWindow
and the
Launcher
arguments.clazz
- the class that extends MainWindowargs
- Launcher argumentsMainWindow
,
Launcher