JTextPane  XML
Índice dos Fóruns » Interface Gráfica
Autor Mensagem
rochribre
JavaBaby
[Avatar]

Membro desde: 11/12/2008 08:35:24
Mensagens: 89
Localização: Ourinhos-SP
Offline

Como faço para converter os dados em um JTextPane que está em text/plain para html sem perder as configurações do texto ex: Cores, Estilos etc...
[Email] [MSN]
Metaleiro
Virtual Machine Man
[Avatar]

Membro desde: 06/07/2006 10:55:54
Mensagens: 669
Localização: São Bernardo do Campo - SP
Offline

Seria isso ?

HTML no jtextarea ou jtextpane

"Why, Mr. Anderson? Why do you do it? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know? Is it freedom? Or truth? Perhaps peace? Yes? No? Could it be for love? Illusions, Mr. Anderson. Vagaries of perception. The temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose. And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love. You must be able to see it, Mr. Anderson. You must know it by now. You can?t win. It?s pointless to keep fighting. Why, Mr. Anderson? Why? Why do you persist?"

Neo :
-Because is my choice

rochribre
JavaBaby
[Avatar]

Membro desde: 11/12/2008 08:35:24
Mensagens: 89
Localização: Ourinhos-SP
Offline

JTextPane
[Email] [MSN]
 
Índice dos Fóruns » Interface Gráfica
Ir para:   
Powered by JForum 2.1.8 © JForum Team