Set Padding and Spacing. control package of the JavaFX API displays a text ... new JFrame("Label Demo"); JLabel label; label = new JLabel("Center aligned!
確定! 回上一頁