Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to generate random color?

843836Nov 17 2004 — edited Nov 18 2004
i want to generate a random color array which is used to draw graph.
The color array I want to use is as follows:
String[] color={ "255,0,0","0,204,0","255,0,0","0,204,0", "255,0,0","0,204,0","255,0,0","0,204,0","255,0,0","0,204,0"};
Is there any function available in JSP?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2004
Added on Nov 17 2004
2 comments
183 views