Not Abstract Class

import com.jme3.export.JmeExporter;
import com.jme3.export.JmeImporter;
import com.jme3.export.OutputCapsule;
import com.jme3.renderer.RenderManager;
import com.jme3.renderer.ViewPort;
import com.jme3.scene.Spatial;
import com.jme3.scene.control.AbstractControl;
import com.jme3.scene.control.Control;
import java.io.IOException;
import de.lessvoid.nifty.elements.render.ImageRenderer;
import de.lessvoid.nifty.controls.Label;
import de.lessvoid.nifty.screen.Screen;
import de.lessvoid.nifty.Nifty;

public class LoadingScreenController extends Controller {
  
   public void onStartScreen(Screen screen, Nifty nifty, String loadingText, String loadingScreen) {
        screen.findNiftyControl("caption", Label.class).setText(loadingText);
        screen.findElementByName("centralPanel").getRenderer(ImageRenderer.class)
                .setImage(nifty.createImage(loadingScreen, true));
        screen.findElementByName("loadingPanel").setVisible(true);
    }
    
}

java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Uncompilable source code - mygame.LoadingScreenController is not abstract and does not override abstract method simpleInitApp() in com.jme3.app.SimpleApplication
at mygame.LoadingScreenController.(LoadingScreenController.java:23)
Exception in thread “main” C:\Users\Mack\AppData\Roaming.jmonkeyplatform\v3.2.0-prealpha-sdk1\var\cache\executor-snippets\run.xml:53: Java returned: 1

Why is it doing this? I don’t have a main class to this yet. But I would also like a tutorial on making a main class for all these classes.

Go into your project settings and turn off compile on save. You will never see this error again for the projects you do this for.

Netbeans has a really crappy incremental compiler that generates code with these errors. If you turn off compile on save then your builds will take a little longer (because it’s using ANT and javac) but you will not have these errors anymore.

Already did but I will check again

Make sure you do a clean build after turning off compile on save.

That is not a Java error. A class compiled with the standard javac will never ever ever (ever) throw an exception like that. Ever.