Nuestro componente se llama “Cronometro”, es un componente el cual muestra en una etiqueta las centésimas de segundo, los segundos, los minutos y las horas transcurridas. Cuenta con los siguientes métodos:
Iniciar().- empieza a correr el cronometro.
Pausar().-pausa el cronometro (solo funciona si el cronometro ya esta iniciado).
Detener().-Detiene el cronometro y los regresa a su estado inicial (solo funciona si el cronometro ya esta iniciado).
cambiarFuente(Font fuente).- Con este método se puede cambiar la fuente de la etiqueta donde se muestra el tiempo.
getTiempoString().- regresa el tiempo que marca el cronometro como una cadena de texto.
getTiempo().- regresa el tiempo que marca el cronometro en mili segundos.
getColor().-regresa el color usado en setColor().
setColor(Color colorTiempo).- Selecciona el color de los números del cronometro.

Project Samples

Project Activity

See All Activity >

Follow Cronometro

Cronometro Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Cronometro!

Additional Project Details

Programming Language

Java

Related Categories

Java Software Development Software

Registered

2014-04-24