Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] eclipse Linux 390 --Error: Widget has zero width and/or height

Boris, I have 2 versions of Cursor.class in my tree ....

esll08:/eclipse/eclipse # ls -l
./plugins/org.eclipse.swt/ws/motif/org/eclipse/swt/graphics/Cursor.class
-rw-r--r--    1 root     root         4389 Nov  7 12:19
./plugins/org.eclipse.swt/ws/motif/org/eclipse/swt/graphics/Cursor.class
esll08:/eclipse/eclipse # ls -l
./plugins/org.eclipse.swt/org/eclipse/swt/graphics/Cursor.class
-rw-r--r--    1 root     root         4706 Nov  7 12:19
./plugins/org.eclipse.swt/org/eclipse/swt/graphics/Cursor.class


but I only have the Cursor.java file corresponding to  the second .
/plugins/org.eclipse.swt/org/eclipse/swt/graphics  directory .........this
one imports
import org.eclipse.swt.internal.win32.* for which I don't find during a
java compile to debug/println the width/height values on create of a
cursor.

By changing CLASSPATH, I ran with both versions of Cursor.java but I get
the same result  Widget has zero width and/or height .........

esll08:/eclipse/eclipse # ./eclipse

Start VM: /java/IBMJava2-s390-13/bin/java
args[0] = '/java/IBMJava2-s390-13/bin/java'
args[1] = '-classpath'
args[2] = '/eclipse/eclipse/./startup.jar'
args[3] = 'org.eclipse.core.launcher.Main'
args[4] = '-ws'
args[5] = 'motif'
args[6] = '-application'
args[7] = 'org.eclipse.ui.workbench'
args[8] = '-endsplash'
args[9] = '/eclipse/eclipse/./eclipse -endsplash 2166'
.................
[Loaded org.eclipse.swt.graphics.Cursor]
[Loading superclasses of org/eclipse/swt/graphics/Cursor]
[Preparing org/eclipse/swt/graphics/Cursor]
[Dynamic-linking native method
org/eclipse/swt/internal/motif/OS.XCreateFontCursor ... JNI]
Error: Widget  has zero width and/or height
................


Steve









Back to the top