how can i get mouse input but the mouse still effect the desktop? (JAVA)
===

How can i get mouse co-ordinates when i click but still have the click effect the desktop?
I currently have a transparent frame which gives me the co-ordinates of the clicks but i need clicks to effect the desktop. if i set the opacity of the frame up under 0.10 i can click the desktop but i do not get mouse co ordinates. any suggestions?

    Runnable thread = new Runnable() {
    public void run() {        
        setTitle("979");        
        setSize(screen.width, screen.height);
        
        setLocationRelativeTo(null);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setLayout(transFlo);          
        stopRecording.setBackground(Color.red);
        
        add(mousePosLabel);
        add(stopRecording); 
        
        setOpacity(0.05f);        
        setVisible(true);
        
        
            
        
    }
    
    };



is it possible to do it with a transparent JFrame, or a screenCapture or anything? any suggestions help.