Just a heads up, if you're still using Java 1.6 (I do for technical reasons not related to Codename One), it's still possible to get the new enhanced browser and media support. Windows users can simply
download JavaFX from Oracle. Linux and Mac users will need to have the JRE 1.7 r6 or newer installed (Oracle only offers JavaFX standalone for windows - boo...).
In Eclipse right click the
Simulator_*.launch file from the root of your project, select
Run As,
Run Configurations, click the
Classpath tab, click the
User Entries section, then click the
Add External JARs button. Navigate to the JavaFX runtime (if in Windows) or the Java 1.7 jre/lib directory, and select the
jfxrt.jar file.
In Netbeansright click your project, click
Properties,
Libraries, then select the
Run tab, then click the
Add JAR/Folder button. Navigate to the JavaFX runtime (if in Windows) or the Java 1.7 jre/lib directory, and select the
jfxrt.jar file.
NOTE: The code within the jfxrt.jar file will be looking for native libraries specific to your platform relative to the location of the jar, so moving the jfxrt.jar to your project will not work.