Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Structure a task in single thread

 
peter hammond
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic