Package CustomEvents

Examples of CustomEvents.CustomEventSource


        //table scroll
        Image imageLock = getToolkit().getImage(getClass().getResource("/resources/lock_open.png"));  
    lblTableLock.setIcon(new ImageIcon(imageLock.getScaledInstance(20, 27, Image.SCALE_DEFAULT)));
   
    // set events
    _events[Globals.SERVER_CONNECT] = new CustomEventSource();
    _events[Globals.SERVER_DISCONNECT] = new CustomEventSource();
    }
View Full Code Here


  private Socket _socket;
  private Map<String, Client> _clientsMap = Collections.synchronizedMap(new HashMap<String, Client>()); // key - client ID
  private Map<String, CT_Socket> _clientsSocketMap = Collections.synchronizedMap(new HashMap<String, CT_Socket>()); // key - client ID
 
  public CT_ServerSocket()  {
    _events[Globals.CONNECT] = new CustomEventSource();
    _events[Globals.DISCONNECT] = new CustomEventSource();
    _events[Globals.OPEN_MSG] = new CustomEventSource();   
  }
View Full Code Here

TOP

Related Classes of CustomEvents.CustomEventSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.