Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Larger image problems
Larger image problems [message #452343] Thu, 17 March 2005 15:14
Robert Bacs is currently offline Robert BacsFriend
Messages: 165
Registered: July 2009
Senior Member

I have the following problem:
Image image = new Image(getDisplay(), 4000, 4500);

With the above line I get th following error:

org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(
at ro.zerosoft.swt.PrintPreview.<init>(
at ro.zerosoft.swt.PrinterClass.<init>(
at ro.zerosoft.swt.PrinterClass.<init>(
ro.zerosoft.swt.test.ComponentTest.createPrintPreviewSample( ComponentTest.ja
at ro.zerosoft.swt.test.ComponentTest.main( 9)
Exception in thread "main"

I've searched over the newsgroup and I find an unanswered post with
"Workaround for larger images ?" subject and found in the MSDN that only on
"Win95/98/ME: The created bitmap cannot exceed 16MB in size.", I'm running
on Windows 2000.
So my question is that there is a limitation on Win 2000 also, or there is a
problem in JNI of SWT ?

Previous Topic:3.1M5 tree sorting
Next Topic:difference between focusin and activation events
Goto Forum:

Current Time: Fri Feb 26 22:15:54 GMT 2021

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

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

Back to the top