This can be done by binding the preferred height and width to the height and width of the primary stage. Here's an MCVE: import javafx.application.
確定! 回上一頁