62,614
社区成员
发帖
与我相关
我的任务
分享
this.removeAll();//把所有的子元素给删了,其实是为了透明
this.setExtendedState(JFrame.MAXIMIZED_BOTH); // 最大化
this.setAlwaysOnTop(true);
this.setResizable(false);
this.setUndecorated(true);
可以满足最大化,透明,上面windows7已经测
拉拽画红框,我没写程序,给点思路
重写jframe的paintComponents事件,自己绘图,然后监听鼠标的两种事件:MouseMotionListener,MouseListener
第二步,没想法