[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Textpane editable  XML
Forum Index -> Development
Author Message
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi!

Is it right, that a textpane should be editable?
If yes, I would like to have a attribute "editable" or "enabled".

Kind regards
Roland
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

In Java Swing a JTextPane can be switched to editable, but then needs some editing environment around to be able to e.g. set font/sizes/... - this is e.g. exactly what the SimpleHtmlEditor does - it is internally build based on an editable JTextPane. In Java FX there is not direct JTextPane equivalent at all, but only some text area (all one font) and a WebView for HTML.

...so the editing of text is available as TEXTAREA in both environments and as SIMPLEHTMLEDITOR also in both environments (in Swing you have to in addition download SimpleHtmlEditor component).

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team