*/
public void singleScreen() throws Exception {
List<ClientImageFrame> clientImageFrames = ClientRaster.tileScreen();
ClientImageFrame clientImageFrame = clientImageFrames.get(0);
if (ClientRasterList.checkFrame(clientImageFrame)) {
log.debug("SEND NEW FRAME "+clientImageFrame.getRect().getX()+" "+clientImageFrame.getRect().getY());
ClientFrameBean clientFrameBean = new ClientFrameBean();
clientFrameBean.setMode(ClientConnectionBean.mode);
clientFrameBean.setSequenceNumber(ClientConnectionBean.getFrameNumber());
clientFrameBean.setPublicSID(ClientConnectionBean.publicSID);
clientFrameBean.setXValue(Double.valueOf(clientImageFrame.getRect().getX()).intValue());
clientFrameBean.setYValue(Double.valueOf(clientImageFrame.getRect().getY()).intValue());
clientFrameBean.setHeight(Double.valueOf(clientImageFrame.getRect().getHeight()).intValue());
clientFrameBean.setWidth(Double.valueOf(clientImageFrame.getRect().getWidth()).intValue());
clientFrameBean.setImageBytes(clientImageFrame.getPayload());
ClientTransportMinaPool.sendMessage(clientFrameBean);
//this.sendPacketToServer(packetFrame);
} else {
log.debug("NO CHANGE IN THIS FRAME "+clientImageFrame.getRect().getX()+" "+clientImageFrame.getRect().getY());
}
}