Don,
Excellent! This is exactly the kind of thing I am looking for. It will
make my application a lot easier to roll out (heck, the whole OpenMap
package is making this application possible, many thanks!!)
I tried out the beanbox example, and there were a lot of exceptions at
the startup but it seemed to work so I haven't looked into those yet.
One issue I ran into, the drag and drop seems to give problems under
Linux. Do you know if it is known to work correctly or not? I will add
the exception to this message. I'm using Sun's JDK 1.4.1_01 and so far
have had no problems with OpenMap.
Thanks again!
-Corey
java.awt.dnd.InvalidDnDOperationException: failed to create native peer:
java.lang.NullPointerException: null native data for trigger event
at
sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:71)
at
sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:106)
at java.awt.dnd.DragSource.startDrag(DragSource.java:305)
at java.awt.dnd.DragSource.startDrag(DragSource.java:402)
at
com.bbn.openmap.tools.beanbox.BeanPanel$ComponentDragGestureListener.dragGestureRecognized(Unknown Source)
at
java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:339)
at
sun.awt.motif.MMouseDragGestureRecognizer.mouseDragged(MMouseDragGestureRecognizer.java:204)
at
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:257)
at
java.awt.Component.processMouseMotionEvent(Component.java:5141)
at
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2776)
at java.awt.Component.processEvent(Component.java:4894)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
com.bbn.openmap.tools.beanbox.BeanPanel$MouseEventForwarder.mouseDragged(Unknown Source)
at
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:258)
at
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:257)
at
java.awt.Component.processMouseMotionEvent(Component.java:5141)
at
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2776)
at java.awt.Component.processEvent(Component.java:4894)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3182)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
java.awt.dnd.InvalidDnDOperationException: failed to create native peer:
java.lang.NullPointerException: null native data for trigger event
at
sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:71)
at
sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:106)
at java.awt.dnd.DragSource.startDrag(DragSource.java:305)
at java.awt.dnd.DragSource.startDrag(DragSource.java:402)
at
com.bbn.openmap.tools.beanbox.BeanPanel$ComponentDragGestureListener.dragGestureRecognized(Unknown Source)
at
java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:339)
at
sun.awt.motif.MMouseDragGestureRecognizer.mouseDragged(MMouseDragGestureRecognizer.java:204)
at
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:257)
at
java.awt.Component.processMouseMotionEvent(Component.java:5141)
at
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2776)
at java.awt.Component.processEvent(Component.java:4894)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
com.bbn.openmap.tools.beanbox.BeanPanel$MouseEventForwarder.mouseDragged(Unknown Source)
at
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:258)
at
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:257)
at
java.awt.Component.processMouseMotionEvent(Component.java:5141)
at
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2776)
at java.awt.Component.processEvent(Component.java:4894)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3182)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
On Wed, 2002-11-27 at 20:40, Don Dietrick wrote:
> Hi Corey,
>
> You should probably look at the com.bbn.openmap.examples.beanbox
> example. That sounds similar to what you are describing, but it
> involves more components than just a layer.
>
> Hope this helps,
>
> Don
>
> On Wednesday, November 27, 2002, at 03:25 PM, Corey Shields wrote:
>
> > Before I start spinning my wheels and coming up with my own layer for
> > this, has anyone made a pushpin layer of sorts? One where you could
> > select from a set of icons and just place the icon on a map, moving it
> > later if necessary. (adding and removing multiple icons, on and on..
> > you get the idea)
> >
> > Thanks!
> >
> > -Corey
> >
> > --
> > Corey Shields <cshields@indiana.edu>
> > Unix Systems Support Group - Indiana University
> > <signature.asc>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, BBN Technologies, dietrick@bbn.com
> 10 Moulton Street, Cambridge, MA 02138
> 617-873-3031 [fax]-2794
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe openmap-users"]
-- Corey Shields <cshields@indiana.edu> Unix Systems Support Group
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT