Why Javafx UI hangs or become unresponsive on using Plarform.runLater() ?

Navdeep Singh Sidhu navdeepsingh.sidhu95 at gmail.com
Sun Oct 19 15:58:06 UTC 2014


I know this mailing list is for OpenJFX developers and to discuss
development related issues. I don't know it is OK to post my query here or
not. But i assume if you people are developing the OpenJFX, so there will
be no other person better than you or have more knowledge related OpenJFX
than you guys :) .

My query is that i'm trying to develop an IDE for parallel computing
integrated with framework and output from all nodes has to be represented
in TextArea. I am using multiple threads to collect Output from all the
nodes and appending that output on TextArea using Platform.runLater(), i am
even using flags to reduce the flood on UI thread, that output will be
appended if the output is larger than 50000 lines then after each 50000
lines to TextArea else it will be appended as it is. Even submitting one
task in the system, UI hangs when trying to print millions of line output
on TextArea and i couldn't test it with multiple tasks. Can you suggest me
something to prevent UI thread from becoming unresponsive. I know i'm not
good programmer as you guys but i'm trying to learn JFX and new to this.

BTW thank you guys for such a beautiful interface in JAVA. :)

Navdeep Singh Sidhu

More information about the openjfx-dev mailing list