Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows Palette of Colors............

0 views
Skip to first unread message

johnblayze

unread,
Dec 11, 2006, 3:53:23 PM12/11/06
to
Hi,
I am writing a desktop program in Java that manipulates a PGM
image file. I would like to know how do I access the windows palette of
colors from Java...help anyone?????????

cr88192

unread,
Dec 11, 2006, 4:20:22 PM12/11/06
to


well, the system palette only really exists in 256 color mode afaik
(15, 16, 24, and 32 bit modes don't use palettes), and depends on what
you are running. usually, afaik, windows apps don't really access this
palette anyways (and it is irrelevant outside of 256 color mode
anyways).

there is another, more or less constant palette, which can be found
somewhere, but I am not sure where exactly right now.

note also that Java is designed specifically to avoid OS, and
especially video mode, dependencies, which are implied by this kind of
thing.


so one question here is, why do you need it?

carmen miranda

unread,
Dec 12, 2006, 10:24:36 PM12/12/06
to
Using the Internet Explorer you can go to some place where the choice colors
is made.. Tools/Internet Options/Colors there you can choose Windows Colors
off, or on. You video card can be sdjusted using the icon. to put the icon
on the speed bar at the bottom right, open the display preferences, choose
the icon check box. set it for 1.78 E 45 colors ... its good toll your
brain cant go no further , then it sitches to 366 E 0 colors.. and if you
change the picture to large, you can fit more colors.. a lot more they are
small really,
"johnblayze" <johnb...@gmail.com> wrote in message
news:1165870403.1...@73g2000cwn.googlegroups.com...
0 new messages