i want to write a java rmi application which the server has the ability to share its desktop between several clients. what is its main method to share desktop? is there any where that i find a good sample code for this application?
                +2 
                A: 
                
                
              
            Use java.awt.Robot (an example here) on the server side to simulate mouse/keyboard events and invoke them from client side.
                  Massimo Fazzolari
                   2010-02-06 13:21:55
                
              
                +2 
                A: 
                
                
              
            You could do something like:
new Robot().createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
                  JRL
                   2010-02-06 13:24:41