0

如何更改黑莓中文本的字体颜色?

4

1 回答 1

3

试试这个 -

LabelField l = new LabelField("hello") {
  protected void paint(Graphics g) {
      g.setColor(0x0511a0a); //here you can add any colors. either color codes (like - 0x0511a0a) or like this- Color.RED
      super.paint(g);
  }
};
于 2012-10-03T11:19:51.357 回答