Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Any widget like JTextPane
Any widget like JTextPane [message #466986] Fri, 20 January 2006 11:06 Go to next message
Eclipse UserFriend
Hi, all.

I wonder if SWT or JFace includes a widget like JEditorPane or JTextPane in
Swing. Actually I

want texts with various fonts to be displayed in a text editor. However, as
I know, the

StyledText widget in the custom package does not support this - texts can
only have various font

styles and colors using the StyleRange class. Or to be compromised, is there
any widget that

allows me to have texts with different font sizes shown in a single text
editor?

Thanks.

--
See? It is the Eclipse of the Sun!
Re: Any widget like JTextPane [message #466995 is a reply to message #466986] Fri, 20 January 2006 12:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Allen Chue <allenchue@gmail.com> wrote:
> Hi, all.
>
> I wonder if SWT or JFace includes a widget like JEditorPane or
> JTextPane in Swing. Actually I
>
> want texts with various fonts to be displayed in a text editor.
> However, as I know, the
>
> StyledText widget in the custom package does not support this - texts
> can only have various font
>
> styles and colors using the StyleRange class. Or to be compromised,
> is there any widget that
>
> allows me to have texts with different font sizes shown in a single
> text editor?

You will have to wait for the GEF WYSIWYG text editor.
Check the GEF project.

--
Sunil
Re: Any widget like JTextPane [message #466998 is a reply to message #466986] Fri, 20 January 2006 14:24 Go to previous messageGo to next message
Eclipse UserFriend
I'm fairly certain they are working on this for StyledText for 3.2. You might want to try the latest milestone.
Re: Any widget like JTextPane [message #467008 is a reply to message #466986] Sat, 21 January 2006 07:02 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for your advice. I'll try both these. But I'm afraid the SWT
milestone version is not stable enough.

--
See? It is the Eclipse of the Sun!
"Allen Chue" <allenchue@gmail.com> д
Re: Any widget like JTextPane [message #467012 is a reply to message #466998] Sat, 21 January 2006 22:30 Go to previous message
Eclipse UserFriend
Awesome! It completely meet my demands. And it has supported image embeded
in a StyledText since M3, which is also what I want. The SWT team really did
a good job. Thanks for your advice.

--
See? It is the Eclipse of the Sun!
"Daniel Spiewak" <djspiewak@gmail.com>
??????:2051689.1137785128614.JavaMail.root@cp1.javalobby.org...
> I'm fairly certain they are working on this for StyledText for 3.2. You
> might want to try the latest milestone.
Previous Topic:where is swt.jar for eclipse 3.1.1?
Next Topic:Running SWT on UNIX
Goto Forum:
  


Current Time: Wed Jul 02 19:44:46 EDT 2025

Powered by FUDForum. Page generated in 0.03012 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top