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 Graphical User Interfaces Getting Started

Ralph Findling
Ralph Findling
5,270 Points

I can't choose "Scene Text Text"

I've been following your example and was able to select the correct import for "Group", but not for "Text". Has there been a change since your lesson was produced?

Group root = new Group(); (selected okay) Text txt = new Text("What's up?"); (cannot use Alt+<Enter> to make selection)

Ralph Findling
Ralph Findling
5,270 Points

Intellij does prompt me with choices if I already have one of the other classes imported. Removing the other classes solved the problem. Rather than depending on the IDE to give me the choices, I can just type in the import values meself as well.