Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在 java netbeans 中更改 jlabel 的颜色
我需要一个代码来更改 jLabel 颜色
像:
JLabel.SetColor(Color.RED);
简单的代码是
jLabel1.setForeground(Color.red);