Fichier fxml dans netbeans
	
	
		boila,
j'ai commencé à créer une interface javafx avec scene editor d'oracle.
J'enregistre les fichiers au format fxml dans mon projet netbeans. Que se passe-t-il alors?
Peut-on passer d'un stage à l'autre dans l'application et changer la scène au cours de l'interaction avec l'utilisateur?
questions de débutant, je viens de débuter :ccool:
j'ai utilisé scene builder preview. Puis je l'ai chargé dans l'application netbeans.
exception à l'exécution:
	Code:
	
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 
 | init:
Deleting: C:\Users\Mary\Documents\dev\syphotron\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\Mary\Documents\dev\syphotron\build\built-jar.properties
Duplicated project name in import. Project jfx-impl defined first in C:\Users\Mary\Documents\dev\syphotron\nbproject\jfx-impl.xml and again in C:\Users\Mary\Documents\dev\syphotron-Preloader\nbproject\jfx-impl.xml
syphotron-Preloader.init:
syphotron-Preloader.deps-jar:
Updating property file: C:\Users\Mary\Documents\dev\syphotron\build\built-jar.properties
syphotron-Preloader.compile:
Copying 1 file to C:\Users\Mary\Documents\dev\syphotron-Preloader\build
Copy libraries to C:\Users\Mary\Documents\dev\syphotron-Preloader\dist\lib.
To run this application from the command line without Ant, try:
C:\Program Files\Java\jdk1.7.0_04/bin/java -jar "C:\Users\Mary\Documents\dev\syphotron-Preloader\dist\syphotron-Preloader.jar"
Deleting directory C:\Users\Mary\Documents\dev\syphotron-Preloader\dist\lib
Detected JavaFX Ant API version 1.1
syphotron-Preloader.jfx-deployment:
syphotron-Preloader.jar:
Compiling 1 source file to C:\Users\Mary\Documents\dev\syphotron\build\classes
compile-single:
run-single:
Device "Mobile Intel(R) 4 Series Express Chipset Family" (\\.\DISPLAY1) initialization failed : 
WARNING: bad driver version detected, device disabled. Please update your driver to at least version 8.15.10.2302
juin 09, 2012 11:56:49 PM javafx.fxml.FXMLLoader logException
Grave: Page language not specified.
/C:/Users/Mary/Documents/dev/syphotron/build/classes/syphotron/LoadForm_1.fxml:13
  at javafx.fxml.FXMLLoader$Element.processEventHandlerAttributes(Unknown Source)
  at javafx.fxml.FXMLLoader$ValueElement.processEndElement(Unknown Source)
  at javafx.fxml.FXMLLoader.processEndElement(Unknown Source)
  at javafx.fxml.FXMLLoader.load(Unknown Source)
  at javafx.fxml.FXMLLoader.load(Unknown Source)
  at javafx.fxml.FXMLLoader.load(Unknown Source)
  at javafx.fxml.FXMLLoader.load(Unknown Source)
  at javafx.fxml.FXMLLoader.load(Unknown Source)
  at javafx.fxml.FXMLLoader.load(Unknown Source)
  at javafx.fxml.FXMLLoader.load(Unknown Source)
  at syphotron.ImageView.start(ImageView.java:17)
  at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
  at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
  at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
  at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
  at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
  at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
  at java.lang.Thread.run(Thread.java:722)
 
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
	at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
	at com.sun.javafx.application.LauncherImpl.access$000(Unknown Source)
	at com.sun.javafx.application.LauncherImpl$1.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:722)
Caused by: javafx.fxml.LoadException: Page language not specified.
	at javafx.fxml.FXMLLoader$Element.processEventHandlerAttributes(Unknown Source)
	at javafx.fxml.FXMLLoader$ValueElement.processEndElement(Unknown Source)
	at javafx.fxml.FXMLLoader.processEndElement(Unknown Source)
	at javafx.fxml.FXMLLoader.load(Unknown Source)
	at javafx.fxml.FXMLLoader.load(Unknown Source)
	at javafx.fxml.FXMLLoader.load(Unknown Source)
	at javafx.fxml.FXMLLoader.load(Unknown Source)
	at javafx.fxml.FXMLLoader.load(Unknown Source)
	at javafx.fxml.FXMLLoader.load(Unknown Source)
	at javafx.fxml.FXMLLoader.load(Unknown Source)
	at syphotron.ImageView.start(ImageView.java:17)
	at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
	at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
	... 1 more
Java Result: 1
BUILD SUCCESSFUL (total time: 8 seconds) |