Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can not open FXML after a while

I have a problem with my JavaFX Scene Builder v2.0-b14.

From time to time, the FXML can't get opened. Even if i remove everything from the FXML except the root.
In the taskbar, it looks like this:
can not open FXML

If i rename the File, i can open the FXML normally.
renamed FXML opens normally

Does anyone know/had this problem, or know where the SceneBuilder caches such things?

greetings,
Kalasch

like image 692
Kalaschni Avatar asked Apr 01 '14 08:04

Kalaschni


People also ask

How do I open a FXML file?

From the Menu bar, select File and then Open. From the Open FXML dialog box, go to the folder in which you extracted the IssueTrackingLite sample file and open the IssueTrackingLite, src, and issuetrackinglite folders. Double-click the IssueTrackingLite. fxml file.

How do I open FXML in Scene Builder?

fxml, which you can open and edit using Scene Builder. In the Projects tab, right-click the sample. fxml file and select Open In Scene Builder, as shown in Figure 3-4. Specify the path to your Scene Builder installation the first time you try to open Scene Builder from within IntelliJ IDEA.

Is FXML and XML the same?

FXML is an XML-based user interface markup language created by Oracle Corporation for defining the user interface of a JavaFX application. FXML presents an alternative to designing user interfaces using procedural code, and allows for abstracting program design from program logic.

How do I open FXML in eclipse?

You can edit an FXML file using the Eclipse FXML editor or by opening the file using the JavaFX Scene Builder tool: In the IDE's Package Explorer tab, expand the Test and src folders. Right-click the Sample. fxml file and select Open with Scene Builder, as shown in Figure 2-6.


1 Answers

Even though this question has been asked long time ago and it already got an accepted answer, I want to contribute my solution to this problem because it differs from the other solutions and in addition is very simple.

This particular problem happened to me just a few mins ago and all I took to solve was:

Windows XP/7

  • Opening the Windows Taskmanager
  • Switch to the applications tab
  • Right click the SceneBuilder (named: yourFileName.fxml)
  • Select 'Maximize'

Windows 8+

  • Opening the Windows Taskmanager
  • Switch to Processes Tab
  • Click the dropbown for JavaFX Scene Builder x.x.exe
  • Find the FXML file that is not opening
  • Right-Click > Press Maximize

Description above works for Windows OS, on other OS the corresponding application managing program should do the same.

That worked for me just perfect. No copying and/or overwriting needed.

like image 196
ifloop Avatar answered Sep 29 '22 13:09

ifloop