• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java FX and Dynamically Created Screens.  RSS feed

David Garratt
Ranch Hand
Posts: 216
Eclipse IDE Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will soon be faced with giving a "make over" to a Java Swing application which is very much a "utility" type application in as much that is has always emphasised function over form. In summary the program is responsible for controlling a number of automatic label applicators and does this by receiving data from external networked scanners / plc's and databases. I can't take credit for it myself, its something I've inherited. The program is completely configured via a very complex xml file and this is where is gets complicated. The same program (.jar) file will result in a completely different gui depending on the number of devices that have been configured. Also some interaction with the user can also be "soft" configured in the xml which means that there are no fixed forms for user input. Basically everything changes.

From the numerous videos I've seen on YouTube most of the design tools for Java FX seem to assume that you have a fixed (ish) layout in mind. What I would want to know is, can I create a layouts on the fly and bind fields to event handlers / databases based on conditions which are only known at runtime.

Many thanks in advance,

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!