Re: app colors muted when run from the IDE

Eirik Bakke <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <D3485B53.54DAF%[email protected]>
Ah, good, then I can see plenty of reasons why the appearance would be different, since I think there are significant differences in the rendering pipeline between Java 6 and 8.

-- Eirik

From: DERIK DEVECCHIO <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Thursday, April 28, 2016 at 11:08 PM
To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: [platform-dev] Re: app colors muted when run from the IDE

Eirik,

You got it right!

This program was written for Java6 and I have Java 6 selected as the “Java Platform” in the libraries tab.
Changing the target JDK in NB to Java 1.8 causes my application to assume the same appearance as when I run it from the GUI.
When NetBeans run the app, it must select the JRE based on the JDK.  But the OS’s GUI always uses the system default (currently 8u73).

—
derik




On Apr 28, 2016, at 6:07 PM, Eirik Bakke <[email protected]<mailto:[email protected]>> wrote:

Huh, there's definitively a difference! Might the two processes be running using different Java versions? Or different command-line flags like -Dsun.java2d.opengl?

(nbusers is a broader list than platform, but I imagine platform developers would't mind hearing about this curious effect--myself included. This is relevant to anyone developing color-sensitive apps.)

-- Eirik

From: DERIK DEVECCHIO <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Thursday, April 28, 2016 at 7:09 PM
To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: [platform-dev] Re: app colors muted when run from the IDE

I did not install any color adjusting application or plugin.

I just released that I started this thread in the wrong forum.  This was intended for [email protected]<mailto:[email protected]>  and not [email protected]<mailto:[email protected]>.
Should I continue with it here?  Cross post it there?  Or hail an admin and ask him to move it for me?
My apologies for the inconvenience.

I have posted a screenshots at the link below.
http://software.celestron.com/test/
One image (10:34am) shows 2 full size windows.
The over image overlays one window on the other to make the distinction more clear.

In both shots I made sure that neither window had the focus.


—
derik


On Apr 28, 2016, at 7:51 AM, Eirik Bakke <[email protected]<mailto:[email protected]>> wrote:

Odd. I don't think NetBeans is doing this--could it be some other color-adjusting app, like flux<https://justgetflux.com/> , that has some per-process setting?

I'd be curious to see a screenshot.

-- Eirik

On 4/27/16, 9:58 PM, "DERIK DEVECCHIO" <[email protected]<mailto:[email protected]>> wrote:

I have noticed that when I run my application from within the NB IDE, either using the debugger or the run button, that colors of the app appear slightly muted when compared to the same program started from the operating system.

What causes this effect? Can it be controlled?

Additional details follow.
I wouldn’t say that one looks better than the other, they just look slightly different.   I could provide a screen shot of the same application running side by side if that would help.

I develop on Mac (OS X), I noticed this first in NB 7 and now in NB8.

I have always believed that this effect was intentional.  Perhaps it is a subtle hint to user that this program was running under the auspices of the IDE.  But it is a fairly subtle hint.   And it occurs to me that the level of this hinting might be adjustable.   But I can find nothing in the IDE options menu.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.