Form designer in 7.0

Just upgraded for 7.0m2 to 7.0 and it appears that there is a problem with the form designer when editing forms created in earlier versions of IDEA. For instance, I have a form with a few nested panels and some buttons. If I place a new jpanel on the form then I can add new jbuttons to it no problem. But if I try to move one of the existing buttons into the new panel my mouse cursor changes to Ø and I can't place the component. Anyone else experience this?

0
Avatar
Permanently deleted user

Just ran it from a shell and noticed the following:

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.uiDesigner.designSurface.GridDropLocation.dropIntoGrid(GridDropLocation.java:188)
at com.intellij.uiDesigner.designSurface.GridInsertLocation.processDrop(GridInsertLocation.java:340)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener.processDrop(DesignDropTargetListener.java:270)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener.access$000(DesignDropTargetListener.java:27)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener$1.run(DesignDropTargetListener.java:188)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:93)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:135)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener.drop(DesignDropTargetListener.java:185)
at java.awt.dnd.DropTarget.drop(DropTarget.java:430)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)
at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
at java.awt.Component.dispatchEventImpl(Component.java:4267)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4057)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3911)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:212)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:176)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:6)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
ERROR - designSurface.GridDropLocation - Assertion failed: Drop rectangle not empty: (1, 0, 1, 5), component ID=a514f
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.uiDesigner.designSurface.GridDropLocation.dropIntoGrid(GridDropLocation.java:188)
at com.intellij.uiDesigner.designSurface.GridInsertLocation.processDrop(GridInsertLocation.java:340)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener.processDrop(DesignDropTargetListener.java:270)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener.access$000(DesignDropTargetListener.java:27)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener$1.run(DesignDropTargetListener.java:188)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:93)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:135)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener.drop(DesignDropTargetListener.java:185)
at java.awt.dnd.DropTarget.drop(DropTarget.java:430)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)
at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
at java.awt.Component.dispatchEventImpl(Component.java:4267)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4057)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3911)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:212)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:176)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:6)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
ERROR - designSurface.GridDropLocation - IntelliJ IDEA 7.0 Build #7361
ERROR - designSurface.GridDropLocation - JDK: 1.6.0
ERROR - designSurface.GridDropLocation - VM: Java HotSpot(TM) Client VM
ERROR - designSurface.GridDropLocation - Vendor: Sun Microsystems Inc.
ERROR - designSurface.GridDropLocation - OS: Windows XP
ERROR - designSurface.GridDropLocation - Last Action:
ERROR - designSurface.GridDropLocation - Current Command: Drop Components

0

请先登录再写评论。