This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JavaFX and the fly likes Structure a task in single thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Structure a task in single thread" Watch "Structure a task in single thread" New topic

Structure a task in single thread

peter hammond
Ranch Hand

Joined: Apr 20, 2011
Posts: 41
Hi Guys

I am now working on a JavaFX UI and it is starting to get bigger and bigger when the users want more items added and i am now struggling to keep on top of it...

the user will have 2 scene's to interact with they are fxml's with there individual controller and 1 of the controllers is the main controller that holds the massive thread method.....

each method goes off and does its own little task and returns so the next one can do its thing...

is this right?? or should i have a separate task for each method and in the succeeded point to the next task??

and pointers will be great many thanks...

I agree. Here's the link:
subject: Structure a task in single thread
Similar Threads
Combo Box Problem
JavaFX, Scene Builder, and basic issues with threads/tasks
Multithreding issue in AsyncTask
Threads, and the UI question.
Thread and UI (Application) "communication"