Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1227
| From | "lemmi" <lemmi@THRWHITE.remove-dii-this> |
|---|---|
| Subject | MacOS X: annoying rectang |
| Message-ID | <1174313898.040427.25650@o5g2000hsb.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:32 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui Hi, I have a problem when running my app under MacOS X. I have a panel in which the user can resize and move graph objects. For this I am using the D&D API. Everything works fine on Windows but on MacOS X I get a rectangle during the d&d operation of the panel where the DragGestureListener was created. The listener gets created like this: DragSource dragSource = new DragSource(); dragSource.createDefaultDragGestureRecognizer(lc, DnDConstants.ACTION_MOVE, this); where 'lc' is the JPanel. I am assuming that MacOS X wants to do me a favour and display the bounds of the dragged panel. But I do not want to drag the panel itself, I just want to receive the drag events so that I can manipulate graphics objects that are rendered inside the panel. Does anyone know a fix for this? Dirk --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Next in thread | Find similar | Unroll thread
MacOS X: annoying rectang "lemmi" <lemmi@THRWHITE.remove-dii-this> - 2011-04-27 15:32 +0000
Re: MacOS X: annoying rec "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:32 +0000
Re: MacOS X: annoying rec "lemmi" <lemmi@THRWHITE.remove-dii-this> - 2011-04-27 15:32 +0000
Re: MacOS X: annoying rec "lemmi" <lemmi@THRWHITE.remove-dii-this> - 2011-04-27 15:32 +0000
Re: MacOS X: annoying rec "steve" <steve@THRWHITE.remove-dii-this> - 2011-04-27 15:32 +0000
csiph-web