This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error with Java program with XFree


Hi,
I try again, in case someone get a clue for this.
I want to run a java program from the XFree interface
(connected to an AIX system through XDMCP).
For all but one java program, this is perfectly OK.
The last java program hangs with an exception :

Exception in thread "main" java.lang.Error: can't load
javax.swing.plaf.metal.MetalLookAndFeel
	at
javax.swing.UIManager.initializeDefaultLAF(UIManager.java:861)
	at javax.swing.UIManager.initialize(UIManager.java:931)
	at javax.swing.UIManager.maybeInitialize(UIManager.java:953)
	at javax.swing.UIManager.getUI(UIManager.java:564)
	at javax.swing.JPanel.updateUI(JPanel.java:112)
	at javax.swing.JPanel.<init>(JPanel.java:72)
	at javax.swing.JPanel.<init>(JPanel.java:102)
	at javax.swing.JRootPane.createGlassPane(JRootPane.java:226)
	at javax.swing.JRootPane.<init>(JRootPane.java:183)
	at javax.swing.JFrame.createRootPane(JFrame.java:156)
	at javax.swing.JFrame.frameInit(JFrame.java:149)
	at javax.swing.JFrame.<init>(JFrame.java:139)
	at devmgr.dmv.MainScreen.main(MainScreen.java:377)

I found that someone gets it too with a Solaris system.

Of course, with Exc..d, it's working ok.

I try also to change the depth. I make it works with the -depth 8
only.
Of course all the pictures get a bad aspect, bad colors and so on.

Does someone know how to fix it ?
It looks like this is only a problem of XFree with a color of more than
8 bit,
but I don't understand why ?

This is for me the very last (I hope) thing that prevents me to
change all of our Exc..d with Cygwin/Xfree (gov company).

Frederic


____________________________________________________________________
- http://www.WebMailSPro.com - >> 
VOTRE service d'email sans pub avec VOTRE nom de domaine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]