This discussion is archived
1 Reply Latest reply: May 7, 2012 10:30 PM by jsmith RSS

Dear Sir, How to use multiple Stage?

935673 Newbie
Currently Being Moderated
I have read article "Application VS Stage VS Scene VS JFrame ", and I got the same problem,
in my application, I need tow windows work concerently. I use one Application, and create tow Stage
It works will so far, BUT ONLY ONE STAGE CAN REPAINT(refresh), the other one just frozen, why?
how to make two windows work concerently?
  • 1. Re: Dear Sir, How to use multiple Stage?
    jsmith Guru
    Currently Being Moderated
    There is also an example with source code in the ensemble sample app: http://download.oracle.com/otndocs/products/javafx/2.1/samples/Ensemble/index.html#SAMPLES/Scenegraph/Stage/Stage
    Here is another example: https://gist.github.com/1926196 PopupExample
    And a more complicated one: https://gist.github.com/1441960 LayoutBounds sample

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points