默认情况下,labelfield是蓝白色的,如果要自己定义颜色,则需要重写paint。
LabelField l1 = new LabelField("Alert!!!/nYou do NOT get permission to access " +
"this application.This application is protected by FeelGuard now."){
public void paint(Graphics g){
g.setBackgroundColor(Color.RED);
g.clear();
super.paint(g);
}
};
add(l1);
文章评分1次,平均分5.0:★★★★★
