i am trying to write some JavaFX code in Intellij community edition, and i have problem with JavaFX javadocs, see picture below:
It is same with JavaFX project or Maven project. In Netbeans JavaFX javadocs works fine out of the box.
i am trying to write some JavaFX code in Intellij community edition, and i have problem with JavaFX javadocs, see picture below:
It is same with JavaFX project or Maven project. In Netbeans JavaFX javadocs works fine out of the box.
Through the following few steps, you can easily solve this problem without downloading Javadoc
First : Go to "openjfx.io" to download the Java FX applicable to your device(Just download the SDK)
Second : Find the file you just downloaded in your device (should be a zip file), unzip it, Open the decompressed file, you will find a javafx-sdk-19 folder (depending on the version you downloaded, there will be a different number at the end), I usually rename the folder to Java FX (Although I named it JFX ), Then you can move this folder to whatever file path you want it to be in, Be sure to remember the new path to the folder
Second : Open IntelliJ, Find Project Structure as shown in the figure below, and click it
Fifth : Click Global Libraries, then click "+"
Sixth : Select Java, and select the "lib" folder in the folder where Java FX is located, then click "OK", continue to click "OK"
Seventh : Click add and select "src.zip" under the Java FX folder, click "OK", continue to click "OK"
Eighth : Click on "Modules", then select "Dependencies", then click "+", then click "Library...", "Choose lib" under "Global Libraries", Click “Add Selected”, Click "Apply", then click "OK"
Complete the above steps to use the Javadoc of Java FX