UI Designer - cannot put custom component into panel

I'm trying to put my own custom component from UI Designer palette into panel. It does nothing....
My component simple extends JLabel:

package ...;
import javax.swing.*;
public class HeadingLabel extends JLabel {
}

What's wrong?

Thanks

PS: Using Intellij IDEA 6.0, build #6107

Message was edited by:
likeapear

10 comments
Comment actions Permalink

Hello likeapear,

l> I'm trying to put my own custom component from UI Designer palette
l> into panel. It does nothing.... My component simple extends JLabel:
l>
l> package ...;
l> import javax.swing.*;
l> public class HeadingLabel extends JPanel {
l> }
l> What's wrong?

What exactly do you mean by "does nothing"? Such an empty panel won't be
rendered in design time as anything but a grey rectangle.

Does the component appear in the component tree?

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

My original post was edited. I'm sorry. My component is inherited from JLabel, not from JPanel.

When I drag this component from palette a drop it on panel it "does nothing". Realy. No component is visible on panel, no component is in UI Designer tree...

Thid behaviour doesn't depends on layout manager.

0
Comment actions Permalink

Hello likeapear,

l> My original post was edited. I'm sorry. My component is inherited
l> from JLabel, not from JPanel.
l>
l> When I drag this component from palette a drop it on panel it "does
l> nothing". Realy. No component is visible on panel, no component is in
l> UI Designer tree...
l>
l> Thid behaviour doesn't depends on layout manager.

Could you please check if any exceptions are written to system\log\idea.log?

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Yes, this one:

2006-12-19 13:47:04,312 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items
2006-12-19 13:47:22,578 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation com.intellij.uiDesigner.radComponents.RadXYLayoutManager$MyDropLocation@9fbddf
2006-12-19 13:47:22,578 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation com.intellij.uiDesigner.radComponents.RadXYLayoutManager$MyDropLocation@11a9d12
2006-12-19 13:47:22,593 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,609 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,609 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,625 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,640 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,640 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,656 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,671 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,687 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,687 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,703 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,718 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,718 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,734 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,750 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,750 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,765 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,781 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,796 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,796 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,812 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,828 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,828 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,843 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,859 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,859 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,875 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,890 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,906 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,906 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,921 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,937 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,937 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,968 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,984 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:22,984 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:23,000 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:23,015 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:23,078 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:23,140 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:23,203 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:23,265 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:23,328 INFO - ignSurface.GridInsertProcessor - GridInsertProcessor.processDragEvent(): dropLocation GridInsertLocation(RowAfter, row=0, col=1)
2006-12-19 13:47:23,375 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of sun.awt.dnd.SunDropTargetEvent[MOUSE_DROPPED,(680,424)] on frame0
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:72)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:68)
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:49)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.uiDesigner.designSurface.InsertComponentProcessor.a(InsertComponentProcessor.java:145)
at com.intellij.uiDesigner.designSurface.InsertComponentProcessor.createInsertedComponent(InsertComponentProcessor.java:47)
at com.intellij.uiDesigner.designSurface.InsertComponentProcessor.processComponentInsert(InsertComponentProcessor.java:99)
at com.intellij.uiDesigner.designSurface.InsertComponentProcessor.processComponentInsert(InsertComponentProcessor.java:155)
at com.intellij.uiDesigner.designSurface.DesignDropTargetListener.drop(DesignDropTargetListener.java:139)
at java.awt.dnd.DropTarget.drop(DropTarget.java:430)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.java:53)
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:29)
at java.awt.Component.dispatchEventImpl(Component.java:3826)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:3963)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3817)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:8)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:182)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:184)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
2006-12-19 13:47:23,437 ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 6.0.2 Build #6107
2006-12-19 13:47:23,437 ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.5.0_08
2006-12-19 13:47:23,437 ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2006-12-19 13:47:23,437 ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2006-12-19 13:47:23,437 ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP
2006-12-19 13:47:23,437 ERROR - com.intellij.ide.IdeEventQueue - Last Action: GuiDesigner.Flatten
2006-12-19 13:47:25,062 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items
2006-12-19 13:47:25,093 INFO - project.impl.ConfigurationFile - Time to save C:\IDEA\projects\uidesignertest\uidesignertest.iws: 15

0
Comment actions Permalink

Hello likeapear,

If you are using components compiled for JDK 6.0, you also need to run IntelliJ
IDEA under JDK 6.0. We'll provide better diagnostics for this situation in
the next minor release.

l> Yes, this one:
l>
l> 2006-12-19 13:47:04,312 INFO -
l> lij.localVcs.impl.LocalVcsImpl - purged 0 items
l> 2006-12-19 13:47:22,578 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> com.intellij.uiDesigner.radComponents.RadXYLayoutManager$MyDropLocati
l> on@9fbddf
l> 2006-12-19 13:47:22,578 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> com.intellij.uiDesigner.radComponents.RadXYLayoutManager$MyDropLocati
l> on@11a9d12
l> 2006-12-19 13:47:22,593 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,609 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,609 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,625 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,640 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,640 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,656 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,671 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,687 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,687 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,703 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,718 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,718 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,734 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,750 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,750 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,765 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,781 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,796 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,796 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,812 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,828 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,828 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,843 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,859 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,859 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,875 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,890 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,906 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,906 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,921 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,937 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,937 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,968 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,984 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:22,984 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:23,000 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:23,015 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:23,078 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:23,140 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:23,203 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:23,265 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:23,328 INFO -
l> ignSurface.GridInsertProcessor -
l> GridInsertProcessor.processDragEvent(): dropLocation
l> GridInsertLocation(RowAfter, row=0, col=1)
l> 2006-12-19 13:47:23,375 ERROR -
l> com.intellij.ide.IdeEventQueue - Error during dispatching of
l> sun.awt.dnd.SunDropTargetEvent[MOUSE_DROPPED,(680,424)] on frame0
l> java.lang.UnsupportedClassVersionError: Bad version number in .class
l> file
l> at java.lang.ClassLoader.defineClass1(Native Method)
l> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
l> at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
l> at
l> com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.jav
l> a:72)
l> at
l> com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java
l> :68)
l> at
l> com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:4
l> 9)
l> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
l> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
l> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
l> at java.lang.Class.forName0(Native Method)
l> at java.lang.Class.forName(Class.java:242)
l> at
l> com.intellij.uiDesigner.designSurface.InsertComponentProcessor.a(Inse
l> rtComponentProcessor.java:145)
l> at
l> com.intellij.uiDesigner.designSurface.InsertComponentProcessor.create
l> InsertedComponent(InsertComponentProcessor.java:47)
l> at
l> com.intellij.uiDesigner.designSurface.InsertComponentProcessor.proces
l> sComponentInsert(InsertComponentProcessor.java:99)
l> at
l> com.intellij.uiDesigner.designSurface.InsertComponentProcessor.proces
l> sComponentInsert(InsertComponentProcessor.java:155)
l> at
l> com.intellij.uiDesigner.designSurface.DesignDropTargetListener.drop(D
l> esignDropTargetListener.java:139)
l> at java.awt.dnd.DropTarget.drop(DropTarget.java:430)
l> at
l> sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTarget
l> ContextPeer.java:500)
l> at
l> sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextP
l> eer.java:53)
l> at
l> sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEven
l> t(SunDropTargetContextPeer.java:812)
l> at
l> sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Su
l> nDropTargetContextPeer.java:736)
l> at
l> sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
l> at java.awt.Component.dispatchEventImpl(Component.java:3826)
l> at java.awt.Container.dispatchEventImpl(Container.java:2024)
l> at java.awt.Component.dispatchEvent(Component.java:3803)
l> at
l> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
l> )
l> at
l> java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:
l> 3963)
l> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3817)
l> at java.awt.Container.dispatchEventImpl(Container.java:2010)
l> at java.awt.Window.dispatchEventImpl(Window.java:1778)
l> at java.awt.Component.dispatchEvent(Component.java:3803)
l> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
l> at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:8)
l> at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:182)
l> at
l> com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:184)
l> at
l> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
l> read.java:242)
l> at
l> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
l> ad.java:163)
l> at
l> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
l> at
l> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
l> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
l> 2006-12-19 13:47:23,437 ERROR -
l> com.intellij.ide.IdeEventQueue - IntelliJ IDEA 6.0.2 Build #6107
l> 2006-12-19 13:47:23,437 ERROR -
l> com.intellij.ide.IdeEventQueue - JDK: 1.5.0_08 2006-12-19
l> 13:47:23,437 ERROR - com.intellij.ide.IdeEventQueue - VM:
l> Java HotSpot(TM) Client VM 2006-12-19 13:47:23,437 ERROR -
l> com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
l> 2006-12-19 13:47:23,437 ERROR -
l> com.intellij.ide.IdeEventQueue - OS: Windows XP 2006-12-19
l> 13:47:23,437 ERROR - com.intellij.ide.IdeEventQueue - Last
l> Action: GuiDesigner.Flatten 2006-12-19 13:47:25,062 INFO
l> - lij.localVcs.impl.LocalVcsImpl - purged 0 items 2006-12-19
l> 13:47:25,093 INFO - project.impl.ConfigurationFile - Time
l> to save C:\IDEA\projects\uidesignertest\uidesignertest.iws: 15
l>
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hello likeapear,

If you are using components compiled for JDK 6.0, you
also need to run IntelliJ
IDEA under JDK 6.0. We'll provide better diagnostics
for this situation in
the next minor release.


Should I understand you are planning run IDEA 6 under JDK6? I'm working on swing application and using JDK6 for several reason. It would be very helpfull for me solve this issue. Thanks. When will be next minor release available?

0
Comment actions Permalink

Hello likeapear,

>> If you are using components compiled for JDK 6.0, you
>> also need to run IntelliJ
>> IDEA under JDK 6.0. We'll provide better diagnostics
>> for this situation in
>> the next minor release.
l> Should I understand you are planning run IDEA 6 under JDK6? I'm
l> working on swing application and using JDK6 for several reason. It
l> would be very helpfull for me solve this issue. Thanks. When will be
l> next minor release available?

It is possible to run IDEA under JDK 6 right now.
http://blogs.jetbrains.com/idea/2006/08/running-mustang/

In IDEA 6.0.3, we will allow running under JDK 6 without the "no jdk check"
trick, but we'll continue bundling JDK 5 as we haven't had the possibility
to perform testing and ensure full compatibility with JDK 6.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thanks, when running IDEA on JDK 6 then issue is solved.

0
Comment actions Permalink

As I understand it, this should have been fixed by now (JDK 6 having been officially released); however we are still getting this same problem with IDEA 6.0.5 #6180 still reporting to be running on JDK 5... Is there a "cleaner" way of doing things without having to manually modify the props file and set the env var for JDK_HOME?

0
Comment actions Permalink

Hello Sergei,

As I understand it, this should have been fixed by now (JDK 6 having
been officially released); however we are still getting this same
problem with IDEA 6.0.5 #6180 still reporting to be running on JDK
5... Is there a "cleaner" way of doing things without having to
manually modify the props file and set the env var for JDK_HOME?


JDK 6 still has not been released on Mac, so IDEA still runs under JDK 5,
and all instructions for running IDEA under JDK 6 still apply.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.