I have designed a simple gui in netbeans on windows but when i try to run it,nothing is showing.My main class is called ModelApp.java and the gui part i designed in netbeans is called app.java. When i try running the jar on command prompt,i get the error
Error: Could not find or load main class ModelApp
Your
ModelAppclass is probably not in the folder written in the manifest file or something like that.See JAR Basics