Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement a graphical demo launcher in SWT #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chirontt
Copy link
Contributor

A graphical SWT application showing the demo classes in a tree structure, and to launch the demos in separate processes.

To build:

mvnw package -Dclass=DemoLauncher

Then run the launcher app:

java -jar target/lwjgl3-demos.jar

Or to launch a specific demo directly, e.g. VoxelGameGL:

java -jar target/lwjgl3-demos.jar game.VoxelGameGL

(the org.lwjgl.demo. package prefix is automatically prepended to the above demo class.)

Or to launch a specific demo with arguments, e.g. Bump:

java -jar target/lwjgl3-demos.jar bgfx.Bump --gl --intel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant