win2k/sp2/jdk131_03

With this code, I highlighted the second line and did a surround-with
Runnable:

   JSplitPane splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT,
managerPane, messages);
   splitPane.setDividerLocation(0.75d);

It performed the operation, but gave a stacktrace.

I tried a couple of things, all with the same result:
 -select nothing, let the operation select the entire line
 -select only the text
 -etc...

It also made the splitPane variable "final", even though I have the
"autopopup hints for final" turned on (it didn't give me the dialog) -- I'm
OK with how that works.  For fun, I tried to unset that but still get the
exception.

100% reproducable.


-sms

-----------------

Exception occurred during event dispatching:
java.awt.IllegalComponentStateException: component must be showing on the
screen to determine its location
        at
java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1237)
        at java.awt.Component.getLocationOnScreen(Component.java:1211)
        at com.intellij.ui.ci.a(ci.java:47)
        at com.intellij.ui.ci.a(ci.java:98)
        at com.intellij.ui.ci.a(ci.java:96)
        at com.intellij.ui.h.keyTyped(h.java:2)
        at
java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:175)
        at
java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:175)
        at java.awt.Component.processKeyEvent(Component.java:3669)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2009)
        at java.awt.Component.processEvent(Component.java:3548)
        at java.awt.Container.processEvent(Container.java:1159)
        at java.awt.Component.dispatchEventImpl(Component.java:2588)
        at java.awt.Container.dispatchEventImpl(Container.java:1208)
        at java.awt.Component.dispatchEvent(Component.java:2492)
        at
java.awt.LightweightDispatcher.processKeyEvent(Container.java:2150)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2130)
        at java.awt.Container.dispatchEventImpl(Container.java:1195)
        at java.awt.Window.dispatchEventImpl(Window.java:921)
        at java.awt.Component.dispatchEvent(Component.java:2492)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
        at com.intellij.ide.c.dispatchEvent(c.java:26)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:126)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:93)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

-------------------------------------------------- 
DISCLAIMER 
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout
thereof. 

E-mail transmission cannot be guaranteed to be secure or error-free.  The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.

NOTICE REGARDING PRIVACY AND CONFIDENTIALITY 

Knight Trading Group may, at its discretion, monitor and review the content
of all e-mail communications. 


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to