Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CED
CedFx
Commits
1c08af85
Commit
1c08af85
authored
Aug 26, 2021
by
moulinux
Browse files
maj JavaFX 13
parent
f457546c
Changes
3
Hide whitespace changes
Inline
Side-by-side
nbactions.xml
View file @
1c08af85
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<actions>
<action>
<actionName>
run
</actionName>
<packagings>
...
...
@@ -10,4 +10,31 @@
<goal>
javafx:run
</goal>
</goals>
</action>
<action>
<actionName>
debug
</actionName>
<goals>
<goal>
clean
</goal>
<goal>
javafx:run@ide-debug
</goal>
</goals>
<properties>
<jpda.listen>
true
</jpda.listen>
</properties>
</action>
<action>
<actionName>
profile
</actionName>
<goals>
<goal>
clean
</goal>
<goal>
javafx:run@ide-profile
</goal>
</goals>
</action>
<action>
<actionName>
CUSTOM-jlink
</actionName>
<displayName>
jlink
</displayName>
<goals>
<goal>
clean
</goal>
<!-- compile not needed with javafx-maven-plugin v0.0.5 -->
<goal>
compile
</goal>
<goal>
javafx:jlink
</goal>
</goals>
</action>
</actions>
pom.xml
View file @
1c08af85
...
...
@@ -13,12 +13,12 @@
<dependency>
<groupId>
org.openjfx
</groupId>
<artifactId>
javafx-controls
</artifactId>
<version>
1
1.0.2
</version>
<version>
1
3
</version>
</dependency>
<dependency>
<groupId>
org.openjfx
</groupId>
<artifactId>
javafx-fxml
</artifactId>
<version>
1
1.0.2
</version>
<version>
1
3
</version>
</dependency>
</dependencies>
<build>
...
...
@@ -34,11 +34,50 @@
<plugin>
<groupId>
org.openjfx
</groupId>
<artifactId>
javafx-maven-plugin
</artifactId>
<version>
0.0.
1
</version>
<version>
0.0.
4
</version>
<configuration>
<mainClass>
presles.App
</mainClass>
</configuration>
<executions>
<execution>
<!-- Default configuration for running -->
<!-- Usage: mvn clean javafx:run -->
<id>
default-cli
</id>
</execution>
<execution>
<!-- Configuration for manual attach debugging -->
<!-- Usage: mvn clean javafx:run@debug -->
<id>
debug
</id>
<configuration>
<options>
<option>
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:8000
</option>
</options>
</configuration>
</execution>
<execution>
<!-- Configuration for automatic IDE debugging -->
<id>
ide-debug
</id>
<configuration>
<options>
<option>
-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
</option>
</options>
</configuration>
</execution>
<execution>
<!-- Configuration for automatic IDE profiling -->
<id>
ide-profile
</id>
<configuration>
<options>
<option>
${profiler.jvmargs.arg1}
</option>
<option>
${profiler.jvmargs.arg2}
</option>
<option>
${profiler.jvmargs.arg3}
</option>
<option>
${profiler.jvmargs.arg4}
</option>
<option>
${profiler.jvmargs.arg5}
</option>
</options>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
</project>
src/main/java/presles/App.java
View file @
1c08af85
...
...
@@ -17,7 +17,7 @@ public class App extends Application {
@Override
public
void
start
(
Stage
stage
)
throws
IOException
{
scene
=
new
Scene
(
loadFXML
(
"Vue/comparateur"
));
scene
=
new
Scene
(
loadFXML
(
"Vue/comparateur"
)
,
640
,
480
);
stage
.
setScene
(
scene
);
stage
.
show
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment