Tino APCS

Misc Methods

Find user's screen resolution

Screen.getPrimary().getVisualBounds().getWidth()
Screen.getPrimary().getVisualBounds().getHeight()

Center a window

stage.centerOnScreen()

Shrinkwrap a window to the size of its contents

stage.sizeToScene();

Dark Mode

Outline