Aus Das deutschsprachige Scratch-Wiki

< Benutzer:LiFaytheGoblin‎ | Workshops

Graphical User Interface, Part 2: Java GUI, Workshop 3: GUI & Action

Useful Links

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.

  1. Add your prototype image or a txt file "prototype" with the link to the Scratch project to this folder
  2. Add a txt file "name" with your name
  3. ZIP this folder so it becomes small
  4. Post your homework in the forum post on moodle
Cookies helfen uns bei der Bereitstellung von Das deutschsprachige Scratch-Wiki. Durch die Nutzung von Das deutschsprachige Scratch-Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.