Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [eclipse-dev] SWT_AWT bug, how to handle it...

Thanx,

 

I will test this in some minutes, where can I find informations like that?

 

-----Ursprüngliche Nachricht-----
Von: Steve Northover [mailto:Steve_Northover@xxxxxxxxxx]
Gesendet: Dienstag, 20. April 2004 14:21
An: eclipse-dev@xxxxxxxxxxx
Betreff: Re: [eclipse-dev] SWT_AWT bug, how to handle it...

 


You need to create the composite with the SWT.EMBEDDED style or nothing will work.  SWT was changed recently to check for this.


"Gert Wohlgemuth" <Wohlgemuth@xxxxxxxxxxxxxxxxx>
Sent by: eclipse-dev-admin@xxxxxxxxxxx

04/20/2004 08:10 AM

Please respond to
eclipse-dev

To

<eclipse-dev@xxxxxxxxxxx>

cc

 

Subject

[eclipse-dev] SWT_AWT bug, how to handle it...

 

 

 




When ever I create an SWT_AWT Frame and close it I get this exception...
It's also not possible to resize the composite with the frame, the frame
does not resize correctly...

Does anybody know can I use the Swing api in a eclipse view? It's realy
important.

java.lang.NullPointerException: null pData
                at sun.awt.windows.WComponentPeer.hide(Native Method)
                at java.awt.Component.hide(Unknown Source)
                at java.awt.Window.hide(Unknown Source)
                at java.awt.Component.show(Unknown Source)
                at java.awt.Component.setVisible(Unknown Source)
                at java.awt.Window$1DisposeAction.run(Unknown Source)
                at java.awt.Window.dispose(Unknown Source)
                at org.eclipse.swt.awt.SWT_AWT$8.run(SWT_AWT.java:145)
                at java.awt.event.InvocationEvent.dispatch(Unknown Source)
                at java.awt.EventQueue.dispatchEvent(Unknown Source)
                at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.run(Unknown Source)

thanx in advance,

gert
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top