Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21: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 17:54 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
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: Fri May 10 05:35:40 GMT 2024

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

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

Back to the top