ComputingComputer ScienceEducational TechnologyComputer-assisted InstructionProgramming LanguagesSoftware EngineeringApplication Programming InterfacesEducational Software DesignInterface DesignObject-oriented DesignObject-oriented ProgrammingSoftware DesignComputer Science CurriculumComputer Science PedagogyDesign PrinciplesGraphical User InterfacesObject-oriented Design ModelsObject-oriented Programming EducationObjectsViews
The Java Power Tools or JPT is a Java toolkit designed to enable students to rapidly develop graphical user interfaces in freshman computer science programming projects. Because it is simple to create GUIs using JPT, students can focus on the more fundamental issues of computer science rather than on widget management. In a separate article[4], we will discuss with examples how the JPT can help freshman students to learn about the basics of algorithms, data structures, classes, and interface design. In this article, we will focus on how the JPT itself can be used as an extended case study of object-oriented design principles in a more advanced course.The fundamental design principles of the JPT are that the elements of a graphical user interface should be able to be combined recursively as nested views and that the communication between these views and the internal data models should be as automatic as possible. In particular, in JPT, the totality of user input from a complex view can be easily converted into a corresponding data model and any input errors will be detected and corrected along the way. This ease of communication is achieved by using string objects as a lingua franca for views and models and by using parsing when appropriate to automatically check for errors and trigger recovery. The JPT achieves its power by a combination of computer science and software design principles. Recursion, abstraction, and encapsulation are systematically used to create GUI tools of great flexibility. It should be noted that a much simpler pedagogical package for Java IO was recently presented in [9].
10
Ursula Wolz, Elliot B. Koffman · ACM SIGCSE Bulletin · 1999 · 40 citations
Computing, Computer Science, Design +17
Ursula Wolz, Elliot B. Koffman · 1999 · 37 citations · Full text
Computing, Computer Science, Design +17
Design issues in computer science education
Richard Rasala · ACM SIGCSE Bulletin · 1997 · 34 citations · Full text
Toolkits in first year computer science
Richard Rasala · 2000 · 21 citations · Full text