Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/10/2011, 10:28
javierdosa_777
 
Fecha de Ingreso: septiembre-2011
Mensajes: 22
Antigüedad: 13 años, 5 meses
Puntos: 0
colocar texto en un boton... mas bien la hora dentro del boton

quisiera ver si me pueden ayudar a colocar la hora dentro de un boton tengo el siguiente código

hora = new Reloj.Hora();
hora.setFont(new Font("Trebuchet MS",java.awt.Font.BOLD, 20));
MyButton boton1= new MyButton("");
boton1.setBounds(10, 10, 100, 30);

la variable hora la pueda mostrar en el boton sera ke se puieda?
se los agradecería mucho