In the Java front end, don't try to guess the puzzle rectangle's
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 6 Nov 2010 18:14:41 +0000 (18:14 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 6 Nov 2010 18:14:41 +0000 (18:14 +0000)
commit047f95bce523792e6e0f633262e62102c867a595
treee451a428d960aa848d862636d3bbdf5aa13355da
parent0b236a42885cb148f9a7586b17fe7fdf1c285d6a
In the Java front end, don't try to guess the puzzle rectangle's
width and height by assuming mirror symmetry within the containing
applet area. Instead, use the proper width and height as given back
by the C sizing function.

(In particular, this fixes a bug where the non-blanked puzzle area
appeared too tall by the height of the menu bar, probably as a
result of confusing PuzzleApplet.getHeight() with
PuzzlePanel.getHeight(). But the mirroring approach was conceptually
wrong anyway.)

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9022 cda61777-01e9-0310-a592-d414129be87e
PuzzleApplet.java
nestedvm.c