![]() ![]() |
||||||||
| CMPS 012A/L - Week 10 Lab | |
|
|
|
Simple GUI in JavaFor the week of Mar 13 - 16, 2006GUI is a fairly common acronym in the computer world that stands for Graphical User Interface. Every program we've made so far has all been textual. Originally, text-based programs were the only easy programs to write, but with the advancement of the computer came the advancement of the user interface. The user interface is anything that you, the user, has to interact with--this includes the mouse and keyboard as input as well as the monitor and sound as output. We're used to seeing graphical programs with buttons and menus that we can click on with our mouse, but it's the graphical part of the program that takes just as much time as the logic part of the program to write and debug. Today we're going to convert a simple game called In Between from a working text version to a GUI version. When you begin to modify the code, you'll see that there is actually more code that makes the GUI work than code that makes the program logic work. Additional InformationRead chapter 3 of Java by Dissection starting on page 125 about Java applets for some more information.ProcedureYou may do this lab on your Windows computer or any other computer that's set up to compile and run Java.
|
|
| SOE Webmail · SOE SSH · SOE Wiki · Search
· Sitemap · Contact us · Driving
directions
· Privacy · UCSC © Baskin School of Engineering, University of California, Santa Cruz 1156 High St., Santa Cruz, CA 95064 · (831) 459-2158 · webmaster@soe.ucsc.edu |