# Gradle load in Netbeans (javafx) don't load fxml and swing

**URL:** <https://discuss.gradle.org/t/gradle-load-in-netbeans-javafx-dont-load-fxml-and-swing/33425>\
**Category:** Help/Discuss\
**Created:** [October 6, 2019, 10:01am UTC](https://discuss.gradle.org/t/gradle-load-in-netbeans-javafx-dont-load-fxml-and-swing/33425 "2019-10-06T10:01:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jupp](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@Jupp](https://discuss.gradle.org/u/Jupp)\
**Post date:** [October 6, 2019, 10:01am UTC](https://discuss.gradle.org/t/gradle-load-in-netbeans-javafx-dont-load-fxml-and-swing/33425/1 "2019-10-06T10:01:13Z")

</div>

I want use gradle for bilding my project.

I load javafx but the fxml and swing don’t load.  
Did anyone konw the reason ?

**Here is my build.**

plugins {  
id ‘application’  
id ‘org.openjfx.javafxplugin’ version ‘0.0.8’  
}

apply plugin: ‘java’  
apply plugin: ‘jacoco’  
apply plugin: ‘application’

repositories {

```
jcenter()

```

}

configurations {  
jasperreports {  
transitive = true  
}  
}

[//gradle.projectsEvaluated](https://gradle.projectsEvaluated) {  
// processResources.dependsOn(compileJasperReports)  
//}

dependencies {

```
compile group: 'org.json', name: 'json', version: '20171018'
compile group: 'com.jcraft', name: 'jsch', version: '0.1.44-1'
compile group: 'commons-net', name: 'commons-net', version: '3.6'
compile group: 'net.sf.jasperreports', name: 'jasperreports', version: '6.1.0'

```

}

javafx {  
version = “13”  
modules = [‘javafx.base’]  
modules = [‘javafx.controls’]  
modules = [‘javafx.fxml’]  
modules = [‘javafx.graphics’]  
modules = [‘javafx.media’]  
modules = [‘javafx.swing’]  
modules = [‘javafx.web’]  
}

![1](https://global.discourse-cdn.com/gradle/original/2X/2/21a93fcb12aa319c67c5232811ea9046722865c5.png)

I am beginner, please help.

An other problem for me is jasperreports, you know an excample.
