csc2700proj02

csc2700proj02 - A Basic Calculator CSc 2700: Programming...

Info iconThis preview shows pages 1–3. 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: A Basic Calculator CSc 2700: Programming Project # 2 Working With Multiple Layouts and Panels Out: 9/25 Due: 10/10 by 11:50 PM Learning Objectives adding panels to frames adding components to frames using colors 1 Introduction In adding components to frame using the basic layout managers we have studied, we do not pay much attention to the placement of controls - we let the layout manager determine the default behavior from left to right and from top to bottom. This is fine when the placement of components does not matter. However, in many applications, placement matters. The placement of the contents of a frame is guided by a layout manager but in addition to that, we can use paneling to give us further control on how components can be added to a frame. In this project, you will use some of the techniques we learned in class to render a simple calculator. At the end of this project your calculator should appear as show in Because we have not done event-driven Figure 1: A Basic Calculator programming, your calculator is not going to work. What you will have is a picture of a basic calculator and not a working one. Duncan 1 Fall 2008 A Basic Calculator CSc 2700: Programming Project # 2 The text 0.00000 in the results window should be black on a white background. The clear button must be read. The following buttons mustbackground....
View Full Document

Page1 / 4

csc2700proj02 - A Basic Calculator CSc 2700: Programming...

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

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