Create an object of the JLabel class and pass any text (within quotes) in its constructor. Example- JLabel label=new JLabel(“myLabel”) ; · We can also use a ...
確定! 回上一頁