Swing如何设置字体的颜色 设置字体的颜色其实很简单的 有两种方法 第一: //定义了 一个JLable组件 public static JLabel center_label_login_prompt = new JLabel(""); //在其他类您可