• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Converting into JavaFX

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone, I need your help to convert my code into JavaFX and I do not know how to change it from swing to JavaFX. It is a task from my teacher, that I just knew about by now. I have no idea how to do it and would like to get some advice on my following code.

That is my main class.



That is my Board class



That is my Sprite Class



That is my Brick Class



That is my Paddle Class



That is my Ball Class

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there!
I am not very sure I know myself how to do this, but you raised my curiosity as well on this topic!
I have done a quick search and landed on this website. Perhaps it could be worth having a look at?
https://docs.oracle.com/javafx/2/overview/jfxpub-overview.htm
 
Darius Boteand
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That being said, if it is referring to what I think it is, you perhaps can simply export your project as a .jar file and run it from your desktop.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic