public void exitAndCleanUp()
    {
        this.mainController.exitAndCleanUp();
        
        if(this.parameterSetup != null)
        {
            this.parameterSetup.dispose();
        }
        if(this.parameterConfirm != null)
        {
            this.parameterConfirm.dispose();
        }
        if(this.popupDialog != null)
        {
            this.popupDialog.dispose();
        }
        
        if(this.chargingMonitor!=null)
        {
            this.chargingMonitor.setVisible(false);
            try{
                Thread.sleep(12000);
            }catch(Exception e)
            {

            }
            this.chargingMonitor.dispose();
        }
        
        System.exit(0);
    }