| | | | Browse by category |
Article ID: 2209
Last updated: 29 May, 2018
Question
Why does my IlvReliefLabel appear completely black?
Answer
This is an unfortunate consequence of the default colors used when you create a new relief label. In fact, the edges and text are actually there, but everything is black.
You can fix this by changing the background color of the relief label:
IlvReliefLabel reliefLbl = new IlvReliefLabel(rect, "Test");
reliefLbl.setBackground(new Color(176, 196, 222));
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 2209
Last updated: 29 May, 2018
Revision: 3
Views: 638
Posted: 22 Apr, 2010 by
Dean J.
Updated: 29 May, 2018 by
Gargani A.
Also listed in
Others in this category
Powered by KBPublisher (Knowledge base software)