1 Object-Oriented Programming (Java), Unit 24 Stand In Final Project Description Kirk Scott.

Slides:



Advertisements
Similar presentations
Testing Relational Database
Advertisements

Introduction to Java 2 Programming
Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
Lecture 4 Basic Scripting. Administrative  Files on the website will be posted in pdf for compatibility  Website is now mirrored at:
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
CPIT 102 CPIT 102 CHAPTER 1 COLLABORATING on DOCUMENTS.
Loading Excel Double click the Excel icon on the desktop (if you have this) OR Click on Start All Programs Microsoft Office Microsoft Office Excel 2003.
2-May-15 GUI Design. 2 HMI design There are entire college courses taught on HMI (Human-Machine Interface) design This is just a very brief presentation.
Unit 1: Java and Eclipse UML. Depending on the source, the acronym UML is said to stand for “unified modeling language” or “universal modeling language”.
Microsoft Word 2010 Lesson 1: Introduction to Word.
Event Driven Programming and GUIs Part 3 CS221 – 4/15/09.
IS 1181 IS 118 Introduction to Development Tools VB Chapter 03.
SUNY Morrisville-Norwich Campus- Week 7 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Web Accessibility Tests Using the Firefox Browser ACCESS to Postsecondary Education through Universal Design for Learning.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
Conversational Computers
NU Data Excel Orientation Graphing of Screening Data and Basic Graphing Functions.
Microsoft ® Office Word 2007 Training Mail Merge II: Use the Ribbon and perform a complex mail merge [Your company name] presents:
Chapter 17 Putting It All Together. Viewing the Preloader To view the preloader, 1.CTRL-Enter to test the movie. 2.View > Simulate Download.
Creating a MagicInfo Pro Screen Template
1 Object-Oriented Programming (Java), Unit 22 Kirk Scott.
HBar OR Reader Documentation A copy of the PowerPoint Viewer is shipped with the HBar OR Reader on the HBar Official Records [OR] CD. The PowerPoint Viewer.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
CS 304 Project Kirk Scott 1. The specifications for this project will be subject to possible minor revision as the semester progresses depending on what.
Have you tried Track Changes? I think you are going to like it.
Introduction to the WebBoard Terry Dennis. The WebBoard - Our Connection The WebBoard URL is
MICROSOFT WORD GETTING STARTED WITH WORD. CONTENTS 1.STARTING THE PROGRAMSTARTING THE PROGRAM 2.BASIC TEXT EDITINGBASIC TEXT EDITING 3.SAVING A DOCUMENTSAVING.
IE 411/511: Visual Programming for Industrial Applications
Nancy Severe-Barnett Program Coordinator, SCIS
© The McGraw-Hill Companies, 2006 Chapter 4 Implementing methods.
1 Object-Oriented Programming (Java), Unit 23 Kirk Scott.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
“The Power At The Click Of A Mouse” (Using Power Point To Create A Presentation)
Meshing Objective information with Students At Risk.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
Revising. What is Revising? Introduction Writing doesn't end with your first draft. Next you need to revise. When you revise, you do the following: Check.
Windows Tutorial Common Objects ACOS: 1, 4. Using the Taskbar 1. Using the taskbar, you can switch between open programs and between open documents within.
Lecture 5(b), Slide 1 CP2030 Copyright © University of Wolverhampton CP2030 Visual Basic for C++ Programmers v Component 5(b) HCI aspects of VB programming.
CREATING A TEST IN WORD 2007 Also creating and using equations in Word 2007 Jeff Klamm Tec 539.
CS 320 Assignment 1 Rewriting the MISC Osystem class to support loading machine language programs at addresses other than 0 1.
Object-Oriented Programming (Java), Unit 29 Kirk Scott 1.
1 Object-Oriented Programming (Java), Unit 23 Kirk Scott.
HTML Concepts and Techniques Fifth Edition Chapter 6 Using Frames in a Web Site.
1 NORMA Lab. 5 Duplicating Object Type and Predicate Shapes Finding Displayed Shapes Using the Diagram Spy Using Multiple Windows Using the Context Window.
Graphics and Event-Driven Programming in Java John C. Ramirez Department of Computer Science University of Pittsburgh.
Object-Oriented Programming (Java), Unit 28 Kirk Scott 1.
PowerPoint Basics Tutorial 1: Objects These tutorials will introduce you to the most basic and useful functions of Microsoft PowerPoint We’re going.
Object-Oriented Programming (Java), Unit 29 Kirk Scott 1.
CSC350: Learning Management Systems COMSATS Institute of Information Technology (Virtual Campus)
Object-Oriented Programming (Java), Unit 28 Kirk Scott 1.
Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
CIS Intro to JAVA Lecture Notes Set July-05 GUI Programming –TextField Action Listeners, JEditorPane action listeners, HTML in a JEditorPane,
 Columns  Rows  Cells  Ranges  Cell addresses  Column headers  Row headers  Formulas  Spreadsheet.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
When the program is first started a wizard will start to setup your Lemming App. Enter your company name and owner in the fields designated “Company Name”
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
View  view  presents the user with a sensory (visual, audio, haptic) representation of the model state  a user interface element (the user interface.
Accessible PDF’s using Adobe Acrobat Standard or Professional Jarilyn Weber 06/11/2014 “Leading for educational excellence and equity. Every day for every.
Learning the Basics of ArcMap 3.3 Updated 4/27/2010 Using Arc/View pt. 1 1.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Android 3: Exploring Apps and the Development Environment
Object-Oriented Programming (Java), Unit 22
Android 11: The Calculator Assignment
Reviewing Documents Guided Lesson.
Windows xp PART 1 DR.WAFAA SHRIEF.
Moodle Training — Advanced Topics —
Presentation transcript:

1 Object-Oriented Programming (Java), Unit 24 Stand In Final Project Description Kirk Scott

2

Bar-Tailed Godwit Migration 3

Bar-Tailed Godwit 4

Beak Feeding Adaptations 5

CS 222 Final Programming Project, 130 Points Total ***Note that each student will be given layout specifications that differ in the number of cups and seeds, and whether the board is oriented horizontally or vertically on the screen. Your version of the final programming assignment has to conform to the specifications you are given. 6

What's old: Your version of Togiz Kumalak should have a main frame that does not include the game board, with a menu including options to create a subframe and exit the application. Your version of Togiz Kumalak should have a subframe that does include the game board, with a menu including options to restart, load, save, and close the subframe. 7

The structure of the frames and the menu options in the frames are a review of topics that were covered up through unit 23. You can just carry over code that you wrote before. Notice that the contents of the listeners for the menu items for the subframe will have to be changed. 8

Your version of Togiz Kumalak should also have a text area recording the moves that have been made. This was introduced in unit 22, and to a large extent this can also just be carried along in the new code. 9

What's new: Overall, your new version of Togiz Kumalak should have cups which are represented by instances of the JTextField class. The cups should have instances of the JButton class associated with them, and clicking one of these buttons should cause the corresponding cup to be played. Also, the text fields/buttons for the cups should be labeled on the screen with instances of the JLabel class. 10

The visual components of the new application should be arranged using an instance of the GridLayout class for whatever panel contains the application components. There are other aspects of the new version which are not visual in nature. 11

The specific parts of the assignment which will be noted when black box testing, and the points associated with them are listed below. The different graded items are listed in an order which you might find convenient to follow when working on the implementation. 12

1. 40 points. Your version of Togiz Kumalak should have cups represented by text fields, identified by labels, and playable by clicking a button. The various components should appear in a neat rectangular layout. Since black box testing is used, I won't literally know if you used a grid layout, but only a crazy person would try to accomplish this without it. (This is material from units 25 and 26.) 13

1.a. The cups should be represented by text fields. 10 points 1.b. The cups should have matching labels. 10 points 1.c. The cups should have matching buttons for play. 10 points 1.d. The application should have a rectangular layout. 10 points 14

If your implementation does not successfully do point 1, you are ineligible for any of the following points. 15

2. 30 points. Your version of Togiz Kumalak should have all of these features which are based on previous work: 2.a. The game should still play correctly. This includes both moving and capturing seeds, as well has alternating active sides of the board. Note that the functionality is worth points separately from simply including (potentially non-functional) buttons as listed in question points 16

2.b. The application should be based on a main frame and a subframe. 10 points 2.c. It should have a JTextField that has the moves recorded in it. 10 points 17

If your implementation does not successfully do point 2, you are ineligible for any of the following points. 18

3. 30 points. Your version of Togiz Kumalak should have a subframe with a menu including options to restart, load, save, and close the subframe. The listeners for restart, load, and save will have to be changed from their previous versions in order to support the new form of the cups and board. The load and save options should make use of file choosers. (Note that this is a review of a topic that was covered up through unit 23.) 19

3.a. The subframe menu should have a restart option. 10 points 3.b. The subframe menu load and save options both have to work—when black box testing it's impossible to tell which is faulty if the functionality doesn’t work. 20 points total 20

4. 10 points. Although not critical to the way Togiz Kumalak works, your version should include this aspect, which is based on the concept of focus: If you hit the enter key in one of the text fields representing a cup, the cursor (focus) should move to the next cup. 21

This should be set up so that you could go all the way around the board this way (in play order). Once you understand this, it turns out to be a very simple addition to the code. (This is material from unit 27.) 4.a. The application should pass focus from cup to cup. 10 points 22

5. 20 points. Your version of Togiz Kumalak should be playable by using keystrokes as well as clicking buttons. It is possible to do this using the ideas from unit 22. (If so, you should add the method requestFocus() to your bag of tricks.) It is also possible to do this using the new material from unit

In general, the application should be keeping track of whose turn it is, and all that's necessary is for the user to specify the desired cup by entering a keystroke like '1', '2', etc., or if following the model from unit 28, a combination of keystrokes, like 'CTRL+1'. It is necessary to let me know what keystroke convention I am supposed to use when testing your code. 24

5.a. Although this is only one part, it may require a significant effort to get it to work correctly, so it is worth double, 20 points. If your program accepts keystrokes and then button clicks, but after that the keystrokes are inactivated, that's worth 10 points. A full 20 points will be given if you can alternate seamlessly between keystrokes and button clicks. 25

Notice that you do not have to create a UML diagram for your solution. Following the screenshots of the application, UML diagrams are given for a working solution to the problem. You are not obligated to follow the design given by those diagrams. Also, depending on the specific layout of the version you have been given, that design may not be entirely appropriate. 26

The UML diagrams are given for two reasons. 1. They might help you design your own solution. 2. Whether they are helpful as a guide to writing a solution or not, they serve as notice to you of the complexity of project. 27

It is important for you to have a grasp of the complexity involved so that you start working on a solution right away and don't put it off too long. Having the UML diagrams as a guide might save you from having to massively redesign or recode your project if you run into trouble. 28

On the other hand, the diagrams might not save you from that eventuality. You should understand that large-scale problems like that are possible, and budget the time for them in case they happen. 29

When you hand in your final code, it should not be a guessing game on my part as to which parts of the assignment you did. You have to tell me up front which of the 11 subpoints above I should be looking for when grading. 30

If you didn't do one or didn't get one to work, it would be a great courtesy if you let me know so that I won't be looking for things that don't exist. Also, as noted under point 5, you need to let me know what keystroke convention to use if you did that part. The grading checkoff sheet is appended at the end of this document for your reference. 31

These screenshots show what my solution to the problem looked like. 32

This is the main frame: 33

This is the subframe: 34

UML diagrams for a solution are given on the following overheads. 35

36

37

38

39

40

41 The End