Package totalcross
Class TotalCrossApplication
- java.lang.Object
-
- totalcross.TotalCrossApplication
-
public class TotalCrossApplication extends java.lang.ObjectThis class represents a runnable Totalcross Java Application. It supports the same arguments supported byLauncher. 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"); } }
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrun(java.lang.Class<? extends MainWindow> clazz, java.lang.String... args)Runs a TotalCross application on Java using the totalcross.Launcher, it receives classes that extendsMainWindowand theLauncherarguments.
-
-
-
Method Detail
-
run
public 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 extendsMainWindowand theLauncherarguments.- Parameters:
clazz- the class that extends MainWindowargs- Launcher arguments- See Also:
MainWindow,Launcher
-
-