Created
April 23, 2018 00:33
-
-
Save daretodave/264d84949c89fde3a6acb2b94f06659e to your computer and use it in GitHub Desktop.
The woDA concept - wosome desktop application toolkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.wosome.sc; | |
import com.wosome.woda.WO; | |
import com.wosome.woda.WOCore; | |
import com.wosome.woda.WOFlag; | |
import java.util.HashMap; | |
public class Core extends WOCore implements WOCore.WOCoreOnLaunch { | |
@Override | |
public void bootstrap(HashMap<WOFlag, String> options) { | |
options.put( | |
WOFlag.WINDOW_TITLE, | |
"Wosome Platform | woDA - Showcase" | |
); | |
options.put(WOFlag.WINDOW_SIZE, "100x200"); | |
options.put( | |
WOFlag.WINDOW_FXML, | |
"sample.fxml" | |
); | |
} | |
public static void main(String[] args) { | |
WO.run(Core.class); | |
} | |
@Override | |
public void onLaunch(WOCore core) { | |
info("launched"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment