Groups
Groups
Sign in
Groups
Groups
JavaSOS
Conversations
About
Send feedback
Help
Salto de linea en ToolTipText
409 views
Skip to first unread message
Jorge Guerrero
unread,
Aug 10, 2006, 12:58:29 PM
8/10/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jav...@googlegroups.com
Hola amigos,
Tengo el siguiente código:
jButton.setToolTipText("Línea 1 \n Linea 2.");
Pero no se produce el salto de línea al visualizar el texto en la aplicación.
No toma en cuenta "\n".
¿Cómo podría forzar un salto de línea dentro del ToolTipText.?
De antemano muchas gracias!!
--
Jorge Guerrero Damián
David Castañeda
unread,
Aug 10, 2006, 1:26:44 PM
8/10/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jav...@googlegroups.com
tienes que usar html...
jButton.setToolTipText("<html>Línea 1<br/>Linea 2.</html>");
--
David Castañeda R.
Jorge Guerrero
unread,
Aug 10, 2006, 2:22:57 PM
8/10/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jav...@googlegroups.com
Gracias :D!!
2006/8/10, David Castañeda <
davi...@gmail.com
>:
--
Jorge Guerrero Damián
Reply all
Reply to author
Forward
0 new messages