Virtual mouse for 1 internal frame
问题 I want to make a virtual mouse(pointer), that can be controlled by java only. But i cant find anywhere where i can do this? I want to make it draw a red dot as mouse. And i want it tosimulatie all mouse events. 回答1: I want to make a virtual mouse(pointer), that can be controlled by java only. one of possible directions import javax.swing.*; import java.awt.event.*; import java.awt.Graphics; import java.awt.Color; import java.awt.Component; public class SSCCE { private JFrame componentsFrame =