Menu

#7 unable to choose 2 or more humans to play

open
nobody
5
2013-01-23
2010-11-18
Anonymous
No

The interface doesn't allow to choose 2 or more "human" players to play sententiously. The affected code is in GameNewJDialog.java:

private void yellowComBoxItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_yellowComBoxItem
try
{
if (blueComBox.getSelectedIndex() != 1) blueComBox.setSelectedIndex(1);....
if (redComBox.getSelectedIndex() != 1) redComBox.setSelectedIndex(1);
if (orangeComBox.getSelectedIndex() != 1) orangeComBox.setSelectedIndex(1);
if (greenComBox.getSelectedIndex() != 1) greenComBox.setSelectedIndex(1);
if (whiteComBox.getSelectedIndex() != 1) whiteComBox.setSelectedIndex(1);.

Is any reason for that? It used to work fine in the first versions.

Discussion


Log in to post a comment.