Re: Java 7 application halting OSX when left unatteended

2014-01-31 Thread Paul Taylor

On 31/01/2014 11:04, Paul Taylor wrote:

On 31/01/2014 10:58, Hendrik Schreiber wrote:

This smells like App Nap.
See http://krypted.com/mac-os-x/disable-app-nap-in-mavericks/

-hendrik

I'm just testing it with AppNap will report back later, if this doesnt 
fix it I'll dig out by 10.8 machine and see if the problem occurs 
there as well


Paul

Thanks it does indeed to seem to be AppNap. Well it might be a 
combination of  a couple of things Ive realized in my OSX Preferences I 
have Energy Saver/Display Sleep and Computer Sleep set to 15 minutes, so 
I guess that after 15 minutes the Display Sleep will make the screen go 
black even if progress bar updating because no user has touched 
keyboard/mouse but computer sleep doesnt kick in because its detect the 
application is active. But then once Display Sleep is blank that tells 
AppNap it can pause any application and it does.


Clicking on the Properties of the Application and preventing AppNap 
seems to ensure process continues processing even after screen gone black


Is my summary correct ?

Paul


Re: Nimbus color differences between JDK versions

2014-01-31 Thread Robert Krüger
Hi,

my email may have been premature. I just learned that we are mixing
Nimbus and Quaqua (using a modified QuaquaTreeUI in our UI which is
derived from Nimbus) and maybe the color difference comes from a
behavioral change in one of the L&Fs resulting in the color mismatch.
I will report back after some more investigation.

Regards,

Robert

On Thu, Jan 30, 2014 at 2:30 PM, Alexander Scherbatiy
 wrote:
>
>   Hi Robert,
>
>  Could you send a sample that draws a JTree and set necessary icons/colors
> in the Nimbus L&F to investigate the issue?
>
>   Thanks,
>   Alexandr.
>
>
>
> On 1/30/2014 12:52 PM, Robert Krüger wrote:
>>
>> Hi,
>>
>> we are in the process of migrating an application from Apple JDK 6 to
>> OpenJDK 8, which is going pretty well thanks to the progress that's
>> been made in recent months by the Oracle team (thanks for that). Now
>> we discovered that for the time being we will have to deploy with a
>> bundled Oracle JRE 7 (currently testing v. 1.7.0_51). When we started
>> our application with that runtime, we encountered significant problems
>> with UI colors (see attached screen shots comparing a tree in the
>> three mentioned runtimes). Now, the color difference between Apple JDK
>> and Open JDK is not the main problem but the one with Oracle JRE 7
>> certainly is because in Nimbus (which we use with some color
>> modifications), the color changes don't seem to be consistent leading
>> to the effect that you see in the tree example. Before I put lots of
>> "if (jdkVersion == X) modify colors ..." in our code and adjust this
>> by trial and error, is this known and is there a better approach for
>> solving this systematically?
>>
>> Here are the screenshots as links (if they don't make it through as
>> attachments):
>>
>> https://dl.dropboxusercontent.com/u/33388463/colors-jdk6-s.png
>> https://dl.dropboxusercontent.com/u/33388463/colors-jdk7-s.png
>> https://dl.dropboxusercontent.com/u/33388463/colors-jdk8-s.png
>>
>> Thanks,
>>
>> Robert
>
>


Re: Java 7 application halting OSX when left unatteended

2014-01-31 Thread Hendrik Schreiber
This smells like App Nap.
See http://krypted.com/mac-os-x/disable-app-nap-in-mavericks/

-hendrik

On Jan 31, 2014, at 11:54, Petr Pchelko  wrote:

> Hello, Paul.
> 
> Is this issue specific to Mavericks or it is also reproducible on 10.8?
> Could you please provide some test case to reproduce? Or any Swing based 
> application with some background task would work?
> 
> Thank you.
> With best regards. Petr.
> 
> 31 янв. 2014 г., в 2:47 после полудня, Paul Taylor  
> написал(а):
> 
>> My (java 7 based) Gui application processes digital music files, and is 
>> designed so it can be left unattended. I have noticed that if I leave it 
>> running overnight on my OSX Mavericks computer that it stops shortly after I 
>> leave it, only continuing when I touch the keyboard in the morning.
>> 
>> How can I prevent this, I do not have the same problem running the 
>> application on a Windows 8 machine.
>> 
>> paul
> 



Re: Java 7 application halting OSX when left unatteended

2014-01-31 Thread Paul Taylor

On 31/01/2014 10:58, Hendrik Schreiber wrote:

This smells like App Nap.
See http://krypted.com/mac-os-x/disable-app-nap-in-mavericks/

-hendrik

I'm just testing it with AppNap will report back later, if this doesnt 
fix it I'll dig out by 10.8 machine and see if the problem occurs there 
as well


Paul


Re: Java 7 application halting OSX when left unatteended

2014-01-31 Thread Petr Pchelko
Hello, Paul.

Is this issue specific to Mavericks or it is also reproducible on 10.8?
Could you please provide some test case to reproduce? Or any Swing based 
application with some background task would work?

Thank you.
With best regards. Petr.

31 янв. 2014 г., в 2:47 после полудня, Paul Taylor  
написал(а):

> My (java 7 based) Gui application processes digital music files, and is 
> designed so it can be left unattended. I have noticed that if I leave it 
> running overnight on my OSX Mavericks computer that it stops shortly after I 
> leave it, only continuing when I touch the keyboard in the morning.
> 
> How can I prevent this, I do not have the same problem running the 
> application on a Windows 8 machine.
> 
> paul



Java 7 application halting OSX when left unatteended

2014-01-31 Thread Paul Taylor
My (java 7 based) Gui application processes digital music files, and is 
designed so it can be left unattended. I have noticed that if I leave it 
running overnight on my OSX Mavericks computer that it stops shortly 
after I leave it, only continuing when I touch the keyboard in the morning.


How can I prevent this, I do not have the same problem running the 
application on a Windows 8 machine.


paul