title: JavaFX Dialog and Alert appear behind main stage in RedHat
body: <p>I am making use of JavaFX's built in Alert and Dialog classes which work great in Windows and when running from Eclipse within Windows, but appear behind the parent window when running on my target hardware which is running RedHat 6. I have tried tweaking various things including:</p>
  
  <ul>
  <li><p><code>primaryStage.initStyle(StageStyle.UNDECORATED);</code></p></li>
  <li><p><code>primaryStage.setFullScreen(true);</code></p></li>
  <li><p><code>alert.initOwner(primaryStage)</code> and <code>alert.initOwner(primaryStage.getOwner())</code></p></li>
  <li><p><code>alert.initModality(Modality.WINDOW_MODAL)</code> and <code>alert.initModality(Modality.APPLICATION_MODAL)</code></p></li>
  <li><p><code>alert.initStyle(StageStyle.***)</code> with *** being all possible styles.</p></li>
  </ul>
  
  <p>The only way I have been able to get the alerts and dialogs to remain on top is by calling <code>alert.initStyle(StageStyle.UTILITY)</code> however this creates a window with a cross button which I do not want. Ideally I would prefer a bordered window without additional buttons, or an undecorated window which I should then be able to style to achieve the bordered look. </p>
  
  <p>I have read of similar issues in which using Windows doesn't work but Ubuntu does. I haven't been able to find any open issues or solutions in this case.</p>
  
  <p>I am using Java 8 Update 77.</p>