https://github.com/zipcodecore/effex1
JavaFX simple example
https://github.com/zipcodecore/effex1
Last synced: 9 months ago
JSON representation
JavaFX simple example
- Host: GitHub
- URL: https://github.com/zipcodecore/effex1
- Owner: ZipCodeCore
- License: mit
- Created: 2024-09-25T15:44:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T15:24:54.000Z (11 months ago)
- Last Synced: 2025-02-06T16:35:03.961Z (11 months ago)
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EffEx1
JavaFX simple example - needs jdk17 with JavaFX (liberica 17 FULL)
Here’s a simple example of a JavaFX-based text editor window. It allows basic text editing functions with a menu bar, text area, and options to open and save text files.
## Simple Text Editor
See [SimpleTextEditor.java](JavaEffEx1/src/main/java/rocks/zipcode/SimpleTextEditor.java)
for example of a simple text editor using JavaFX
### Key Features:
#### Text Area: A large area for entering text.
#### Menu Bar:
- "New" clears the current text.
- "Open" allows the user to open a text file.
- "Save" lets the user save the current text to a file.
- "Exit" closes the application.
#### File Chooser: Enables file opening and saving.
### Steps to run:
Go to source and run the main() method in SimpleTextEditor.java
intro material https://docs.google.com/presentation/d/1C5tKtjj9znaEv_sfpyMveFE1vXF96kHdNIccho9c1Cg/edit?usp=sharing
### Once You Have it Running
- add an Edit menu with
- select all
- cut, copy
- paste