title: How to detect JavaFX 2.2 runtime availability
body: <p>I am using the javaFX 2.2 with jdk1.6 in a swing environment. I am trying to display a browser on the JPanel and i am successfully able to do this.
  THe only problem i see is when i run my application on any other machine which doesn't have the javaFX2.2 runtime env it gets stuck and doesn't display any error message. 
  How can I make sure that if the javafx runtime env. is available on the machine or not before doing<br>
      new JFXPanel() </p>
  
  <p>because code stuck at the above line.</p>