Can someone please help me with this? I need it to be as simple as possible. Its a mouse and keyboard control. It makes a fillRect with words in it (doesn't matter what words, I can change that myself. The rectangle is in the center of the screen. If you click it you can move it with the arrows. Please and thanks! I need it by tonight and I cant get the damn thing to work myself :(
|
Java
Need extremely simple code: box with words in it, when clicked can move with arrows |
(May 13, 2012 11:44 AM)specizripn Wrote: Can someone please help me with this? I need it to be as simple as possible. Its a mouse and keyboard control. It makes a fillRect with words in it (doesn't matter what words, I can change that myself. The rectangle is in the center of the screen. If you click it you can move it with the arrows. Please and thanks! I need it by tonight and I cant get the damn thing to work myself :( Is this what are you looking for? http://www.leepoint.net/notes-java/GUI-l...ydemo.html
NordName.com - best domain registrar and web hosting provider
(May 13, 2012 12:25 PM)Kasgel Wrote: Is this what are you looking for? Kind of, this may be able to help me thanks. I was able to move a rectangle, and i was able to move text, but I cant get them to line up and move on top of each other. Every time I tried to change their starting location I screwed the whole thing up and wasn't able get it to work. Ill look at this, and I guess I'll just keep messing around until I can get it to work. Thanks for the help! |
|
|

