private void jButton9MouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton9MouseReleased
        // TODO add your handling code here:
        
        //System.out.println(this.CommandBox.getSelectedIndex());
        switch ( this.CommandBox.getSelectedIndex() ) {
            case 0: 
            communicator.writeData('!');
            communicator.writeData('1');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");
            break;
            
            case 1: 
            communicator.writeData('!');
            communicator.writeData('2');
            communicator.writeDataNewLine();
            communicator.writeData('4');
            communicator.writeData('2');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");
            break;
            
            case 2: 
            communicator.writeData('!');
            communicator.writeData('3');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");
            break;
            
            case 3: 
            communicator.writeData('!');
            communicator.writeData('4');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");
            break;
            
            case 4: 
            communicator.writeData('!');
            communicator.writeData('5');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");
            break;
            
            case 5: 
            communicator.writeData('!');
            communicator.writeData('6');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");
            break;
             
            case 6: 
            communicator.writeData('!');
            communicator.writeData('7');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");            
            break;
            
            case 7: 
            communicator.writeData('!');
            communicator.writeData('8');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");            
            break;
                            
            default:
            communicator.writeData('!');
            communicator.writeData('8');
            communicator.writeDataNewLine();
            this.txtLog.append("\n");    

        }
        
        
        communicator.writeData('!');
    }//GEN-LAST:event_jButton9MouseReleased