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
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
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