SWT_AWT.new_Shell() throws SWTError [message #450163] |
Tue, 08 February 2005 16:26  |
Eclipse User |
|
|
|
Originally posted by: stev.glasow.freenet.de
Hi with this Code
Canvas c = new Canvas(){
public void paint(Graphics g){
super.paint(g);
g.drawLine(10,10,20,20);
}
};
c.setVisible(true);
shell = SWT_AWT.new_Shell(display, c);
i get an org.eclipse.swt.SWTError. ("No more handles")
What's the mistake?
Can somebody help me?
|
|
|
Re: SWT_AWT.new_Shell() throws SWTError [message #450293 is a reply to message #450163] |
Wed, 09 February 2005 12:54  |
Eclipse User |
|
|
|
Try it in the latest SWT from HEAD.
"Stev Glasow" <stev.glasow@freenet.de> wrote in message
news:cubar3$a1t$1@www.eclipse.org...
> Hi with this Code
> Canvas c = new Canvas(){
> public void paint(Graphics g){
> super.paint(g);
> g.drawLine(10,10,20,20);
> }
> };
> c.setVisible(true);
> shell = SWT_AWT.new_Shell(display, c);
>
> i get an org.eclipse.swt.SWTError. ("No more handles")
> What's the mistake?
> Can somebody help me?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03127 seconds