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 debugging it Netbeans always open it in GUI mode.
Is there a way to imitate in the Netbeans headless environment or I need to
change the code to debug it?
Thanks.
Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: [email protected]
M: 650-269-7902
[EmailSig-TaglineVersion]