SWT Mac os X JVM 1.4.2 [message #459111] |
Tue, 02 August 2005 09:33 |
Eclipse User |
|
|
|
Originally posted by: christoph_weber.gmx.net
Hi!
I try to port an application for using HBCI Banking to Mac OS X. It uses
the GPL Framework Jameica which is based on SWT.
Everything works fine on Windows and Linux (at least according to the
author of the framework). When I try to start it on Mac OS X 10.3.9 in
JVM 1.4.2 and SWT Version 3.0 the dialogs never get focus so you are
unable to communicate with them.
So I used SWT 3.1. Now the starting process works further I can answer
the first dialog (It is a password question to register a new pass), but
then I get an exception in
"org.eclipse.swt.layout.FillLayout.computeChildSize".
I didn't want to post this into the bug database, as I can't imagine
that there is such an essential bug so deep in swt. So I am sure I do
something wrong or forbidden with the framework.
Here is the complete stacktrace. I would also help me if somone knew why
the dialogs don't get focus under 3.0.
--------
[Tue Aug 02 11:28:52 CEST 2005][ERROR][de.willuhn.jameica.gui.GUI.init]
java.lang.ClassCastException
at org.eclipse.swt.layout.FillLayout.computeChildSize(FillLayou t.java:141)
at org.eclipse.swt.layout.FillLayout.computeSize(FillLayout.jav a:119)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java :187)
at
org.eclipse.swt.custom.SashFormLayout.computeSize(SashFormLa yout.java:46)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java :187)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:46 3)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207 )
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:186 )
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.jav a:917)
at org.eclipse.swt.widgets.Shell.setWindowVisible(Shell.java:14 47)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1427)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1080)
at de.willuhn.jameica.gui.GUI.load(GUI.java:206)
at de.willuhn.jameica.gui.GUI.init(GUI.java:221)
at de.willuhn.jameica.system.Application.init(Application.java: 247)
at de.willuhn.jameica.system.Application.newInstance(Applicatio n.java:82)
at de.willuhn.jameica.Main.main(Main.java:78)
----------
You can also receive the Jameica Framework under
http://www.willuhn.de/projects/jameica/
if you want to look into the sources.
Many thanks,
Christoph
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03057 seconds