public void dispose(){
  keyboards.clear();
  keyboards=null;
  if (logoutTimer != null)   logoutTimer.stop();
  logoutTimer=null;
  if (m_focusMgr != null)   m_focusMgr.stop();
  m_focusMgr=null;
  KeyboardFocusManager.setCurrentKeyboardFocusManager(originalKeyboardFocusManager);
  if (f_order != null)   f_order.dispose();
  f_order=null;
  if (f_curLine != null) {
    f_curLine.dispose();
  }
  f_curLine=null;
  if (f_functionKeys != null)   f_functionKeys.dispose();
  f_functionKeys=null;
  if (f_cashfunctions != null)   f_cashfunctions.dispose();
  f_cashfunctions=null;
  if (m_frame != null)   m_frame.dispose();
  m_frame=null;
  m_ctx=null;
}

public void dispose ( ) { keyboards . clear ( ) ; keyboards = null ; if ( logoutTimer != null ) logoutTimer . stop ( ) ; logoutTimer = null ; if ( m_focusMgr != null ) m_focusMgr . stop ( ) ; m_focusMgr = null ; KeyboardFocusManager . setCurrentKeyboardFocusManager ( originalKeyboardFocusManager ) ; if ( f_order != null ) f_order . dispose ( ) ; f_order = null ; if ( f_curLine != null ) { f_curLine . dispose ( ) ; } f_curLine = null ; if ( f_functionKeys != null ) f_functionKeys . dispose ( ) ; f_functionKeys = null ; if ( f_cashfunctions != null ) f_cashfunctions . dispose ( ) ; f_cashfunctions = null ; if ( m_frame != null ) m_frame . dispose ( ) ; m_frame = null ; m_ctx = null ; }
dispose - free resources
