Re: NetBeans and headless app.

2021-06-16 Thread Gregor Kovač
Hi! Try https://www.oracle.com/technical-resources/articles/javase/headless.html Best regards,     Gregor Greenberg, Gary je 16. 06. 21 ob 21:33 napisal: I am developing a project that can run either locally with GUI or remotely using ssh or PUTTY. In the main() method I have these lines

NetBeans and headless app.

2021-06-16 Thread Greenberg, Gary
I am developing a project that can run either locally with GUI or remotely using ssh or PUTTY. In the main() method I have these lines of code: if (GraphicsEnvironment.isHeadless()) { // run in command line mode } else { // Initiate Swing JForm } When I am de