Author Topic: Back Ground color  (Read 4039 times)

Offline dan

  • byte
  • *
  • Posts: 2
    • View Profile
Back Ground color
« on: May 27, 2010, 05:08:17 am »
I have a question about background color.

The background of the sample app is blue.

But when i run my app which build from the source code,
the background is black.

Could you tell me what's wrong with it?

thank you!

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Back Ground color
« Reply #1 on: May 27, 2010, 07:14:19 am »
Nothing wrong. The source code just doesn't reflect the latest version of the demo. Look out for the line "fb.clear();". There, you can use "fb.clear(<RGBColor>);" instead to specify the background color. Just look at the JavaDoc of that method for more details. Sorry for causing some confusion.

Offline dan

  • byte
  • *
  • Posts: 2
    • View Profile
Re: Back Ground color
« Reply #2 on: May 28, 2010, 11:22:07 am »
Done.
thank you!!!