Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes Color to hexa Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Color to hexa" Watch "Color to hexa" New topic
Author

Color to hexa

Frederico Zapelini
Greenhorn

Joined: Jun 02, 2004
Posts: 3
Does anybody knows a method that recives a color and return a hexadecimal representation of this color?
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Brian Pipa
Ranch Hand

Joined: Sep 29, 2003
Posts: 299
I found this in one of my classes. Not sure where I got it:

[ June 08, 2004: Message edited by: Brian Pipa ]

My Java Freeware:<br />MACCC - <a href="http://maccc.pipasoft.com" target="_blank" rel="nofollow">http://maccc.pipasoft.com</a><br />Nator - <a href="http://nator.pipasoft.com" target="_blank" rel="nofollow">http://nator.pipasoft.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Color to hexa
 
Similar Threads
Is Ruby easier to learn than Java, since there appears to be less code to write?
Passed SCBCD 5.0
WA #1.....word association
Problem with Devakas Final Exam Q on Static Thread methods
scea - 1 experiences