color pallet
- From: "Rob McDonald" <rob.a.mcdonald@xxxxxxxxx>
- Date: 28 Dec 2005 06:56:39 -0800
I'm coding up a routine to dispaly a stacked bar graph using
Graphics2D. Each bar is made by a bunch of rectangles representing
each contributor. The color of each contributor should be different.
I need a way to assign these colors. The number of contributors can
change at runtime. Sequential colors should be well differentiated.
Does anyone have any suggestions for accomplishing this? I'd rather
not make the user specify colors at runtime.
Thanks,
Rob
.
- Follow-Ups:
- Re: color pallet
- From: Roedy Green
- Re: color pallet
- Prev by Date: Re: How to make a JFrame Transparent
- Next by Date: Re: Draggable window only works in MS JVM, and not Sun?
- Previous by thread: Draggable window only works in MS JVM, and not Sun?
- Next by thread: Re: color pallet
- Index(es):