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 Java Objects (Retired) Meet Objects Welcome Back

Jimmy-Cannon Nwadinkpa
Jimmy-Cannon Nwadinkpa
800 Points

Cant type "||, {,[, ],} "or any other keys that requires "Alt Gr" combination, in the Java Objects Workspace. help pls.

Hello! Im stuck after Java Basic lessons. I cant type "||, {,[, ],} "or any other keys that requires "Alt Gr" combination, in the Java Objects Workspace. I know i shouldnt skip Java Objects because it seems very important to know all this. Thanks!

Edit: I have a "Qpad-MK85", so the keys are there but i cant type it in the Workspace Console.

Brendon Butler
Brendon Butler
4,254 Points

Maybe it's time for a new keyboard? You can pickup a simple wireless or even wired keyboard for $10-$20 that will prevent this.

Or you could be like me and spend $210 (after o-rings and shipping/handling) on a WASD Code Keyboard. :D

3 Answers

Andrew Wynyard
Andrew Wynyard
3,718 Points

Hi Jimmy,

I am either writing on my MacBook (US) keyboard, or a Swedish keyboard at work. The Swedish keyboard has the {, [, ], } keys on 7, 8, 9, 0 using the AltGr key.

Just make sure that the appropriate keyboard layout is selected in the control panel, and you shouldn't have a problem. I had an issue with this, and it was just that windows automatically changed the keyboard to UK layout instead of sticking with the Swedish.

Just like what Brendon said, just buy a new keyboard. not that expensive nowadays. for the moment in order to passed the test you can use this I think https://www.google.com/inputtools/try/

Bernardo Leal
Bernardo Leal
5,715 Points

WTF? This is not an answer. I have a notebook and the same thing happens. Must be an option somewhere. Works perfectly during objectives.