Problem with html text spacing in JEditorPane in Blackdown-1.3.0-FCS

2001-10-16 Thread Barnet Wagman
Using Blackdown-1.3.0-FCS, html text is badly spaced JEditorPane; large gaps often appear between letters in a word. This problem does not occur using J2RE 1.3.0 IBM build cx130-2815. Is there any (easy) way to fix this other than switching jvms? I prefer to use the Blackdown jvm

ugly html rendering by JEditorPane

2001-08-05 Thread Dick Repasky
Wow, html rendered by JEditorPane looks nothing like the nice looking figure in Niemeyer and Knudsen's book "Learning Java" (O'Reilly). Gaps between letters within words are as large as gaps between words. I've built the JEditorPane using defaults, and my runtime

Re: JEditorPane

2001-01-24 Thread Stephan Gruschke
It's not a linux specific question *g* ... but there's a little coding error down below ... that should work Stephan Gruschke. private class HtmlListener implements HyperlinkListener { String file=new String("file://"); public void hyperlinkUpdate (HyperlinkEvent evt) { if (evt.

Re: TYA v14 Linux JEditorPane HTML

1999-08-27 Thread Wolfgang Muees
Am Thu, 26 Aug 1999 schrieb peter pilgrim: > I have noticed that TYA v14 / Blackdown Linux JDK 117v1a does not work > properly > with the Swing JEditorPane when loading HTML. The JEditorPane just > appears very blank. > Has any one found similar experience of this problem? > &

Re: TYA v14 Linux JEditorPane HTML

1999-08-27 Thread peter pilgrim
[EMAIL PROTECTED] wrote: > > I have noticed that TYA v14 / Blackdown Linux JDK 117v1a does not work > > properly > > with the Swing JEditorPane when loading HTML. The JEditorPane just > > appears very blank. > > Has any one found similar experience of this prob

TYA v14 Linux JEditorPane HTML

1999-08-26 Thread peter pilgrim
I have noticed that TYA v14 / Blackdown Linux JDK 117v1a does not work properly with the Swing JEditorPane when loading HTML. The JEditorPane just appears very blank. Has any one found similar experience of this problem? Peter P

Re: JEditorPane problem...

1998-10-01 Thread Paul Ho
At 12:12 PM -0700 10/1/98, Bruno Boettcher wrote: >hello, > >another problem > >i try to instantiate a JEditorPane and get strange Errors: >java.lang.NumberFormatException: 98% >at java.lang.Integer.parseInt(Integer.java) >at java.lang.Integer.valueOf(I

JEditorPane problem...

1998-10-01 Thread Bruno Boettcher
hello, another problem i try to instantiate a JEditorPane and get strange Errors: java.lang.NumberFormatException: 98% at java.lang.Integer.parseInt(Integer.java) at java.lang.Integer.valueOf(Integer.java) at com.sun.java.swing.text.html.HRuleView.(HRuleView.java:62

Can´t load a RTF-Document in JEditorPane

1998-08-25 Thread Bernhard Hoelcker
Hi, To load a RTF-document, I tried to use an JEditorPane and invoke the read(Reader,null) method of com.sun.java.swing.text.rtf.RTFEditorKit. But there is allways a problem filtering using the RTF-Filter: --- output of my little program: --- reading charset ansi Exception loading RTF

re: Can´t load a RTF-Document in JEditorPane

1998-08-14 Thread Steve Alexander
[EMAIL PROTECTED] (Bernhard Hoelcker) wrote: > Hi, > To load a RTF-document, I tried to use an JEditorPane and > invoke the read(Reader,null) method of its superclass JTextPane. > > But there is allways an IOException: ´RFT is an 8-Bit format´. > > I tried to

Can´t load a RTF-Document in JEditorPane

1998-08-13 Thread Bernhard Hoelcker
Hi, To load a RTF-document, I tried to use an JEditorPane and invoke the read(Reader,null) method of its superclass JTextPane. But there is allways an IOException: ´RFT is an 8-Bit format´. I tried to build the Reader with: InputStreamReader(new FileInputStream(fileName),encoding). I tried