The structure of this project template is as follow:
[projectRoot]
|_ src
| |_ assembly
| | |_scripts
| | |_dep.xml
/** | |
* The <code>InputHandler</code> is implementing the <code>KeyListener</code> to | |
* be the keyboard manager. It is mapping some <code>keyEvent</code> code to | |
* possible <code>ACTIONS</code>. | |
* <ul> | |
* <li>the <code>keyMapping</code> are the map containing the mapping between | |
* some KeyCode to <code>ACTIONS</code> values,</li> | |
* <li>the internal <code>keys</code> map contains all keys status as boolean | |
* values,</li> | |
* <li>the <code>actions</code> contains all Action events produced.</li> |
(to be tested on https://regex101.com/)
([^"]*)
192.168.1.116 gitlab. Raspbuntu. Local |
# build v4.2 | |
# Copyright 2023 Frederic Delorme (McGivrer) fredericDOTdelormeATgmailDOTcom | |
.settings/ | |
target/ | |
.idea/ | |
*.iml | |
.project | |
.classpath |
subtitle | author | createdAt | updatedAt | copyright | description | license |
---|---|---|---|---|---|---|
Java is a programming language developed by Oracle (formerly by Sun Microsystems). |
Frédéric Delorme |
2020-09-23 |
2025-04-01 |
2025 |
A comprehensive guide to navigating the tools and command-line utilities in the Java ecosystem. |
MIT |
This very useful build.sh
script allow you to build any java project with
the maven inspired file structure below. It is particularly adapeted to
very light machine : ARM archtecture based ones a.k.a. RaspberryPi, OrangePi,
BananaPi, etc ...
It is using only bash
, javac
, java
,jar
and git
command line instructions.
#!/bin/bash | |
# see https://gist.github.com/mcgivrer/954b1340305cbe8f07bcdd3895da3d16 | |
# or use | |
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE | |
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add - | |
# add Typora's repository | |
sudo add-apt-repository 'deb https://typora.io/linux ./' | |
sudo apt-get update |
/** | |
* Project -=-=( DemoGame )=-=- | |
* | |
* This project aims at demobstrate basics for simple game. | |
* | |
* @author Frédéric Delorme <[email protected]> | |
* @since 2019 | |
*/ | |
import java.awt.Color; |