Solved

color in java ! easy question

Posted on 2002-07-21
4
188 Views
Last Modified: 2010-03-31
To represent colorin java, the int is treated in four parts. From left to right, the first 4 bits (AKA nibble) corresponds to opacity, the second red, third green, forth blue.

What is AKA nibble please ?

Thanks a lot.

Aja
0
Comment
Question by:aja101498
4 Comments
 
LVL 92

Accepted Solution

by:
objects earned 100 total points
ID: 7168432
Aja,

AKA = Also Known As
nibble = 4 bits
0
 
LVL 16

Expert Comment

by:imladris
ID: 7169582
Although actually, Java internally manages colour with an int, so there is a full byte for each of the 4 parts. An int, in Java, is a 4 byte quantity.
0
 
LVL 35

Expert Comment

by:girionis
ID: 8951603
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to objects

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Convert ArrayList of custom objects to JSON 4 53
scoresSpecial  challenge 13 42
java set up 1 48
maven project error 5 24
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now