Java Reference
In-Depth Information
How to Access the JavaFX Sudoku
Application
The Sudoku application is available online and can be accessed by pointing your
browser to the following URL:
http://jfxbook.com/Sudoku/
Upon reaching this page, you have the option of running Java FX Sudoku in one
of two ways:
As a standalone application . This option utilizes Java Web Start technol-
ogy to start the JavaFX Sudoku application as a separate process, inde-
pendent from the browser.
As an applet . This option allows you to run JavaFX Sudoku inside the
browser as a traditional applet. Depending upon your system configura-
tion (operating system, Java Runtime Environment, browser, etc.), you
may be able to take advantage of the draggable applet feature, in effect
giving you the ability to undock the applet from the browser.
The Interface
Figure 13.1 depicts and describes the onscreen interface of the Sudoku program.
Logically, the interface can be divided into three areas:
The top section of the interface serves as a window frame. If you drag
your mouse within this area, you'll be able to reposition the Sudoku appli-
cation on the screen. If you are running Sudoku as an applet within a
browser, dragging your mouse in this area will enable you to undock the
applet from the browser if your overall environment supports the dragga-
ble applet feature.
The middle section, which encompasses a majority of the interface, con-
tains the Sudoku board. By hovering your mouse over a space on the
board, you can modify its contents by either clicking the mouse to enter in
a new number or by typing a number from 1 to 9. If you want to clear a
space, you can type either 0 or <space>. When a new puzzle is generated,
a certain number of spaces will be filled in for you to aid in solving the
puzzle. These spaces cannot be modified.
 
 
Search WWH ::




Custom Search