private void auto_navigation_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_auto_navigation_buttonActionPerformed
        //
        switch (AutomatedNavigationListenerThread.navigationState) 
        {
            //
            case "stopped":
            {
                //
                AutomatedNavigationListenerThread.navigationState="running";
                //
                auto_navigation_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ecosounder/calibration/software/Echocal_Diagrams/pause.png")));
                //
                break;
            }
            //
            case "running":
            {
                //
                AutomatedNavigationListenerThread.navigationState="paused";
                //
                auto_navigation_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ecosounder/calibration/software/Echocal_Diagrams/play.png")));
                //
                break;
            }
            //
            case "paused":
            {
                //
                AutomatedNavigationListenerThread.navigationState="running";
                //
                auto_navigation_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ecosounder/calibration/software/Echocal_Diagrams/pause.png")));
                //
                break;
            }
            //
            default:
            {
                //
                break;
            }
        }
    }