An open API service indexing awesome lists of open source software.

https://github.com/zipcodecore/effex1

JavaFX simple example
https://github.com/zipcodecore/effex1

Last synced: 9 months ago
JSON representation

JavaFX simple example

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