Solved

color in java ! easy question

Posted on 2002-07-21
4
207 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
tomcat startup error 5 63
hibernate example issues from command prompt 10 41
maven module vs maven project 3 23
Running JavaFX on JDeveloper 12C 1 32
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

773 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