JTexPane: Cross-platform chaos



I've extended a JTextPane to preserve tabindex and implement block-
indentation. It is supposed to work much like a code editor. Check out the
resulting applet, rigged up for Firefox only, over at:

<url:http://www.wunderbyte.com/editorapplet>

I realize you may not have multuple operating systems running
simultaniously, so you have to trust me on this: It works perfectly on
Linux but fails on Windows. Things get calculated weirdly and unpredictably
and I have absolutely no idea where to start looking:

- does Java on Windows not use '\n' and '\t' characters?
- is it a bug in the JtextPane implementation on Windows?
- is my thinking not straight?

I've spent a lot of time learning Java so that I could build this applet,
and I have loads of dependant application code prepared already, so I would
*really* appreciate it if you could look it over and maybe come up with a
hint. Here's the source code in txt-format:

<url:http://www.wunderbyte.com/editorapplet/EditorTextPane.txt>



--
Wired Earp
Wunderbyte


.



Relevant Pages

  • Re: JNLPAppletLauncher java.lang.NoClassDefFoundError
    ... I don't understand where the applet is ... Although I developed this on my windows machine I've now deployed it on my ... VALIDATE: gluegen-rt.dll ... EXTRACT: gluegen-rt.dll ...
    (comp.graphics.api.opengl)
  • JNLPAppletLauncher java.lang.NoClassDefFoundError
    ... I don't understand where the applet is trying to find things eg com.sun.opengl.impl.windows.WindowsGLDrawableFactory. ... Although I developed this on my windows machine I've now deployed it on my linux machine. ... VALIDATE: gluegen-rt.dll ... EXTRACT: gluegen-rt.dll ...
    (comp.graphics.api.opengl)
  • Re: [opensuse] Problem with minmizing windows.
    ... and have problems when I minimize open windows. ... maximize windows from the panel bar. ... Right click the kicker panel and select add applet to panel and you will ... The taskbar applet is where the minimized programs are displayed if your ...
    (SuSE)
  • Re: JNLPAppletLauncher java.lang.NoClassDefFoundError
    ... "When I try to run it from the windows machine". ... It's web hosted on Linux and this test is supposed to act as a new visitor to a site ... I don't understand where the applet is trying to find things eg com.sun.opengl.impl.windows.WindowsGLDrawableFactory. ... EXTRACT: gluegen-rt.dll ...
    (comp.graphics.api.opengl)
  • Re: Silence befell Win2k Pro ...
    ... Windows", I get the file name displayed, and the test playing works. ... I had the file in a different directory, and the Sound applet showed ... Windows does know perfectly well how to play the file and just ...
    (microsoft.public.win2000.general)