或者先呼叫無參數之建構子,再呼叫setText(String text) 方法設定顯示文字: JLabel label=new JLabel(); label.setText("標籤");
確定! 回上一頁