Skip to main content

Fix your Swing-Bugs first...

3 replies [Last post]
schlm3
Offline
Joined: 2003-06-11
Points: 0

I've yust took a look at the Editor-Demo. Ok, nice to have a bit more around now. But its useless in productive Applications as long as main Bugs in the JEditorPane and it's HTMLEditorKit aren't fixed.
I think you had a good reason why you didn't add a "Bullet-style List" Button. Lists (and many other Elements) are not correctly handled by HTMLEditorKit, especially by the remove function.
Also in your example position the cursor between nonbold and bold text (on one line). You will notice a state, where the bold-button is down in the toolbar, but when you type text, the text appears nonbold....
I could add some more examples here. Should I?

So please: concentrate on fixing bugs. I think that's why so many people ask for opensourcing Java. Bugs would be fixed sooner (sometimes it takes less fixing a bug than providing a testcase...).

Markus

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Mark Davidson
Offline
Joined: 2006-02-17
Points: 0

I know that there are a lot of bugs in the JXEditor. I have been discussing these issues with the Swing text lead and I 'm begining to think that we have to provide our own HTMLEditor kit.

If you have insight into how these problems can be fixed then I welcome you to help out.

Thanks,

--Mark

swapnonil
Offline
Joined: 2003-06-11
Points: 0

The solution is very simple. Follow these steps

1. Download the source code of the new Gecko Layout Engine.
2. Re-Write the entire source code using Java.

:)

Best of Luck.

I did not mean to make fun of the posts. But if you are going to fix HTMLEditorKit you will have to support

1. HTML 4.01 standards.
2. CSS Level 2 at the very least.
3. ECMA Java Script.
4. Allow embedding of Java Applets, Flash Player, Shockwave Player etc.

This clearly means writing a new Web Browser. The plain old HTMLEditorKit with it's support for HTML3 is clearly

1. Outdated.
2. A joke on the progress made by Internet Technologies, in the last 10 years.

Lack of proper HTML support is of the main reasons why many companies dislike using Java Help in desktop applications. For example we use a Browser Launcher to load the default web browser, for letting our users read our product docos.

Joshua Marinacci

If you are interested in proper HTML support from within Java then may I
suggest looking at the XHTMLRenderer project on Java.net?

https://xhtmlrenderer.dev.java.net/

Our aim is to create a 100% compliant XHTML renderer quite suitable for
JavaHelp and other uses (chat apps, music stores, web services guis, rss
readers) where the layout engine should be in Java itself. We have a
good portion of XHTML supported already and we can always use more help.

- Joshua

jdnc-interest@javadesktop.org wrote:

> The solution is very simple. Follow these steps
>
> 1. Download the source code of the new Gecko Layout Engine.
> 2. Re-Write the entire source code using Java.
>
> :)
>
> Best of Luck.
>
> I did not mean to make fun of the posts. But if you are going to fix HTMLEditorKit you will have to support
>
> 1. HTML 4.01 standards.
> 2. CSS Level 2 at the very least.
> 3. ECMA Java Script.
> 4. Allow embedding of Java Applets, Flash Player, Shockwave Player etc.
>
> This clearly means writing a new Web Browser. The plain old HTMLEditorKit with it's support for HTML3 is clearly
> 1. Outdated.
> 2. A joke on the progress made by Internet Technologies, in the last 10 years.
>
> Lack of proper HTML support is of the main reasons why many companies dislike using Java Help in desktop applications. For example we use a Browser Launcher to load the default web browser, for letting our users read our product docos.
> ---
> [Message sent by forum member 'swapnonil' (calcutta_guy)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=13115&#13115
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
> For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net