因此,我创建了一个JDialog,并通过在程序开始时设置它来编程移动它;Point = new ();
int xMouse;
int yMouse;
int x;
int y;
Dimension scrnSize = Toolkit.getDefaultToolkit().getScreenSize();
Rectangle winSize = GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds();
int taskBarHeight = (scrnSize.height) - (winSiz