Given the source code of a Java application with a GUI
when I compile it and invoke it from the command line
then I would like it to run the GUI and detach from the console it was invoked on, so I could resume typing there.
How can I modify the source code to achieve this?
An example of this behaviour - though not a Java program - would be ReKonq.
Note: I want to achieve this independent of the OS, i.e. I do not want to change the way I invoke it, but modify my public static von main(String[] args)
method.