Aus Das deutschsprachige Scratch-Wiki
< Benutzer:LiFaytheGoblin | Workshops
Graphical User Interface, Part 2: Java GUI, Workshop 3: GUI & Action
Useful Links
- Register for the course: https://docs.google.com/spreadsheets/d/1cEMa0tRInjAI-cWN0plugUfhyQprjfGcDA3VnpBLh7c/edit?usp=sharing
- Zeichnung Java GUI http://i65.tinypic.com/24nh4iu.png
- Zeichnung Java GUI Planung http://i66.tinypic.com/1zbrtck.png
Hausaufgabe
DEADLINE
Monday May 18 2018, 11.00am (yes, during the workshop - this is so we can do some last improvements in the first part of the workshop)
Task
Create a GUI for a text editor. There are two parts of this task and you can decide which one you want to put your focus on: Either a prototype or the programming itself.
Part 1: Prototype
Design the GUI.
- Use Scratch or Photoshop or another graphic.
- The prototype doesn't need to be functional.
Part 2: Programming
Program the GUI in Java.
- Use either Eclipse or BlueJ.
- The text editor does not have to be functional, but stubs for functions should exist. Eg. if a button should save a file it should have an action listener calling the function "saveFile()" which would need at least a function header and empty function body.
Formal requirements
The text editor should have the following:
- A menu (save, load, quit)
- A text input field
- buttons for formatting
Extra challenges:
- make the quit button actually work
- A character count for the text file
- Make the save button actually work
- Make the load button actually work
Submission
The project doesn't have to be fully completed. Whether you have worked in BlueJ or Eclipse, you should have a project folder with all the code files.
- Add your prototype image or a txt file "prototype" with the link to the Scratch project to this folder
- Add a txt file "name" with your name
- ZIP this folder so it becomes small
- Post your homework in the forum post on moodle