10 November 2004 - java_dev (original) (raw)
| | 07:28 pm - i_like_jessie_f - First post, yeah i'm a java weakling. Hello guys this is my first post in this community. My name is Jamie Witter and i'm an information systems major, i've got no programming experience and all my computer experience has to do with hardware which i love. I'm currently taking a Java Programming course and i'm currently doing an assignment in which i've run into some problems. It's my first experience with making my own class and to me my code looks fine but it's just not working when i test it. I'm sure there are plenty of people here knowledgable enough to simply just point out my mistake, i've looked at The Java White paper and googled a few pages for help but i just cant seem to figure it out, my teacher hasn't been of much help all semester so i've basically been teaching myself which has resulted in me being a horrid programmer. Behind the cut i've thrown what i've got so far any helped would really be appreciated; i'm sure it's something small because those are my tendencies but better to be called an idiot than to never learn what i'm doing wrong i guess.( my class and test fileCollapse ) |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 08:13 pm - m2a0r0k4us - Java help Is there a way i can intercept key presses? For example, is there a way that, no matter what has focus, i can (for example) print which key has been pressed to the default output stream. I've done it for a frame, but once the frame no longer has focus, the keylistener no longer works. Thanks |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |