Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tonga Institute of Higher Education

Similar presentations


Presentation on theme: "Tonga Institute of Higher Education"— Presentation transcript:

1 Tonga Institute of Higher Education
Simple Input/Output Tonga Institute of Higher Education

2 Introduction Programs give output to a user.
Programs accept input from a user. A User Interface (UI) is a set of commands or menus through which a user communicates with a program.

3 Console Application Inputs

4 Console Application Inputs
Demonstration Console Application Inputs

5 Windows Application Inputs
Windows are the most popular user interface. You can have windows on computers running Microsoft Window, Linux, Macintosh and other operating systems. This is a good thing! With Java, you can write 1 program that uses windows on different operating systems.

6 Displaying a Window This code will bring up a window on any operating system with a Java Virtual Machine. (JVM)

7 Demonstration Displaying a Window

8 Obtaining Input From A Window

9 Obtaining Input From A Window
Demonstration Obtaining Input From A Window

10 Handling Special Inputs

11 Handling Special Inputs
Demonstration Handling Special Inputs


Download ppt "Tonga Institute of Higher Education"

Similar presentations


Ads by Google