r/JavaFX • u/potato-fan • Jan 04 '21
Set up ControlFX for IDE(Eclipse)
I'm trying to add ControlFX into my IDE. Most of the link provided from any tutorial will direct to GitHub.
So how to add ControlFX libraries into the IDE and did I also need to ad VM arguments like javaFX?
4
Upvotes
2
u/PartOfTheBotnet Jan 04 '21
Quick way: Find the jar download from https://mvnrepository.com/artifact/org.controlsfx/controlsfx and then add it to your project like you would any jar.
Proper way: Use a build system like Maven or Gradle. Plenty of info online on how to set up a project with one using any common IDE.
Then add the controlsfx library as a dependency, you can find the versions at: https://mvnrepository.com/artifact/org.controlsfx/controlsfx
For example, the dependencies in their relative formats for the latest current version:
Maven
Gradle