A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Swing / AWT / SWT
how i can make a JinternalFrame un-moveable
Joined: Jul 14, 2005
Mar 17, 2006 02:42:00
Thank you for reading my post
How i can prevent users from moving a
in an JDesktop component ?
I have several Internal frame inside a Jdesktop and i want some of them to be fixed in regard to their location.
Sunil Kumar Gupta
Joined: Aug 26, 2005
Mar 17, 2006 03:43:00
One solution is to remove the listener which is responsible for moving the InternalFrame
for(MouseListener listener : ((
or add the InternalFrame in a splitpane and set
This will give a nonmovable InternalFrame
Lack of will power has caused more failure than lack of intelligence or ability.
Daily Technology Tips
I agree. Here's the link:
subject: how i can make a JinternalFrame un-moveable
Using JInternalFrame and JDesktop
Do we have a JStatusBar in java?
Windows opened from menu items move down and to the right
Multiple JFrames in 1 Container
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015