fullscreen with display mode 8-bit depth

T

Thomeer

Dear,

I created a Swing application whose window is in fullscreen mode. The
display mode is 1024x768 pixels, 8-bit depth (this is set by the
application itself using setDisplayMode, not through control panel in
Windows). The application contains a toolbar, a slide bar, panels etc.

There is something wrong with the color of the buttons' borders, of
the lines composing the slide bar, etc., and with the icons on the
buttons. When I have the application set a display mode of 16-bit or
32-bit depth, those things look normal (e.g. the buttons have a black
border, the icons on the buttons are partially transparent to only
show a part of the icon). When I have the application set 8-bit depth,
the buttons get a green or blue border, the transparent part of the
button icons becomes black, even text is displayed differently (blue
rather than black). When I change to 8-bit depth *before* starting the
application (in control panel->display->settings), everything is
displayed normally.

Apparently, there is some conflict when the application is started
while Windows is in 32-bit mode, and the display mode is changed to
8-bit by the application. Any ideas on how I can prevent the color
changes in the GUI ?

Thanks,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top