private void initPane(RdpConnection rc) { if (!this.ovd_mode_application) { this.canvas = rc.getCanvas(); this.add(this.canvas); this.pack(); this.setLocationRelativeTo(null); this.setVisible(true); } }
public void disconnected(RdpConnection co) { RdpClient.logger.info("Disconnected from " + co.getServer()); this.quit(0); }
public void failed(RdpConnection co, String msg) { RdpClient.logger.error("Connection to " + co.getServer() + " failed: " + msg); }
public void connecting(RdpConnection co) { RdpClient.logger.info("Connecting to " + co.getServer()); this.initPane(co); }
/*RDP connection events*/ public void connected(RdpConnection co) { RdpClient.logger.info("Connected to " + co.getServer()); }