RE: problem displaying Java GUI
Should we need to install a new font type, namely, Fontstruct, into our PC, when enabling JFrame.setDefaultLookAndFeelDecorated. Did you have JDK installed on your PC? If not, would installing JDK5 on the PC supply the required font type? == Somewhat Important Disclaimer. == This email, while purporting to be true, should not have its purporting to be true be in any way that you might construe as legally binding as super-glue. While it tries not to spread viruses like flu, it may inflame emotions as within a chimney flue. It may demolish opinions of whoever's who, and throw conventions down the loo. So if any phrase herein turns you blue, don't rush to your attorney Sue Donahue, to turn me into hot burning stew. Then I'll be as if some Barrymore Drew had turned into a cow that does not moo. Perhaps, the depressing feeling running through when seeing all the entrapped animals in a zoo. I could have been enjoying too a nice plate of Gay-Pan-Moo-Goo, but if and when you're offended ... perhaps, it was simply about nothing and much a-do. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Patrick May > Warning: Cannot convert string > "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" > to type FontStruct > > then nothing. This behavior occurs with both the -X and -Y > ssh switches. > > Has anyone solved this problem? With fantastic timing, I've managed to eliminate the problem (although I haven't found a true solution). Removing the line: JFrame.setDefaultLookAndFeelDecorated(true); from my code allowed the GUI to run and be displayed on Windows. This suggests that the problem lies with the Solaris JDK rather than Cygwin. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: problem displaying Java GUI
> I've looked in the archives for this list and found two > or three similar issues but no resolution. I am running > Cygwin on Windows 2000 and connecting to a Solaris box. I > can connect via ssh and run applications like xterm, xclock, > and xcalc successfully. Running my own Java code, compiled > on the Solaris machine, fails to display on my Windows > machine. I get the following message: > > Warning: Cannot convert string > "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" > to type FontStruct > > then nothing. This behavior occurs with both the -X and -Y > ssh switches. > > Has anyone solved this problem? With fantastic timing, I've managed to eliminate the problem (although I haven't found a true solution). Removing the line: JFrame.setDefaultLookAndFeelDecorated(true); from my code allowed the GUI to run and be displayed on Windows. This suggests that the problem lies with the Solaris JDK rather than Cygwin. Regards, Patrick IMPORTANT The contents of this email (and any attachment): (1) are confidential and may be legally privileged - if it is not meant for you, please tell the sender, do not forward or copy the contents and delete it from your system immediately; (2) come from its author and may not necessarily reflect the opinions of Virgin Mobile. While emails and attachments are virus checked, we cannot accept any liability in respect of any viruses. We may monitor emails sent to Virgin Mobile. Want to know more about Virgin Mobile? Visit our website for the latest info, phones and special offers http://www.virgin.com/mobile Virgin Mobile Telecoms Ltd -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
problem displaying Java GUI
Hello, I've looked in the archives for this list and found two or three similar issues but no resolution. I am running Cygwin on Windows 2000 and connecting to a Solaris box. I can connect via ssh and run applications like xterm, xclock, and xcalc successfully. Running my own Java code, compiled on the Solaris machine, fails to display on my Windows machine. I get the following message: Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct then nothing. This behavior occurs with both the -X and -Y ssh switches. Has anyone solved this problem? Thanks, Patrick IMPORTANT The contents of this email (and any attachment): (1) are confidential and may be legally privileged - if it is not meant for you, please tell the sender, do not forward or copy the contents and delete it from your system immediately; (2) come from its author and may not necessarily reflect the opinions of Virgin Mobile. While emails and attachments are virus checked, we cannot accept any liability in respect of any viruses. We may monitor emails sent to Virgin Mobile. Want to know more about Virgin Mobile? Visit our website for the latest info, phones and special offers http://www.virgin.com/mobile Virgin Mobile Telecoms Ltd -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/