Originally Posted by
Peperono
Yeah, I messed around with the stuff I got off Google, I wasnt sure exactly what I was looking for though, so I kept coming up empty. Those links were great though! Thanks.
So... It's mostly working. Just one bug. It wont work with just the keys, it also requires alt. As in, Alt+A to move left.
What you're talking about is called a mnemonic, which is neither key bindings nor a KeyListener. Those do require alt and a key, and they're for navigating menus and controls. For example, in firefox, alt+F opens up the file menu.
Originally Posted by
Peperono
I'm not sure how much of my code ill need to post, so ill try and limit it to the relevant parts.
When in doubt, post an
SSCCE.
Originally Posted by
Peperono
So thats one of my 4 movement buttons. Any advice/help for fixing my alt problem?
Don't use a mnemonic. Use key bindings or a KeyListener instead.
Originally Posted by
Peperono
Edit: Wow, it retained none of my tabbing, is there a way to put quote tags on too?
Use the highlight tags. See the link in my signature, or quote another post with them to see how they did it.