Results 1 to 2 of 2
- 03-05-2010, 01:03 AM #1
Member
- Join Date
- Mar 2010
- Posts
- 2
- Rep Power
- 0
Setting a variable to false with a keybinding to terminate a while loop by pressing
Hi,
I'm trying to use a spacebar keybinding to set a variable to "false" so that I can pass that variable into the while loop and then while the loop is running (its a long loop) I can hit the spacebar, turn the variable to false and stop the loop.
How can I do this?
Thanks!
- 03-08-2010, 04:14 PM #2
Similar Threads
-
Setting the environment variable for j2sdk
By kiki2009 in forum Java ServletReplies: 3Last Post: 07-04-2009, 05:14 AM -
Using string to terminate loop
By mrblippy in forum New To JavaReplies: 3Last Post: 04-23-2009, 06:16 AM -
Setting a variable in JSTL for use in a JSP function
By MikeStringfellow in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 03-19-2009, 04:48 PM -
Variable not initialized after while loop
By ejs7597 in forum New To JavaReplies: 6Last Post: 02-28-2009, 05:00 AM -
[SOLVED] Referencing Variable within Loop
By Judoon_Platoon in forum Java AppletsReplies: 2Last Post: 05-22-2008, 11:54 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks