473,413 Members | 1,802 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

find color for end user

19
Hi! I defined this background color for a JTable and it works fine:
Color Pigment;
Pigment = new Color (242, 232, 232);
It's gray as I tested it in here :
http://www.shodor.org/stella2java/rgbint.html
and as can be seen for the proporcions of red, green and blue. And looks gray (exactlly the gray I'm looking for) when I run the application in my PC and others.

But when my end user tested it in it's own PC it is brown, how could be that?
I could ask the end-user to enter here
http://www.shodor.org/stella2java/rgbint.html
and find the rgb combination for him to find the gray but what else could I do?
Feb 1 '08 #1
2 1124
JosAH
11,448 Expert 8TB
Hi! I defined this background color for a JTable and it works fine:
Color Pigment;
Pigment = new Color (242, 232, 232);
It's gray as I tested it in here :
http://www.shodor.org/stella2java/rgbint.html
and as can be seen for the proporcions of red, green and blue. And looks gray (exactlly the gray I'm looking for) when I run the application in my PC and others.

But when my end user tested it in it's own PC it is brown, how could be that?
I could ask the end-user to enter here
http://www.shodor.org/stella2java/rgbint.html
and find the rgb combination for him to find the gray but what else could I do?
Either your user is colorblind or he has a broken monitor. Maybe you can make
all colors user configurable?

kind regards,

Jos
Feb 1 '08 #2
BigDaddyLH
1,216 Expert 1GB
His monitor could be out of whack -- monitors do need to be calibrated. Also, what are his monitor color display settings? 32 bit, 16 bit, 256 colors? If you are writing a Swing application, for sh*ts and giggles you could use a JColorChooser to allow a user to choose their own colors on the fly.

ps. Your color (242, 232, 232) looks a little peachy to me. If you want a neutral gray have all three values the same.
Feb 1 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: pigeon | last post by:
I have 2 users that their client software must be going crazy.. they are sending packets every .02 seconds to the db server... I know this because I stuck a sniffer on teh traffic.. but now i just...
1
by: aredo3604gif | last post by:
On Sun, 10 Apr 2005 19:46:32 GMT, aredo3604gif@yahoo.com wrote: >The user can dynamically enter and change the rule connection between >objects. The rule is a "<" and so given two objects: >a <...
10
by: Sacha Korell | last post by:
I'm trying to load a drop-down list with all DropDownList control names from another page. How would I be able to find those DropDownList controls? The FindControl method will only find a...
5
by: Mike Labosh | last post by:
In VB 6, the Form_QueryUnload event had an UnloadMode parameter that let me find out *why* a form is unloading, and then conditionally cancel the event. In VB.NET, the Closing event passes a...
2
by: karinmorena | last post by:
I'm having 4 errors, I'm very new at this and I would appreciate your input. The error I get is: Week5MortgageGUI.java:151:cannot find symbol symbol: method allInterest(double,double,double)...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.