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 Build a Pomodoro App Properties and Bindings

Gi Devs
Gi Devs
12,171 Points

mText getter is built as getmText rather than getText

whenever I use a constructer I get the full prefrix inside of the class. I'm sure it's just a messed up setting but where do I fix it

1 Answer

Hi George,

I'm using a Mac so this may be slightly different on whatever machine you're using.

These settings are found in File | Other Settings | Default Settings. That produces a new window. Go to Editor | Code Style | Java. That screen gives you a tabbed window. Select the Code Generation tab ... within there, you can select default prefixes etc. Have a play around with the settings - what you're looking for should be in there.

Let me know how you get on.


Gi Devs
Gi Devs
12,171 Points

thanks man that fixed it

Cool! :+1: