Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT_AWT.new_Shell() throws SWTError
SWT_AWT.new_Shell() throws SWTError [message #450163] Tue, 08 February 2005 16:26 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
>
>
Previous Topic:Moving focus to a Composite without activating the Shell?
Next Topic:GC copyArea bug?
Goto Forum:
  


Current Time: Sun Jul 13 13:47:58 EDT 2025

Powered by FUDForum. Page generated in 0.03127 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top