What is the difference between unsing JAVA FX and SWING -


this question has answer here:

i using java swing develop application , should finish possible, design bad. found advice tells me should use java fx. difference between java fx , java swing ? there change on line of code?

main difference release date... javafx more recent , can considered successor of swing.

there many useful features added in javafx. see here key features : https://docs.oracle.com/javase/8/javafx/get-started-tutorial/jfx-overview.htm#a1131418

i can list main features me:

  • styles can set css (something similar to)
  • bindings: easy way bind ui-value, width of text of input, field in class. changing value of field updates ui without boilerplate
  • animations/transitions: easy way make animation, ui components blinks or moves
  • 3d: easy way manipulate model make animated 3d view

for making new application scratch, think should consider using javafx, swing outdated (imho)


Comments

Popular posts from this blog

Unlimited choices in BASH case statement -

Redirect to a HTTPS version using .htaccess -

javascript - jQuery: Add class depending on URL in the best way -