#1
Hey, guys. Just a quick question about Java, if any of you guys are fluent in the programming language.

How would I go about recognising an input from a user for a specfic key on te keyboard? I want to have a kind of "Press enter to continue" type function in my programme, but I'm not sure how to go about it.

Any ideas?
Proud owner of an Engl Thunder 50 Reverb and an Ibanez S470

"The end is extremely fucking nigh..."
#3
Are you mad? Don't put coffee on your keyboard you tosser.
Quote by zgr0826
My culture is worthless and absolutely inferior to the almighty Leaf.


Quote by JustRooster
I incurred the wrath of the Association of White Knights. Specifically the Parent's Basement branch of service.
#4
Quote by Zar Mulix
Scanner class?


Well, yes, but I'd need a way to identify that the specfic keypress.
Proud owner of an Engl Thunder 50 Reverb and an Ibanez S470

"The end is extremely fucking nigh..."
#5
err. your on your own :P

i know with batch you can put 'pause'



but for now thats about the best of my programming abilitys
Quote by musical donkey
cyclobs you are demented..... in a good way
#7
while loop and check the Scanner.next().equals("\n") I think, or you can Scanner.next() == 10 because that is ascii for enter
My Gear:

Guitars:
Epiphone Les Paul Standard
Fender American Strat
Yamaha Acoustic

Amps:
Peavey Transtube Bandit 112

Effects:
DigiTech rp350 (For Sale)
BOSS RC-20 XL Loop Station
BOSS GT-10


Rock on!
#8
Looks like you want a KeyListener class (java.awt.event.KeyListener)

By the way, this site is extremely helpful for Java programmers (it's just the Java documentation.)
METAR KTIK 040043Z COR RMK TORNADO 1W MOV NE. EVACUATING STATION
#10
hmmm i had this in an assignment an one of the java supplied files ...
as listed above there's a few ways of doing it
try googling
'EasyIn.pause'
or something like that worked as far as i remember
Lepracauns Forever!!!!!!!!!!!!