Has anyone managed to run Greenfoot Scenarios in Netbeans?
This used to work by calling the main-Method of greenfoot.export.GreenfootScenarioMain method and passing scenario name, name of world class and path to greenfoot-labels as parameters.
One way was to configure your IDE as documented on https://www.greenfoot.org/doc/running_on_netbeans.
I preferred using a simple starter class to pass the parameters
Both ways worked fine until GF 3.5
Since version 3.6 Greenfoot 3.6 uses JavaFX and the class greenfoot.export.GreenfootScenarioApplication does not have a main-method any more.
Does anyone know a working solution for GF versions 3.6?
/** Start Greenfoot scenario in netbeans */ public class GreenfootStarter{ public static void main(String[] args){ greenfoot.export.GreenfootScenarioMain.main("FooScenario","FooWorld","\\xx\\yy\\foo\\greenfoot-labels"); } }