I have a project with default jdk7 platform, non-including JavaFX.
Now I need to use some classes from javafx.scene.media package, so I've defined a new java platform including JavaFX. Then I go to Project properties > Libraries and edit the platform to the new one. But then, I can, cleand and build, rebuild or whatever, but it doesn't matter. Tried restarting Netbeans but it doesn't work anyway (required packages keep not being found).
However, if I create a new project with my platform, everything goes fine and the packages are found. My question: what more do I need to do to perform the platform change? (please don't ask me to build a brand new project with my platform from the beginning, it's a huge project so I'm trying to avoid that).