JavaFX

From BC$ MobileTV Wiki
Revision as of 16:26, 4 August 2022 by Bcmoney (Talk | contribs)

Jump to: navigation, search
Java (cup of java) logo
JavaFX logo

JavaFX was originally touted as Sun's Java-based answer to Adobe's Flash and Microsoft's Silverlight technologies, which make Rich Internet Applications much easier to build, with the end result being a highly interactive web-based (or hybrid) application. It was labeled by some a long overdue re-imagining of the Applet, however it received much criticism for its non-standard scripting language (which prompted SUN to move back to a more standard Java API code in combination with the additional annotations and scripting markup features JavaFX provided).

Since Oracle's acquisition of Sun and the OpenJDK Java platform with it, they have discontinued development of the Swing desktop GUI APIs, and instead focused all visual GUI development on JavaFX, re-branding it as a solution not just for the Web, but also Desktop, Mobile and TV platforms.


Controls



EXAMPLES

Introduction to JavaFX for Game Development: https://gamedevelopment.tutsplus.com/tutorials/introduction-to-javafx-for-game-development--cms-23835


Tools

SceneBuilder

[5] [6]


Resources

[10] [11] [12]


ControlsFX

TilesFX



Tutorials

[16] [17] [18] [19] [20]

[27] [28] [29] [30] [31] [32] [33] [34]

[35] [36] [37] [38] [39] [40]

[41] [42]

[45] [46] [47]

[50] [51] [52] [53] [54] [55]

[56] [57]

[58] [59] [60] [61] [62] [63] [64] [65] [66] [67]

[68] [69] [70] [71]

[72] [73]


External Links

My three big takeaways from rewriting Java Swing code in JavaFX: http://blog.idrsolutions.com/2013/10/my-three-big-takeaways-from-rewriting-java-swing-code-in-javafx/

[74]


References

  1. FXML + DisplayShelf Example: https://community.oracle.com/thread/2513115
  2. A New JavaFX App Framework for Kotlin — TornadoFX: https://dzone.com/articles/a-new-javafx-app-framework-for-kotlin-tornadofx
  3. JavaFX with Kotlin -- Writing JavaFX applications with Kotlin: http://andresalmiray.com/writing-javafx-applications-with-kotlin/
  4. JavaFX / Kotlin Game Library (Engine): https://www.kotlinresources.com/library/fxgl/
  5. JavaFX 2 Tutorial - Part 1: Scene Builder: https://web.archive.org/web/20140402082204/http://code.makery.ch/java/javafx-2-tutorial-part1
  6. JavaFX -- Modern UI Design starter pack (Video tutorials): https://medium.com/@keeptoo/javafx-java-modern-ui-design-starter-pack-aab1c331fd3c
  7. It is not possible to place .appex files beforehand in a particular folder so that they can be placed automatically in Plugins folder of app during the build process(OSX): http://github.com/javafx-maven-plugin/javafx-maven-plugin/issues/235
  8. Leap Motion Controller and JavaFX -- A new touch-less approach: http://jperedadnr.blogspot.com/2013/06/leap-motion-controller-and-javafx-new.html
  9. Java Look and Feel Design Guidelines: Menus: http://www.informit.com/articles/article.aspx?p=26686
  10. How can I create a “modern looking” Java desktop application?: https://stackoverflow.com/questions/10134516/how-can-i-create-a-modern-looking-java-desktop-application
  11. Oracle -- JavaFX samples - Ensemble gallery: https://www.oracle.com/technetwork/java/javase/overview/javafx-samples-2158687.html
  12. JavaFX game demos: http://www.mscs.mu.edu/~mikes/cosc3550/demos/
  13. ControlsFX-Features: https://github.com/controlsfx/controlsfx/wiki/ControlsFX-Features
  14. Getting Started with JavaFX (initial Sun Microsystems' article): http://web.archive.org/web/20120229002047/http://docs.oracle.com/javafx/2.0/get_started/jfxpub-get_started.htm
  15. Getting Started with FXML (initial Sun Microsystems' article): http://web.archive.org/web/20111110153049/http://download.oracle.com/javafx/2.0/fxml_get_started/jfxpub-fxml_get_started.htm
  16. JavaFX Tutorials: http://www.javafxtutorials.com/
  17. Jenkov -- JavaFX Tutorial: http://tutorials.jenkov.com/javafx/
  18. ZetCode -- JavaFX tutorial: http://zetcode.com/gui/javafx/
  19. How to build a simple JavaFX GUI Application (with example JavaFX code): http://www.thoughtco.com/how-to-build-a-simple-gui-application-javafx-code-2034067
  20. Creating a registration form in JavaFX: http://www.callicoder.com/javafx-registration-form-gui-tutorial/
  21. Difference between deploying a JavaFX Applet and a Java Applet: https://coderanch.com/t/464974/java/Difference-deploying-JavaFX-Applet-Java
  22. JavaFX Hello World: https://www.jetbrains.com/help/idea/2016.1/developing-a-javafx-hello-world-application-coding-examples.html
  23. Creating and Texturing JavaFX 3D Shapes: http://jperedadnr.blogspot.ca/2015/01/creating-and-texturing-javafx-3d-shapes.html
  24. JavaFX ListView: http://tutorials.jenkov.com/javafx/listview.html
  25. JavaFX ListView Tutorial https://o7planning.org/en/11063/javafx-listview-tutorial
  26. Using JavaFX UI Controls -- List View: https://docs.oracle.com/javafx/2/ui_controls/list-view.htm
  27. JavaFX multiple buttons to same handler: https://stackoverflow.com/questions/25409044/javafx-multiple-buttons-to-same-handler
  28. ToggleButtons in JavaFX with generic listeners: https://stackoverflow.com/questions/42551029/togglebuttons-in-javafx-with-generic-listeners
  29. Dynamically loading tabs designed with Scene Builder: https://stackoverflow.com/questions/27784364/dynamically-loading-tabs-designed-with-scene-builder
  30. How to get the controller of an included FXML layout: https://stackoverflow.com/questions/40632903/how-to-get-the-controller-of-an-included-fxml-layout
  31. How to change the image of Imageview on MouseClick: https://stackoverflow.com/questions/30318047/how-to-change-the-image-of-imageview-on-mouseclick
  32. JavaFX CSS: How to set tabpane tabs - width, height: https://stackoverflow.com/questions/37648017/javafx-css-how-to-set-tabpane-tabs-width-height?rq=1
  33. Why when I create a tab with scenebuilder it says not a node?: https://stackoverflow.com/questions/39119043/why-when-i-create-a-tab-with-scenebuilder-it-says-not-a-node
  34. JavaFX -- Section 10 - 10 Scroll Pane: https://docs.oracle.com/javafx/2/ui_controls/scrollpane.htm
  35. Updating UI from different threads in JavaFX: https://stackoverflow.com/questions/22772379/updating-ui-from-different-threads-in-javafx
  36. Multithreading in JavaFX hangs the UI: https://stackoverflow.com/questions/14674274/multithreading-in-javafx-hangs-the-ui
  37. JavaFX -- Updating UI elements in a Controller class from a Thread: https://stackoverflow.com/questions/17873597/javafx-updating-ui-elements-in-a-controller-class-from-a-thread
  38. Creating JavaFX user interfaces using FXML: https://www.callicoder.com/javafx-fxml-form-gui-tutorial/
  39. How to connect FX controller with main app: https://stackoverflow.com/questions/33881046/how-to-connect-fx-controller-with-main-app
  40. Experiments With JavaFX Script: https://objectcomputing.com/resources/publications/sett/december-2008-experiments-with-javafx-script (NOTE: "JavaFX Script" only works in JavaFX 1.0 or in compatibility mode when using higher versions... as of JavaFX 2.0 just use CSS for styling & JavaScript for any additional scripting needs beyond typical Java programmatic UI and/or ActionEvent handler code)
  41. Drag'n'drop in JavaFX: http://dzone.com/articles/dragndrop-javafx
  42. How to implement Drag and Drop Function in a JavaFX Application: http://blog.idrsolutions.com/2015/05/how-to-implement-drag-and-drop-function-in-a-javafx-application/
  43. How do I make a circle move on events?: https://stackoverflow.com/questions/14399690/how-do-i-make-a-circle-move-on-events
  44. How to call JavaFX_Charts from a java GUI: https://coderanch.com/t/639202/java/call-JavaFX-Charts-java-GUI (example dynamic Oil Drilling/Monitoring app)
  45. How to make window fullscreen/maximized in Scene Builder?: https://stackoverflow.com/questions/31426912/how-to-make-window-fullscreen-maximized-in-scene-builder
  46. Loading an Image from a Relative Path: http://coderanch.com/t/647329/java/Loading-Image-Relative-Path
  47. Loading relative images within an Applet: https://books.google.ca/books?id=3rWTX-vjUhEC&lpg=PA614&dq=relative%20paths%20in%20Applets%20and%20Swing&pg=PA607#v=onepage&q=relative%20paths%20in%20Applets%20and%20Swing&f=false
  48. Getting Started With JavaFX TV: https://web.archive.org/web/20100928105612/http://download.oracle.com/javafx/1.3/gettingstarted/tv-sdk/index.html
  49. JavaFX video not playing: https://stackoverflow.com/questions/20597998/javafx-video-not-playing
  50. Getting selected item from a JavaFX TableView: https://stackoverflow.com/questions/17388866/getting-selected-item-from-a-javafx-tableview
  51. Get selected item from ComboBox into tableview JavaFX: https://coderanch.com/t/700932/java/selected-item-combobox-tableview-javafx
  52. Set and get value for ComboBox: http://www.java2s.com/Code/Java/JavaFX/SetandgetvalueforComboBox.htm
  53. Say no to Electron! Using JavaFX to write a fast, responsive desktop application: https://sites.google.com/a/athaydes.com/renato-athaydes/posts/saynotoelectronusingjavafxtowriteafastresponsivedesktopapplication
  54. Loading new FXML in the same scene: https://stackoverflow.com/questions/18619394/loading-new-fxml-in-the-same-scene
  55. Creating JavaFX user interfaces using FXML: https://www.callicoder.com/javafx-fxml-form-gui-tutorial/
  56. this.getClass().getClassLoader().getResource(“…”) and NullPointerException: https://stackoverflow.com/questions/3803326/this-getclass-getclassloader-getresource-and-nullpointerexception/7098501#7098501
  57. How to convert a normal java project in intellij into a JavaFx project: https://stackoverflow.com/questions/23421325/how-to-convert-a-normal-java-project-in-intellij-into-a-javafx-project
  58. CSS Error parsing ( Expected LBRACE at [1,9] ): https://stackoverflow.com/questions/53664920/css-error-parsing-expected-lbrace-at-1-9
  59. JavaFX -- Working with JavaFX UI Components - 40 Applying Effects to Text: https://docs.oracle.com/javase/8/javafx/user-interface-tutorial/text-effects.htm
  60. How to change the color of text in JavaFX TextField?: https://stackoverflow.com/questions/24702542/how-to-change-the-color-of-text-in-javafx-textfield
  61. JavaFX Scene Builder -- pointer cursor onMouseOver: https://stackoverflow.com/questions/18086305/javafx-scene-builder-pointer-cursor-onmouseover
  62. Tutorial -- How To Change The Cursor in JavaFX: https://blog.idrsolutions.com/2014/05/tutorial-change-default-cursor-javafx/
  63. How to remove Java FX Accordion default borders?: https://stackoverflow.com/questions/55082676/how-to-remove-java-fx-accordion-default-borders
  64. JavaFX primaryStage remove windows borders?: https://stackoverflow.com/questions/9861178/javafx-primarystage-remove-windows-borders
  65. Add image to a button at a specific position JavaFX: https://stackoverflow.com/questions/12678197/add-image-to-a-button-at-a-specific-position-javafx
  66. How to position a button in HBOX in JavaFX: https://stackoverflow.com/questions/27648860/how-to-position-a-button-in-hbox-javafx
  67. JavaFX property adapter for TableView: https://stackoverflow.com/questions/31370842/javafx-property-adapter-for-tableview
  68. Best practice to decorate an ObservableList and retain change events: https://stackoverflow.com/questions/31230312/best-practice-to-decorate-an-observablelist-and-retain-change-events/31277978#31277978
  69. JavaFX property adapter for TableView: https://stackoverflow.com/questions/31370842/javafx-property-adapter-for-tableview
  70. JavaFX, Casting ArrayList to ObservableList: https://stackoverflow.com/questions/22191954/javafx-casting-arraylist-to-observablelist
  71. Using ListProperty in JavaFX: https://stackoverflow.com/questions/15457814/using-listproperty-in-javafx
  72. Calling back to Java code from JavaFX: http://jfx.fandom.com/wiki/Calling_back_to_Java_code_from_JavaFX
  73. How to call javafx from a normal java class: https://stackoverflow.com/questions/49117496/how-to-call-javafx-from-a-normal-java-class
  74. Why “Error: Could not find or load main class addstudent.AddStudent” is showing: https://stackoverflow.com/questions/21793628/why-error-could-not-find-or-load-main-class-addstudent-addstudent-is-showing

See Also

JAVA | JavaScript | Flash | Flex | JakartaEE | DBMS | Desktop | Maven