Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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: 55
  • 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: 55
  • 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.
 
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic