Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Build a JavaFX Application Design a Better App Resources

Wolf <null>
Wolf <null>
5,060 Points

Build a JavaFX app - moving sample.fxml = freeze

Build a JavaFX Application course

  • Step Resources (about 2:40 in the video)

Moving the sample.fxml to resources/fxml causes IntelliJ to freeze up totally every time I try and move it there.

1 Answer

Jonas Andersen
Jonas Andersen
17,072 Points

I had the exact same issue - it seems there's a bug in IntelliJ for some users when moving files (Mac specific?).

Luckily there's an easy way around it:

1) Right click resources and select "Reveal in finder"

2) Move the files around in the finder window (drag and drop)

3) Go back in IntelliJ, right click resources and select "Synchronize resources" to get the updated view

Hopefully that helps!