always on top 我做过, 可以用WindowAdapter 里public void windowLostFocus(WindowEvent e),等里用 ((Window)e.getSource()).setVisible(true); 不过在Windows里不太稳定,而且在Windows里不支持e.getOppsedWindow,(return null),move with the mouse, jpanel.addMouseMontionListener可搞定,Mouse一动便对jframeOrJDialog.setLocationsee also java.awt.event.*;我这里没J2SDK,不能写源代码并测试
好像java的窗口不能够topMost
我做过,
可以用WindowAdapter 里public void windowLostFocus(WindowEvent e),等里用 ((Window)e.getSource()).setVisible(true); 不过在Windows里不太稳定,而且在Windows里不支持e.getOppsedWindow,(return null),move with the mouse, jpanel.addMouseMontionListener可搞定,Mouse一动便对jframeOrJDialog.setLocationsee also java.awt.event.*;我这里没J2SDK,不能写源代码并测试