I make Java programs, many of which require input from the command line before they actually open a window. When I'm using the Terminal in fullscreen mode and I run java Program, it jumps over to an open desktop and then does nothing, causing me to have to switch back to the Terminal to do the stuff it's asking and then switch over. I know it's a really simple fix of not using fullscreen but is there any way to let the focus stay on the command line until the program is ready to open the window?
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
|
||||
|
|
I'd recommend not allocating any GUI elements until after the command line input is finished. If you run your app from a non-fullscreen Terminal, you'll probably notice that the app launches in the Dock (even if no windows appear) before you finish entering your command line stuff. This is probably what's causing the Space-switch. |
|||||||||||
|
|
@CajunLuke is right, Apple's Java Virtual Machine prepares the desktop to display a peer component, even before |
|||
|
|