Is there any methods that in java can make or prevent its window frames from being moved or being dragged, like those in windows 7 installations.

post it guys if any and it will help others too!

thanx in advance.

#setUndecorated()

thanx a lot mKorbel it worked!

so theres no how you can do dat but without removing the windows frame borders.

that's very vague descriptions, note: these decorations coming from Native OS

you can set own Border, http://www.java2s.com/Code/Java/Swing-JFC/Border.htm


.....


probably you need search on google how you can create own topPanel (removed by setUndecorated(false)) keyWord JPanel backGround with GradientPaint

and is you need return back "close button" then keyWord JButton with IconImage