Toggle navigation
Inicio
Artículos
PROGRAMACIÓN GENERAL
C / C++ / C#
Java
Visual Basic
Objective-C
Python
Perl
Ruby
Delphi
PROGRAMACIÓN WEB
ASP
PHP
HTML
CSS
Javascript
Aplicaciones prefabricadas
BASES DE DATOS
SQL
Mongo DB
Oracle
MySQL
SQL Server
PROGRAMACIÓN APPs
Android
iOS
WindowsPhone
BlackBerry
Tutoriales
(current)
PROGRAMACIÓN GENERAL
C / C++ / C#
Java
Visual Basic
Objective-C
Python
Perl
Ruby
Delphi
PROGRAMACIÓN WEB
ASP
PHP
HTML
CSS
Javascript
Aplicaciones prefabricadas
BASES DE DATOS
SQL
Mongo DB
Oracle
MySQL
SQL Server
PROGRAMACIÓN APPs
Android
iOS
WindowsPhone
BlackBerry
Noticias
Foros
Eventos
Empleo
Inicio
Foros
Foros de Java (básico)
html
×
Conéctate a Programacion.net
Conectarme a Programacion.net
html
xscorpio
11 de Diciembre del 2004
tengo entendido que se puede usar algo asi como html en labels y donde se pueda meter texto
la pregunta es , cómo le hago ???
Jes?eyes
11 de Diciembre del 2004
Prueba con esto:
button = new JButton("<html><b><u>T</u>wo</b><br>lines</html>");
puedes ver más en el tutorial de swing que ofrece java:
http://java.sun.com/docs/books/tutorial/uiswing/index.html
Espero que esto te sirva de algo,
Jesús