My (java 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 restarting when I touch the keybaord in the morning.
How can I prevent this, I do not have the same problem running the application on a Windows 8 machine.
Select your app in the Finder and "Get Info" and then check "Disable App Nap"…
See the Apple Developer notes for Mavericks for more info
Related
I built this Swing app to help my girlfriend get a particular job done faster. On my dual monitor windows system, the app and the Operating System freeze when moving the app to the extreme right hand side of the second monitor. Windows recovers, but the app does not. Has anyone experienced this sort of issue and know how to solve it? Below is the github link to the source code.
I tried to also provide a screenshot of the frozen app and the OS but it is difficult to take one when the OS freezes.
The app works fine on her Mac.
https://github.com/johndeverall/BehaviourCoder
I run about multiple desktops at all times and if I stay on the desktop that My App is running on everything seems fine. If I move away from the desktop with my app on and work on a different desktop this is where my app will stop downloading once it has finished its current process, it will switch to the next process but will not start next downloading.
I identified that that it might be virtual desktop related. If I switch all desktops for a second then operation works fine.
I was working on 10.8 OS X where my app (built in java) was working absolutely fine.
but as I upgraded it to 10.9, I am facing problem like above.
Is that have any solution or It is a bug of 10.9 OS X.
I have a really annoying problem which I'm pretty sure is due to the hybrid graphics on my laptop in some way....
I have a dell 15r laptop with hybrid nvidia/intel graphics.
If I have an external monitor plugged into my HDMI port when I run anything from libGDX I just get a blank screen the program is running fine, but nothing appears/displayed. So I can click on my application and it works correctly, however I cannot see anything.
If I run it just on the laptop then plug the monitor in half way through, it carries on running as normal.
If I start running it on the monitor but then unplug the monitor so it reverts to the laptop screen, it displays nothing again.
Using this...
System.out.println(Gdx.graphics.getGL20().glGetString(GL20.GL_VENDOR));
The program reports
NVIDIA Corporation
Fixed it.
Upgraded to latest NVidia drivers and everything seems fine.
We had to write a Java application which runs on a windows 8 tablet (not RT).
I would much rather have written it using C#, but we really didn't have a choice.
Basically, we use launch4j to wrap our installer executable JAR in an EXE which then installs the appropriate application files and creates shortcuts on the desktop and in the start menu programs folder to ensure that the user sees the icons on the metro start screen.
The Problem
When the application starts up, it checks if any updates are available via a server, if they are available they are downloaded.
The issue that we've seen is that if the application is downloading the updates, and then we turn off the screen and leave it off for at least 30 seconds, once we turn the screen back on, the application is frozen and does not progress.
We then have to kill the app and start it again.
Providing the screen is not turned off again, the downloads finish and the application works fine.
Is there a way to either keep the screen on, keep our process running or detect when the screen comes back on and execute some code when that occurs?
Any help would be greatly appreciated.
I am trying to run a Windows app (a window with UI and sounds). I've changed Tomcat service to be opened using the same windows user as the one that logged in to the machine.
When I run this, the app is started, I can even hear it sounds, but no window is visible.
How can I fix this?