📜  将文本添加到 jlable - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:41.840000             🧑  作者: Mango

代码示例1
JLabel label = new JLabel("Whatever text");
or 
label.setText("Whatever Text");