Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 24th, 2005, 01:50 PM
Registered User
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do you get keyboard input?

Okay I'm writing my first game. A tic-tac-toe game, but I have one huge problem. I don't know how to get keyboard input. Obviously System.out.println(); won't help because it outputs information to the monitor. What is the statement that would allow me to write a string or even a char value in a prompt and save it in the programs memory.
 
Old October 28th, 2005, 02:25 PM
Registered User
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Theres got to be sombody out there who knows the answer to my question. I won't beleive there isn't a single program that reacts when sombody presses a button.:(






Similar Threads
Thread Thread Starter Forum Replies Last Post
I/O streams: keyboard input kanoorani Java Basics 2 April 20th, 2007 01:58 AM
Keyboard Shortcuts Brian Fuller BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 November 4th, 2006 01:41 PM
Keyboard Shortcuts rajanikrishna Linux 1 January 30th, 2004 07:11 AM
Disable Keyboard shiju VS.NET 2002/2003 0 August 22nd, 2003 10:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.