-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
5,627 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/> | ||
<classpathentry exported="true" kind="lib" path="lib/sqlite-jdbc-3.8.7.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export | ||
*.db | ||
bin | ||
build | ||
*.log | ||
*.jar | ||
FlightLog_lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Manifest-Version: 1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# java-flight-logbook | ||
This is a java FX project which implements a flight logbook. I tried to make the input form for new flights as time saving as possible and also included an adaptable (column order and names) csv import. | ||
|
||
## screenshots | ||
|
||
<img src="docs/main-screen.png" width="50%"> | ||
|
||
<img src="docs/new-flight-screen.png" width="50%"> | ||
|
||
## install | ||
copy sqlite-jdbc-3.8.7.jar to lib folder |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
<anttasks:AntTask xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:anttasks="http://org.eclipse.fx.ide.jdt/1.0" buildDirectory="${project}/build"> | ||
<deploy> | ||
<application name="FlightLog" mainclass="flightLogApp.FlightLog" version="0.01"/> | ||
<info title="FlightLog" vendor="Juri Bieler"/> | ||
</deploy> | ||
<signjar/> | ||
</anttasks:AntTask> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#[FlightLog] | ||
#Sun Feb 02 20:18:24 CET 2020 | ||
debug=true | ||
winWidth=1024.0 | ||
dividerPos=0.200990099009901 | ||
winHeight=608.0 | ||
language=de | ||
theme=Default | ||
dividerPos2=0.7371273712737128 | ||
winY=160.0 | ||
dividerPos1=0.33213644524236985 | ||
errorLog=true | ||
winX=512.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
place here the following libs | ||
sqlite-jdbc-3.8.7.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Manifest-Version: 1.0 | ||
Class-Path: lib/sqlite-jdbc-3.8.7.jar | ||
Main-Class: flightLogApp.MainApp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#[FluPP Map] | ||
#Tue May 05 13:35:31 CEST 2015 | ||
encoding=ISO8859-1 | ||
seperator=; | ||
marker= | ||
nr=-1 | ||
pilot=4 | ||
copilot=5 | ||
passenger=6 | ||
plane=2 | ||
planeCallSign=3 | ||
launchMethod=7 | ||
start=-1 | ||
startDate=1 | ||
startTime=8 | ||
stop=-1 | ||
stopDate=1 | ||
stopTime=9 | ||
flightTime=10 | ||
flightTimeFormat=hh:mm | ||
landings=14 | ||
fromAf=15 | ||
toAf=16 | ||
distance=18 | ||
cost=-1 | ||
note=17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#[Startkladde Map] | ||
#Tue May 05 13:35:31 CEST 2015 | ||
encoding=UTF-8 | ||
seperator=, | ||
marker=" | ||
fixMarker=true | ||
nr=-1 | ||
pilot=3 | ||
copilot=4 | ||
passenger=-1 | ||
plane=1 | ||
planeCallSign=2 | ||
launchMethod=5 | ||
start=-1 | ||
startDate=0 | ||
startTime=8 | ||
stop=-1 | ||
stopDate=0 | ||
stopTime=9 | ||
flightTime=10 | ||
flightTimeFormat=hh:mm | ||
landings=-1 | ||
fromAf=6 | ||
toAf=7 | ||
distance=-1 | ||
cost=-1 | ||
note=11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
newBook=neues Buch | ||
import=Import | ||
export=Export | ||
options=Einstellungen | ||
update=Update | ||
contact=Kontakt | ||
help=Hilfe | ||
|
||
flights=Flüge | ||
flightTime=Flugzeit | ||
|
||
nr=Nr. | ||
time=Zeit | ||
landings=Land. | ||
cost=Kosten | ||
distance=Dist. | ||
pilot=Pilot | ||
copilot=Copilot | ||
passenger=Passagier | ||
plane=Flugzeug | ||
planeCallSign=ID | ||
launchMethod=Startart | ||
startTime=Start | ||
startDate=Datum | ||
stopTime=Stop | ||
stopDate=Datum | ||
flightTime=Zeit | ||
fromAf=Von | ||
toAf=Bis | ||
note=Notiz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
newBook=new Book | ||
import=Import | ||
export=Export | ||
options=Settings | ||
update=Update | ||
contact=Contact | ||
help=Help | ||
|
||
flights=Flights | ||
flightTime=Flighttime | ||
|
||
nr=Nr. | ||
time=Time | ||
landings=Land. | ||
cost=Cost | ||
distance=Dist. | ||
pilot=Pilot | ||
copilot=Copilot | ||
passenger=Passenger | ||
plane=Plane | ||
planeCallSign=ID | ||
launchMethod=Launch | ||
startTime=Start | ||
startDate=Date | ||
stopTime=Stop | ||
stopDate=Date | ||
flightTime=Time | ||
fromAf=From | ||
toAf=To | ||
note=Note |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package controls; | ||
|
||
import javafx.scene.control.TextField; | ||
|
||
public class TimePicker extends TextField { | ||
|
||
public TimePicker() { | ||
super(); | ||
setText("00:00"); | ||
} | ||
|
||
public TimePicker(String arg0) { | ||
super(arg0); | ||
setText("00:00"); | ||
} | ||
|
||
@Override | ||
public void replaceText(int start, int end, String text) { | ||
if (text.matches("[0-9][0-9]:[0-9][0-9]")) { | ||
super.replaceText(start, end, text); | ||
} | ||
} | ||
|
||
@Override | ||
public void replaceSelection(String text) { | ||
if (text.matches("[0-9][0-9]:[0-9][0-9]")) { | ||
super.replaceSelection(text); | ||
} | ||
} | ||
} |
Oops, something went wrong.