Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kikimarik/gb_java_gui
https://github.com/kikimarik/gb_java_gui
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kikimarik/gb_java_gui
- Owner: kikimarik
- Created: 2021-01-23T10:39:10.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-27T20:07:34.000Z (almost 4 years ago)
- Last Synced: 2024-11-07T08:36:33.667Z (3 months ago)
- Size: 303 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Template master** - *My first JavaFX project*
````
non-stable version - has a lot of bugs
export, import, save as, about and user friendly usage will comming next versionDefault folder to save templates is output of java package path
- out/production/gb_java_gui/sample
relative for project
````How to use it?
````
Run sample.MainAt the opened window press Template->New to add first template.
Input left (name) and center (body) areas.
You can wrap some text [a-z] with {# of begin and #} of the end
like {#email#}. The programm parse those params.Now you could to press Template->Save.
This button saves your input to file.
Also you could update some text and repeat Save action
to update template or press Close to close.You could press Template->open for opening your template
from file. After opening you will show params at the right
side if it exists. Pass needle text to param fields and
press Generate button. Now you will see the result.Thx for attention =)
````Example input
````
Sorry, dear {#client#}!Your IP {#ip#} blocked by our system administrator after spam report.
````
Example output for params {client:Sergey, ip:77.222.55.9}
````
Sorry, dear Sergey!Your IP 77.222.55.9 blocked by our system administrator after spam report.
````
Template files are compatible with JSON format like this
````
{"name":"You IP address blocked.","body":"Sorry, dear {#client#}!\n\nYour IP {#ip#} blocked by our system administrator after spam report.","params":["client","ip","client","ip"],"updateTimestamp":1611434103,"createTimestamp":1611434103}
````