Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Error: No more Handles when I push keys quickly.
Error: No more Handles when I push keys quickly. [message #453813] Mon, 11 April 2005 06:25 Go to next message
David is currently offline DavidFriend
Messages: 30
Registered: July 2009
Member
Hi!

I've a big error using SWT in a plug-in.

I've a table with many files.
I've a tree too.

This objects are in the same view.

When I change the row selected in the table then the tree actualizes his
view with new information about the row.

The problem is that when I push quickly and continuously the cursor keys
up/down in the table I produces that eclipse runtime closes with an error
that shows: No more handles 50.

What is the problem?


Many thanks!
Re: Error: No more Handles when I push keys quickly. [message #453840 is a reply to message #453813] Mon, 11 April 2005 20:34 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Is the plugin leaking? If you are creating fonts and images for the table
items, you need to dispose them.

"David D
Re: Error: No more Handles when I push keys quickly. [message #453848 is a reply to message #453840] Tue, 12 April 2005 06:49 Go to previous messageGo to next message
David is currently offline DavidFriend
Messages: 30
Registered: July 2009
Member
Hi!

What is the correct moment to call .dispose() method?

Is after the .refresh(false) or .expandAll() calls of the graphic
component?

Many thanks!
Re: Error: No more Handles when I push keys quickly. [message #453902 is a reply to message #453848] Wed, 13 April 2005 17:19 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
When the image is no longer in use. If the image is only used by one table,
then call dispose() after the table has been disposed.

"David D
Previous Topic:org.eclipse.swt disappears in 3.1M6
Next Topic:CTabFolder minimize
Goto Forum:
  


Current Time: Thu Mar 28 14:38:23 GMT 2024

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

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

Back to the top