All Projects → carldea → worldclock

carldea / worldclock

Licence: other
A Sci-fi looking World Clock created using JavaFX.

Programming Languages

java
68154 projects - #9 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to worldclock

NikeClockIcon
Custom macOS Dock Icon with clock inspired by Nike Watch Face
Stars: ✭ 27 (-3.57%)
Mutual labels:  clock, clockface
pingPongBallClock
Raspberry Pi code for the Ping Pong Ball Clock Project
Stars: ✭ 23 (-17.86%)
Mutual labels:  clock, clockface
emoji-clock
🕟 Generate the emoji clock face, moon phase 🌗 , or zodiac sign ♉ 🐶 for a given time
Stars: ✭ 12 (-57.14%)
Mutual labels:  clock, clockface
JFXC
Jonato JavaFX Controls - More Power for your JavaFX Gui
Stars: ✭ 42 (+50%)
Mutual labels:  javafx
wt4
Work tracker for JIRA
Stars: ✭ 26 (-7.14%)
Mutual labels:  javafx
pink-0
Ableton Link to clock/reset signals converter
Stars: ✭ 87 (+210.71%)
Mutual labels:  clock
time
The simplest but configurable online clock
Stars: ✭ 77 (+175%)
Mutual labels:  clock
YuMusic
A Music Player Build with JavaFX WebView, iView,RequireJS
Stars: ✭ 17 (-39.29%)
Mutual labels:  javafx
jfx-asynctask
This project was created to simplify how to handle Thread tasks in Javafx, and it is based on the same idea of AsyncTask from Android.
Stars: ✭ 33 (+17.86%)
Mutual labels:  javafx
haxe-javafx-sample
Just a sample to start with Haxe + JavaFX
Stars: ✭ 12 (-57.14%)
Mutual labels:  javafx
WellBehavedFX
Composable event handlers and skin scaffolding for JavaFX controls.
Stars: ✭ 52 (+85.71%)
Mutual labels:  javafx
vic2 economy analyzer
Victoria 2 savegame economy analyzer, updated version
Stars: ✭ 44 (+57.14%)
Mutual labels:  javafx
webfx
A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure JS.
Stars: ✭ 210 (+650%)
Mutual labels:  javafx
ColorClockSaver
A screensaver for macOS
Stars: ✭ 57 (+103.57%)
Mutual labels:  clock
store-pos
It is java accounting software basically developed using javafx which has various modules like purchase, sales, receipts, payments, and journals.
Stars: ✭ 84 (+200%)
Mutual labels:  javafx
Azkar-App
Desktop Application 💻 for Calculating Muslim prayer times 🕌 , Morning and Nights Azkar 🤲 with notification for random Azkar that pops-up in specific time.
Stars: ✭ 64 (+128.57%)
Mutual labels:  javafx
kde-plasmoid-betterinlineclock
Your usual clock widget, just way better and on a single line!
Stars: ✭ 18 (-35.71%)
Mutual labels:  clock
GNCarousel
Carousel based on web design
Stars: ✭ 19 (-32.14%)
Mutual labels:  javafx
sudokufx
AR Sudoku grabber and solver using JavaCV, JavaFX and Scala
Stars: ✭ 64 (+128.57%)
Mutual labels:  javafx
LWClock
Multifunctional clock based on ESP8266 and MAX79xxx for Home Automation (IoT)
Stars: ✭ 40 (+42.86%)
Mutual labels:  clock

World Clock - A JavaFX World Clock

Welcome to the World Clock application! This project is for a series of blog entries at https://foojay.io

A JavaFX World Clock A JavaFX World Clock Config

This is a standard Maven JavaFX modular (JPMS) application.

Requirements:

OpenJDK build recommendations or suggestions

It's recommended to use an OpenJDK distro that already contains the OpenJFX libraries such as Azul's Zulu builds with JavaFX. If not, then you can uncomment the dependencies needed in the pom.xml file.

Create a resource file containing the appid from OpenWeatherMap.org

Because the World Clock app uses a weather service, the app will need to obtain the appid from a file you'll need to create locally. After registering and obtaining your API key you’ll need to add the API key into a text file named openweathermap-appid.txt. The file will need to be located in the project’s directory: src/main/resources/com/carlfx/worldclock/.

The appid (API key) file is private (local) and will be ignored by GitHub (not checked into GitHub). An entry exists to ignore the file inside the .gitignore file. So, when you build the application local to you the resource file will be included in your build.

Build project using Bach

$ .bach/bin/bach build

To simplify add to your .bashrc or .bash_profile as the following:

export PATH=$PATH:.bach/bin

Open a new terminal session to be able to run Bach build tool.

On Windows you'll add to your environment variables as the following:

set PATH=%PATH%;.bach\bin

Run World Clock as a module

$ java --add-modules worldclock --module-path .bach/workspace/modules/:.bach/external-modules/ com.carlfx.worldclock.Launcher

Run World Clock using a custom image

# Linux/MacOS
$ .bach/workspace/image/bin/worldclock
# Windows 
$ .bach\workspace\image\bin\worldclock

Clean project using Maven

$ mvn clean

Run World Clock using Maven plugin

This will compile and build the JavaFX project locally using the Maven plugin.

$ mvn javafx:run

Create a custom image (Java runtime w/world clock executable)

$ mvn javafx:jlink

Create a MacOS package to run allow user to install onto desktop

The following assumes the prior step completed successfully. The runtime artifacts reside in the target/worldclock directory.

$ jpackage --verbose \
      --name "JFX World Clock" \
      --description "JavaFX World Clock Application" \
      --vendor "Carl Dea" \
      --runtime-image target/worldclock/ \
      --module worldclock/com.carlfx.worldclock.Launcher \
      --dest release

Outstanding issues

  1. The map doesn't load properly when building and running the app as a built image.
  2. Map uses MapBox and Leaflet.js an access_token needs to be created. See https://www.mapbox.com/studio/account/tokens/ for details.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].