Skip to content

ZipCodeCore/EffEx1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 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

About

JavaFX simple example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages