Results 1 to 3 of 3
- 05-30-2010, 06:15 PM #1
Traversing through a sudoku grid.
My sudoku grid is a 9x9 and every cell is a JTextField. I was thinking of using arrow keys to move around the JTextField instead of just using tab. If someone could tell me what to research (please be explicit), I would be very grateful.
Thanks in advance."Experience is what you get when you don't get what you want" (Dan Stanford)
"Rise and rise again until lambs become lions" (Robin Hood)
- 05-30-2010, 06:44 PM #2
Senior Member
- Join Date
- Feb 2010
- Location
- Ljubljana, Slovenia
- Posts
- 470
- Rep Power
- 12
Well, if you want keyboard control, the KeyEventListener interface is what you need. Be sure to check out the API for it, and the KeyEvent API as well, all the methods you need are there.
Ever seen a dog chase its tail? Now that's an infinite loop.
- 05-30-2010, 07:05 PM #3
Senior Member
- Join Date
- May 2010
- Posts
- 436
- Rep Power
- 11
Similar Threads
-
Sudoku solver with threads
By judas in forum New To JavaReplies: 8Last Post: 05-27-2010, 04:07 PM -
Error from sudoku class
By hongi in forum New To JavaReplies: 4Last Post: 05-08-2010, 03:08 PM -
Sudoku randomizer help
By mochibon in forum New To JavaReplies: 0Last Post: 04-07-2010, 04:05 AM -
SUDOKU game problem
By bumblyb33 in forum AWT / SwingReplies: 2Last Post: 05-06-2009, 12:18 AM -
Traversing a JTabbedPane
By Inks in forum AWT / SwingReplies: 12Last Post: 03-11-2009, 06:15 AM
Bookmarks