CLOSE
Share |

JavaFX 2.0: Full Screen scene

To make the scene occupy full screen, use the code:Rectangle2D screenBounds = Screen.getPrimary().getVisualBounds();Scene scene = new Scene(root, screenBounds.getWidth(), screenBounds.getHeight());/** To change this template, choose Tools | Templates...

read more
Close