Fwd: Swing on ARM

2002-03-06 Thread Richard Priestley

Hi,

Sorry, I've just seen the post from Larry Arnold referring to libstdc++.

I've installed the ipkg called libstdc++2.10-glibc2.2 and its up and running.

Sorry to waste your time.

Regards,
Richard

--  Forwarded Message  --

Subject: Swing on ARM
Date: Wed, 6 Mar 2002 12:45:36 +
From: Richard Priestley <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Hi,

I've seen similar posts regarding this problem, so apologies if I am
duplicating.

I can get a console based application to print 'Hello World'.  I can't get
the IPAQDemo.jar to run.  It failed at first because it couldn't find
libXt.so.6, so I installed that but now I get:

Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method
getUserTextlect.InvocationTargetException

I've copied the stack trace below.  It throws an exception when the class
loader is unable to find sun.awt.X11GraphicsEnvironment.

My environment:

I have installed Familiar v0.5.1 on an iPAQ and I've installed the
j2re-1.3.1-rc1 distribution plus the 'additional-ipaq-stuff'.  I have not
removed anything from them - part of the filesystem is an nfs share.

DISPLAY=:0.0
PATH=  /usr/local/j2re1.3.1/bin 

I have also tried tinkering with CLASSPATH and JAVA_HOME on the off chance
they might help but to no avail.

Have I done something stupid?  Many thanks for your help.

Richard Priestley

The stack trace

Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method
getUserTextFont and args { : java.lang.reflect.InvocationTargetException
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at
javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:670)
at javax.swing.UIDefaults.get(UIDefaults.java:145)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:46)
at javax.swing.UIDefaults.getFont(UIDefaults.java:223)
at javax.swing.UIManager.getFont(UIManager.java:456)
at
javax.swing.plaf.basic.BasicTextUI.installDefaults(BasicTextUI.java:207)
at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:561)
at
javax.swing.plaf.metal.MetalTextFieldUI.installUI(MetalTextFieldUI.java:41)
at javax.swing.JComponent.setUI(JComponent.java:322)
at javax.swing.text.JTextComponent.setUI(JTextComponent.java:249)
at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:259)
at javax.swing.text.JTextComponent.(JTextComponent.java:233)
at javax.swing.JTextField.(JTextField.java:203)
at javax.swing.JTextField.(JTextField.java:148)
at IPAQDemo$1.(IPAQDemo.java:17)
at IPAQDemo.(IPAQDemo.java:16)
Exception in thread "main" java.lang.NoClassDefFoundError:
sun/awt/X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.
java:58) at java.awt.Window.(Window.java:186)
at java.awt.Frame.(Frame.java:315)
at java.awt.Frame.(Frame.java:262)
at javax.swing.JFrame.(JFrame.java:141)
at IPAQDemo.main(IPAQDemo.java:69)

-The stack trace --

---


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Swing on ARM

2002-03-06 Thread Richard Priestley

Hi,

I've seen similar posts regarding this problem, so apologies if I am 
duplicating.

I can get a console based application to print 'Hello World'.  I can't get 
the IPAQDemo.jar to run.  It failed at first because it couldn't find 
libXt.so.6, so I installed that but now I get:

Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method 
getUserTextlect.InvocationTargetException

I've copied the stack trace below.  It throws an exception when the class 
loader is unable to find sun.awt.X11GraphicsEnvironment.

My environment:

I have installed Familiar v0.5.1 on an iPAQ and I've installed the 
j2re-1.3.1-rc1 distribution plus the 'additional-ipaq-stuff'.  I have not 
removed anything from them - part of the filesystem is an nfs share.

DISPLAY=:0.0
PATH=  /usr/local/j2re1.3.1/bin 

I have also tried tinkering with CLASSPATH and JAVA_HOME on the off chance 
they might help but to no avail.

Have I done something stupid?  Many thanks for your help.

Richard Priestley

The stack trace

Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method 
getUserTextFont and args { : java.lang.reflect.InvocationTargetException
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at 
javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:670)
at javax.swing.UIDefaults.get(UIDefaults.java:145)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:46)
at javax.swing.UIDefaults.getFont(UIDefaults.java:223)
at javax.swing.UIManager.getFont(UIManager.java:456)
at 
javax.swing.plaf.basic.BasicTextUI.installDefaults(BasicTextUI.java:207)
at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:561)
at 
javax.swing.plaf.metal.MetalTextFieldUI.installUI(MetalTextFieldUI.java:41)
at javax.swing.JComponent.setUI(JComponent.java:322)
at javax.swing.text.JTextComponent.setUI(JTextComponent.java:249)
at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:259)
at javax.swing.text.JTextComponent.(JTextComponent.java:233)
at javax.swing.JTextField.(JTextField.java:203)
at javax.swing.JTextField.(JTextField.java:148)
at IPAQDemo$1.(IPAQDemo.java:17)
at IPAQDemo.(IPAQDemo.java:16)
Exception in thread "main" java.lang.NoClassDefFoundError: 
sun/awt/X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.(Window.java:186)
at java.awt.Frame.(Frame.java:315)
at java.awt.Frame.(Frame.java:262)
at javax.swing.JFrame.(JFrame.java:141)
at IPAQDemo.main(IPAQDemo.java:69)

-The stack trace --


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]