Homework5 - CSE 335 Homework 5 Objectives: 1. Continue to...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CSE 335 Homework 5 Objectives: 1. Continue to exercise the use of abstract classes and interfaces. 2. Design collaborations that involve stock widgets in a GUI toolkit. 3. Synthesize a composite collaboration from simpler ones. Description: The executable file cse335/AlexLiu/HW/HW05/Reference/browser is a graphical browser that allows users to scroll through the lines of an ASCII file using a viewport window and a scrollbar. The browser is run as follows: browser file [size] where file is the name of an ASCII file, and the optional argument size is a positive integer that specifies the size (i.e., number of lines) of the viewport window. For example: browser /etc/motd 5 will create a browser that displays the CSE-system message of the day, 5 lines at a time. Observe that clicking on the scroll buttons or dragging the handle causes the viewport to scroll appropriately. Observe also that if the window is resized, either vertically or horizontally, then the contents of the viewport expand or contract as appropriate....
View Full Document

Page1 / 2

Homework5 - CSE 335 Homework 5 Objectives: 1. Continue to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online