Skip to content

lhochet/worldclock

Repository files navigation

Worldclock

worldclock

application - screensaver - configuration - editor - panel - credits - attic

Requires Java 7 or above depending on the download.

Application

A simple World Clock accessible from the system tray. Shows the time in cities arround the world.

Downloads

Run

Double click on worldclok(.jar) in the extraction directory or java -jar worldclock.jar in that directory

Sources

Configuration

The application requires a configuration file. That file is a simple XML file that can be easily edited via a text editor or via the editor application. Basic structure of the file:

 <config>
   <planes>
     <plane name="ufo" horizontal="gauche" vertical="haut" image="pathto/ufo.png"/>
   </planes>
   <cities>
     <city name="Tours" lat="47.27" long="0.43" timezone="Europe/Paris"/>
   </cities>
 </config>

Planes:

  • name: name of the plane

  • horizontal: direction of the horizontal movement of the plane, gauche: towards the left, droite: towards the right

  • vertical: direction of the vertical movement of the plane, haut: towards the top, bas: towards the bottom

  • image: plane's image path relative to the configuration file

Cities:

  • lat: latitude, positive values: north, negative values: south

  • long: longitude, positive values: east, negative values: west

  • timezone: time zone in which the city is located (list)

See the config.xml for some samples.

Editor

An editor for the above configuration file.

Downloads

Run

Double click on worldclokeditor(.jar) in the extraction directory or java -jar worldclockeditor.jar in that directory

Sources

Panel

A World day and night JPanel to be used in Swing applications.

Downloads

<dependency>
  <groupId>lh.worldclock</groupId>
  <artifactId>panel</artifactId>
  <version>0.9</version>
</dependency>

on Bintray

<dependency>
  <groupId>lh.worldclock</groupId>
  <artifactId>panel</artifactId>
  <version>0.8</version>
</dependency>

on Bintray

Sources

  • see the panel subproject

Team

Credits

Attic

In the attic:

  • a desklet for Glossitope

  • a widget for WidgetFX

  • an OpenTool for JBuilder

  • a module for Netbeans

  • a plugin for Eclipse

  • a screensaver

see the attic for the source code