KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to either display a message in the console or a pop up, so in case a parameter is not specified, I want to know to which should I display Something like: if( !file.exists() ) { if( fromCommandLine()){ System.out.println("File doesn't exists"); }else if ( fromDoubleClickOnJar() ) { JOptionPane.showMessage(null, "File doesn't exists"); } }
Tags (comma-separated)
Save Edits
Cancel