NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
difficult
Joined: 04 Jan 2009 Posts: 52
|
Posted: Wed Oct 07, 2009 8:26 am Post subject: how to prevent a custom TopComponent being dragged from one mode into other mode? |
|
|
| how to prevent a custom TopComponent being dragged from one mode into other mode.I have overwrite the TopComponent.availableModes() method ,but it never being called ? |
|
| Back to top |
|
 |
Stanislav Aubrecht Posted via mailing list.
|
Posted: Wed Oct 07, 2009 8:34 am Post subject: how to prevent a custom TopComponent being dragged from one mode into other mode? |
|
|
difficult wrote:
| Quote: | how to prevent a custom TopComponent being dragged from one mode into other mode.I have overwrite the TopComponent.availableModes() method ,but it never being called ?
| putClientProperty(TopComponent.PROP_DRAGGING_DISABLED, Boolean.TRUE); |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|