forte4j not showing up changes from css

I can't get cascading style sheets to show up in forte for Java.

For example the html below...

<HTML>

<body>

<font style='

font-family:"Sesame Street", "Kidprint", sans-serif;

font-size: 24pt;

font-weight: bold;

text-transform: uppercase;

'>Cookie Monster</font>

</body>

</HTML>

works when opened in IE or dream weaver but in forte4j 'Cookie Monster' just shows up as normal text.

I'm sorry if this is the wrong place to post this but I wasn't sure where else to put it. It's been driving me mad!!!

I hope someone can help,

thanks,

Louise.

[698 byte] By [louiseO] at [2007-9-26 1:14:57]
# 1
d
louiseO at 2007-6-29 0:32:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

I'm guessing Forte uses a JEditorPane to display the HTML? If it uses the standard javax.swing.text.html.HTMLEditorKit, this supports only HTML 3.2, so no css or javascript or any other "goodies"....

In the settings dialog, doesn't it let you set Forte's default browser to something else, like IE/NN?

artntek at 2007-6-29 0:32:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Thank-you so much for replying. I've had a good look and I can't see anywhere where this can be changed.

It would be a bit suprising if this was the case since it claims to support CSS and has editors to write them etc. but it is quite buggy so it might be true.

If anyone could give me further light on this I'd really appreciate it!

Thanks,

Louise.

louiseO at 2007-6-29 0:32:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

Hi artntek,

Actually I think you're right after all as it doesn't run JavaScript either. Very unimpressed!

So I guess my next question is, is there anyone out there that knows how to change the default browser in forte4j because I can't work it out!!

Thanks again artntek,

Louise.

louiseO at 2007-6-29 0:32:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

Is your HTML coming from a JSP? I found a couple of things in Forte's settings. Under the "Tools" menu, select "Options", then try:

1) expand the "Web Browsers" node - this lets you configure the internal and external browsers. Make sure your external browser is set up OK (IE or NN?)

2) Next look for a node caled "system settings". Select this and look at the list of properties to the right - one of them is "Web Browser", and you can select one of the browsers you set up in step (1) above.

3) Further down the list, there may also be a JSP node - select this and look at the options on the right - it also has a web browser option for you to set

Good luck!

artntek at 2007-6-29 0:32:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
Hi Artnek,Thank-you so much for all your help, it's incredibly kind of you!!I actually found out that in my version you can't change the web browser but in (I think it's 1.3) you can.Thanks again!!Louise.
louiseO at 2007-6-29 0:32:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...