Developers often need to create graphical user interfaces (GUIs) that have a matrix-type layout with columns of different widths or rows of different heights. Those layout cells are unequal in order ...
Note: Source code files accompanying article are located on MacTech CD-ROM or source code disks. Last month, we explored Peter Lewis’ CWBlink rewrite, which introduced a host of new Java concepts.
This program simulates a simple chessboard using an 8x8 grid of buttons in a Frame window. The chessboard alternates between black and white squares, which are represented by Button components. The ...