i ve been trying to display a stage for a certain condition inside a while loop. once the stage is appearing after that it is not goin into platform.runLater.
pls help me...
while(true)
{
// some code
if(condition) // more the once this condition becomes true.
{
System.out.print("reached here");
platform.runLater(new Runnable(){ // once displaying , second time it reaches till the print statement then nothing
// display stage
});
}// end if
}// end while