Teaching GUI Design and Event Handling Using Patterns

نویسندگان

  • Hans Dulimarta
  • Jagadeesh Nandigam
چکیده

Graphical User Interface (GUI) has become a common way to build and deploy desk-top software in introductory computer science courses. Students definitely enjoy building GUI programs as opposed to command-line programs. Writing a GUI program requires a paradigm shift from sequential processing to event-driven processing. Building a GUI program involves two main activities – design of user interface and implementing appropriate event handling. There are several approaches (code patterns or styles) to building GUI programs. Introductory computer science textbooks suitable for use in CS1 and CS2 courses tend to describe and use exclusively one approach to building GUI programs. This exclusive use of one approach to teaching GUI design is not effective as it can cause confusion when students move from one course to another and expect to see only the style of GUI program they have learned before. It is important that students are progressively exposed to different styles of GUI design independent of the approach suggested and used in the textbook adopted for the course. This paper presents various approaches to GUI design and event handling using Java Swing framework along with pros and cons of each approach.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Eecs (eecs)

EECS 132. Introduction to Programming in Java. 3 Units. Introduction to computer programming and problem solving with the Java language. Computers, operating systems, and Java applications; software development; conditional statements; loops; methods; arrays; classes and objects; object-oriented design; unit testing; strings and text I/O; inheritance and polymorphism; GUI components; applicatio...

متن کامل

Eecs (eecs)

EECS 132. Introduction to Programming in Java. 3 Units. Introduction to computer programming and problem solving with the Java language. Computers, operating systems, and Java applications; software development; conditional statements; loops; methods; arrays; classes and objects; object-oriented design; unit testing; strings and text I/O; inheritance and polymorphism; GUI components; applicatio...

متن کامل

Correlations of Handling Procedures and Sleep Patterns of the Infants Admitted to the Neonatal Intensive Care Unit

Background: The present study aimed to assess handling procedures and their effects on the sleep-wake time in the preterm infants admitted to the neonatal intensive care unit (NICU). Methods: This observationalcross-sectional study was conducted in the NICU ofVali-e-Asr Teaching Hospital affiliated to Tehran University of Medical Sciences (TUMS), Iran in 2016. Sample population consisted of 15...

متن کامل

Architecture Design of A Lightweight Extensible GUI Framework for Games

Graphical user interface (GUI) design is a core part of games development, as it is responsible for the look and feel of a game to players. However, GUI design is often overlooked and also time consuming. This paper presents a novel architecture design of a lightweight extensible GUI framework for games to ease the pains of GUI design. Firstly, the core architecture of the GUI framework is desc...

متن کامل

An examination of the run-time performance of GUI creation frameworks

The graphical user interface (GUI) is an important component of many software systems. Past surveys indicate that the development of a GUI is a significant undertaking and that the GUI’s source code often comprises a substantial portion of the program’s overall source base. Graphical user interface creation frameworks for popular objectoriented programming languages enable the rapid constructio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011