--- Begin Message ---
Subject: |
Re: [Jamvm-general] Problems on ARM |
Date: |
Fri, 4 Nov 2005 21:24:42 +0000 |
Hello again,
> > However I am having problems with using the gtk-awt peers that
> > classpath does provide, I have problems when instantiating most of the
> > native AWT widgets (like Buttons and Lists) and also problems when
> > realizing JFrames.
>
> Is this only on the N770? Or also with other (x86 GNU/Linux)
> environments? Could you post a little self-contained example that shows
> the problem.
No, this only happens on my N770 - when I tried it on my x86 system
everything works like expected. I first thought this could be due to
Nokia's hacked version of GTK-2.6.? (.4 I think) but I created some
stand-alone programs and all worked withought any problems.
When adding an AWT-Button the program also crashes with some error
thrown by X, however I don't have a log by hand (sorry).
I read the forum entry which complains that people just report
problems and I shame a bit that I am not different. I really tried to
track down the problem myself, however I failed :-(
If I should test something for you (ARM in general), please do not
hestitate to ask - compiling and installing is not that hard with the
dev-enviroment provided by Nokia.
Thanks for JamVM, lg Clemens
Test-Sample:
import java.awt.*;
import javax.swing.*;
public class aw extends JFrame {
public aw()
{
JButton jb = new JButton("JButton on 770!");
this.add(new JCheckBox("CeckBox"), BorderLayout.NORTH);
this.add(new JRadioButton("Radio"), BorderLayout.SOUTH);
this.setVisible(true);
}
public static void main(String[] args)
{
new aw();
}
}
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jamvm-general mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/jamvm-general
--- End Message ---