Skip to Main Content

Java Programming

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Convert Hexadecimal string to Integer

807580Nov 16 2009 — edited Nov 16 2009
{String s=Integer.toHexString(c.getRGB() & 0x00ffffff);}
This code gives Hexadecimal String value from RGB value.
How to convert this String into Integer format.( including 0-9 and A-F)
eg. String s="0x6a0050"
The Integer format should be same as this i e 0x6a0050.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 14 2009
Added on Nov 16 2009
4 comments
522 views