Java Programming. Computer Science 112
|
|
- Melvyn Farmer
- 5 years ago
- Views:
Transcription
1 Java Programming Computer Science 112
2 Recap: Swing You use Window Builder to put Widgets together on a Layout. User interacts with Widgets to produce Events. Code in the Client Listens for Events to know when to run. Client (or View) tells Logic (or Model) what happens. Full MVC splits Controller from View Client Listens (or Queries) for Logic to show change The Model may not touch the View
3 What can we draw on JFrame is the whole app JOtherStuff are useful widgets with dedicated functions JPanel is just a rectangle that does nothing so we can play with it If you come across "Canvas" in your searches, that is the AWT version. AWT is what came before Swing. Canvas is a better analogy than Panel though.
4 Made with Lymon A patch of screen that draws itself and can be moved around is called a Sprite A Sprite is a thing that you can see, so it is on the Client. Later, the Sprite will be associated with an Object in Logic so it can move around and do stuff. The JPanel is the area we are drawing in. The Sprites are how it draws.
5 A custom JPanel Start just like last time. Normal project Application Window MainClient Add a JPanel that doesn't fill the screen, and change its color so you can see it. Make a new class in Client called SpriteField that extends JPanel Change the class type of the generated bit in initialize()
6 Why am I doing this? Buttons and stuff know how to draw. You are making a new Widget and telling Java "Don't worry, I know how to draw this." super important During this process, you will get a few warnings and errors. Eclipse knows what to do if you hover over the error. (It wants some imports and default settings.)
7 You make the sprite Sprites are not Swing things. We are in appspecific code now. Make SpriteField's constructor make a RoundSprite. That is a normal new class like we've always done. It will have one method on the next slide We are going to have SpriteField (the JPanel) be in charge of making RoundSprites draw.
8 The Black Spot "2D" is the new version of the Graphics interface, so this cast is okay. When we cross in to our code, we don't need to anymore.
9 Pause to regroup JWidgets know how to draw themselves and do things JPanel is a blank template for us to do what we want We made a custom JPanel that is going to draw dots The dots are not JWidgets. We are using the Graphics "pen" directly. Graphics2D has lots of tools for hand drawing. paintcomponent = Java, DrawSprite = us
10 The hard part: Coordinates Graphics2D uses a pen that starts in the top left corner. To draw something it moves the pen using a "transform". It then hands the pen to the thing being drawn. This is the hard part: The thing being drawn doesn't know where he is. "x = 5" is totally different when you are in "object space" instead of "world space"
11 Code sketch for drawing For each thing I want to draw Apply transform for its position For each piece of it Apply transform for that piece Draw piece Undo piece transform Undo position transform Undo camera transform 0,0 Think of Mickey Mouse's silhouette.
12 And to draw one piece... Translate, Rotate, Center! TWO ways to picture this The pen moves Move to where you want to draw Twist the pen Move to the center of the ellipse The panel moves Slide the canvas Rotate the canvas around the pen Shift the canvas a little more
13 Add a position to RoundSprite Camera flip You have to add SetPosition, mx, and my yourself. See how the Sprite undid its transform fiddling? Note the 35,25. mx,my is where the sprite is in world coords. 35,25 is where this ellipse is in object coords.
14 Mouse interaction Put your love for Window Builder in your pocket for a minute It freaks out trying to add Event templates to a custom class. Change the class of your SpriteField back to JPanel in initialize() Add Handler in design mode Change class back Not so bad You could also just type it Newest Eclipse can do it
15 Promise I'll stop with this bit The Controller (the thing that handles all the events) can talk to the Model. That's how stuff gets made. The View is then just going to draw it. mlogic.createobjectat(tx, ty); mspritepanel.createspriteat(tx, ty); CreateObjectAt here is the advanced way required in Homework 2. It is to make a Shape that in turn makes a Sprite. For homework 1, you could instead go straight to the panel to make the Sprite directly. I won't know.
16 MVC Again If you createspriteat, you are done. When you createobjectat, the model needs to somehow tell the view that something has changed. Best is Observable Second best is MainClient.NotifyNewShape()
17 Then just add support for multiples ArrayList<RoundSprite> msprites = new ArrayList<RoundSprite>(); This use of "for-colon" or "foreachin" is a nice shortcut for an ArrayList of objects. It just saves you from counting from zero to size and then accessing each explicitly. Click made an Object in the Model Object hollered out that an Object was made Or since you are freshmen they can tell the Client singleton View listens for new object messages and makes a Sprite Our new Sprite JPanel draws all the sprites Oh, and call "repaint()" on the SpriteField whenever something changes.
18 Oh, tiny lie: Rotation is last thing But Imma make you do it. The "rotate" command is just like "translate" Have a newly created RoundSprite be made with a random "float mrotation". You now know: GUI widgets, coordinates in screen space and user space, custom drawing. Oh, and Java. Don't ever believe me when I say something is the last thing.
19 BasicStroke A Stroke is like the Pen that Graphics is using to draw. It can have a dash pattern, a thickness, and rules about joining other lines.
20 Color All operations on Graphics2D are permanent but not retroactive. g2.setstroke(tstroke); g2.setcolor(color.blue);
21 Wait, permanent? This is one area that Java just falls down on. There is no PushContext If you change any settings on the graphics object, you better: Change it back when you are done, like we did for the transform, which is easy. Make sure every single thing you draw explicitly sets color and stroke so nothing will ever carry over, which is hard.
CSE 331 Software Design & Implementation
CSE 331 Software Design & Implementation Kevin Zatloukal Summer 2017 Java Graphics and GUIs (Based on slides by Mike Ernst, Dan Grossman, David Notkin, Hal Perkins, Zach Tatlock) Review: how to create
More informationIT101. Graphical User Interface
IT101 Graphical User Interface Foundation Swing is a platform-independent set of Java classes used for user Graphical User Interface (GUI) programming. Abstract Window Toolkit (AWT) is an older Java GUI
More informationAssignment 2. Application Development
Application Development Assignment 2 Content Application Development Day 2 Lecture The lecture covers the key language elements of the Java programming language. You are introduced to numerical data and
More informationHeavyweight with platform-specific widgets. AWT applications were limited to commonfunctionality that existed on all platforms.
Java GUI Windows Events Drawing 1 Java GUI Toolkits Toolkit AWT Description Heavyweight with platform-specific widgets. AWT applications were limited to commonfunctionality that existed on all platforms.
More informationAdobe illustrator Introduction
Adobe illustrator Introduction This document was prepared by Luke Easterbrook 2013 1 Summary This document is an introduction to using adobe illustrator for scientific illustration. The document is a filleable
More informationSmoother Graphics Taking Control of Painting the Screen
It is very likely that by now you ve tried something that made your game run rather slow. Perhaps you tried to use an image with a transparent background, or had a gazillion objects moving on the window
More informationAndroid Programming Family Fun Day using AppInventor
Android Programming Family Fun Day using AppInventor Table of Contents A step-by-step guide to making a simple app...2 Getting your app running on the emulator...9 Getting your app onto your phone or tablet...10
More informationClass Meeting 05 (Lecture 04) Objectives for this class meeting. Conduct vote on basic style of game for class project
CSE1720 Click to edit Master Week text 02, styles Class Meeting 05 (Lecture 04) Second level Third level Fourth level Fifth level Winter 2013 Thursday, January 17, 2013 1 Objectives for this class meeting
More informationDirect Variations DIRECT AND INVERSE VARIATIONS 19. Name
DIRECT AND INVERSE VARIATIONS 19 Direct Variations Name Of the many relationships that two variables can have, one category is called a direct variation. Use the description and example of direct variation
More information4. Write sets of directions for how to check for direct variation. How to check for direct variation by analyzing the graph :
Name Direct Variations There are many relationships that two variables can have. One of these relationships is called a direct variation. Use the description and example of direct variation to help you
More information2IS45 Programming
Course Website Assignment Goals 2IS45 Programming http://www.win.tue.nl/~wsinswan/programmeren_2is45/ Rectangles Learn to use existing Abstract Data Types based on their contract (class Rectangle in Rectangle.
More informationWhat's the Slope of a Line?
What's the Slope of a Line? These lines look pretty different, don't they? Lines are used to keep track of lots of info -- like how much money a company makes. Just off the top of your head, which of the
More informationA Guide to Autodesk Maya 2015
A Guide to Autodesk Maya 2015 Written by Mitchell Youngerman Table of Contents Layout of Toolbars...pg 1 Creating Objects...pg 2 Selecting & Deselecting Objects...pg 3 Changing Perspective... pg 4 Transforming
More informationLecture 5: Java Graphics
Lecture 5: Java Graphics CS 62 Spring 2019 William Devanny & Alexandra Papoutsaki 1 New Unit Overview Graphical User Interfaces (GUI) Components, e.g., JButton, JTextField, JSlider, JChooser, Containers,
More informationDesigner Reference 1
Designer Reference 1 Table of Contents USE OF THE DESIGNER...4 KEYBOARD SHORTCUTS...5 Shortcuts...5 Keyboard Hints...5 MENUS...7 File Menu...7 Edit Menu...8 Favorites Menu...9 Document Menu...10 Item Menu...12
More informationGraphics. Lecture 18 COP 3252 Summer June 6, 2017
Graphics Lecture 18 COP 3252 Summer 2017 June 6, 2017 Graphics classes In the original version of Java, graphics components were in the AWT library (Abstract Windows Toolkit) Was okay for developing simple
More informationLecture 3: Java Graphics & Events
Lecture 3: Java Graphics & Events CS 62 Fall 2017 Kim Bruce & Alexandra Papoutsaki Text Input Scanner class Constructor: myscanner = new Scanner(System.in); can use file instead of System.in new Scanner(new
More informationUI Software Organization
UI Software Organization The user interface From previous class: Generally want to think of the UI as only one component of the system Deals with the user Separate from the functional core (AKA, the app
More informationAi Adobe. Illustrator. Creative Cloud Beginner
Ai Adobe Illustrator Creative Cloud Beginner Vector and pixel images There are two kinds of images: vector and pixel based images. A vector is a drawn line that can be filled with a color, pattern or gradient.
More informationIn today s video I'm going show you how you can set up your own online business using marketing and affiliate marketing.
Hey guys, Diggy here with a summary of part two of the four part free video series. If you haven't watched the first video yet, please do so (https://sixfigureinc.com/intro), before continuing with this
More informationCOMP-202 Unit 10: Basics of GUI Programming (Non examinable) (Caveat: Dan is not an expert in GUI programming, so don't take this for gospel :) )
COMP-202 Unit 10: Basics of GUI Programming (Non examinable) (Caveat: Dan is not an expert in GUI programming, so don't take this for gospel :) ) Course Evaluations Please do these. -Fast to do -Used to
More informationCS2110 Fall 2015 Assignment A5: Treemaps 1
CS2110 Fall 2015 Assignment A5: Treemaps 1 1. Introduction Assignment 5: Treemaps We continue our study of recursive algorithms and also gain familiarity with building graphical user interfaces (GUIs)
More informationmismatch between what is maybe possible today and what is going on in many of today's IDEs.
What will happen if we do very, very small and lightweight tools instead of heavyweight, integrated big IDEs? Lecturer: Martin Lippert, VMware and Eclispe tooling expert LIPPERT: Welcome, everybody, to
More informationProgramming Languages and Techniques (CIS120)
Programming Languages and Techniques (CIS120) Lecture 35 April 21, 2014 Swing III: Paint demo, Mouse InteracFon HW 10 has a HARD deadline Announcements You must submit by midnight, April 30 th Demo your
More informationGRAPHICS PROGRAMMING. LAB #3 Starting a Simple Vector Animation
GRAPHICS PROGRAMMING LAB #3 Starting a Simple Vector Animation Introduction: In previous classes we have talked about the difference between vector and bitmap images and vector and bitmap animations. In
More informationProgramming Languages and Techniques (CIS120)
Programming Languages and Techniques (CIS120) Lecture 33 April 16, 2014 Swing I: Drawing and Event Handling Set set = new TreeSet (); Map map = new TreeMap
More informationPaintPot: (Part 1) What You're Building. Before starting
PaintPot: (Part 1) This tutorial introduces the Canvas component for creating simple two-dimensional graphics. You'll build an app that lets you draw on the phone screen in different colors. Historical
More informationDell Canvas Layout. Version 1.0 User s Guide
Dell Canvas Layout Version 1.0 User s Guide Notes, cautions, and warnings NOTE: A NOTE indicates important information that helps you make better use of your product. CAUTION: A CAUTION indicates either
More informationUNIT 15 Polygons Lesson Plan 1 Angles
Y8 UNIT 15 Polygons Lesson Plan 1 Angles 1A 1B Revising angles T: You must know lots of facts about angles. Let's see how many you can remember. - How many degrees are there around a point? ( 360 ) - How
More informationSoftware System Components 1 Graphics
Software System Components 1 Graphics Shan He LECTURE 3 Introduction to Java 2D Graphics (II) 1.1. Outline of Lecture Review of what we learned Rendering Shapes 1.2. Review of what we learned Last lecture,
More information(Refer Slide Time: 06:01)
Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture 28 Applications of DFS Today we are going to be talking about
More informationCSE 331 Software Design and Implementation. Lecture 19 GUI Events
CSE 331 Software Design and Implementation Lecture 19 GUI Events Leah Perlmutter / Summer 2018 Announcements Announcements Quiz 7 due Thursday 8/9 Homework 8 due Thursday 8/9 HW8 has a regression testing
More informationBasic Scene Composition
Basic Scene Composition Welcome to the Basic Scene Composition tutorial. This tutorial was designed to teach you how to many of Illustrator key tools to create a sunset scene, this should give you good
More informationPorsche 91 1GT D m o d e ling tutorial - by Nim
orsche 911GT 3D modeling tutorial - by Nimish In this tutorial you will learn to model a car using Spline modeling method. This method is not very much famous as it requires considerable amount of skill
More informationArrows and Watermark
Arrows and Watermark Alex Bodnar Period: Directions: The purpose of these two activities are to create objects/elements that will help you to better explain your instructions to people reading your tutorial.
More informationObject-Oriented Programming Design. Topic : Graphics Programming GUI Part I
Electrical and Computer Engineering Object-Oriented Topic : Graphics GUI Part I Maj Joel Young Joel.Young@afit.edu 15-Sep-03 Maj Joel Young A Brief History Lesson AWT Abstract Window Toolkit Implemented
More informationJava How to Program, 9/e. Copyright by Pearson Education, Inc. All Rights Reserved.
Java How to Program, 9/e Copyright 1992-2012 by Pearson Education, Inc. All Rights Reserved. Overview capabilities for drawing two-dimensional shapes, controlling colors and controlling fonts. One of
More information(Refer Slide Time: 00:02:00)
Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 18 Polyfill - Scan Conversion of a Polygon Today we will discuss the concepts
More informationMobile Computing Professor Pushpedra Singh Indraprasth Institute of Information Technology Delhi Andriod Development Lecture 09
Mobile Computing Professor Pushpedra Singh Indraprasth Institute of Information Technology Delhi Andriod Development Lecture 09 Hello, today we will create another application called a math quiz. This
More informationEdupen Pro User Manual
Edupen Pro User Manual (software for interactive LCD/LED displays and monitors) Ver. 3 www.ahatouch.com Some services in Edupen Pro require dual touch capability. In order to use dual touch, your computer
More informationInstructor (Mehran Sahami):
Programming Methodology-Lecture26 Instructor (Mehran Sahami): All right. Welcome back to what kind of day is it going to be in 106a? Anyone want to fun-filled and exciting. It always is. Thanks for playing
More informationPROFESSOR: Well, yesterday we learned a bit about symbolic manipulation, and we wrote a rather stylized
MITOCW Lecture 4A PROFESSOR: Well, yesterday we learned a bit about symbolic manipulation, and we wrote a rather stylized program to implement a pile of calculus rule from the calculus book. Here on the
More informationSNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC
Photo Effects: Snowflakes Photo Border (Photoshop CS6 / CC) SNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC In this Photoshop tutorial, we ll learn how to create a simple and fun snowflakes photo border,
More informationJava Programming. Computer Science 112
Java Programming Computer Science 112 Review: Problem solving Class 4 is the Whole Point of Programming. You can keep the papers; we gonna go through them on the board. If you are desperately confused
More informationCustom Shapes As Text Frames In Photoshop
Custom Shapes As Text Frames In Photoshop I used a background for this activity. Save it and open in Photoshop: Select Photoshop's Custom Shape Tool from the Tools panel. In the custom shapes options panel
More informationSoftware Prototyping. & App Inventor
Software Prototyping & App Inventor Prototyping This & next several slides distilled from: http://appinventor.mit.edu/explore/teaching-app-creation.html Prototype: preliminary, interactive model of an
More informationCSC 160 LAB 8-1 DIGITAL PICTURE FRAME. 1. Introduction
CSC 160 LAB 8-1 DIGITAL PICTURE FRAME PROFESSOR GODFREY MUGANDA DEPARTMENT OF COMPUTER SCIENCE 1. Introduction Download and unzip the images folder from the course website. The folder contains 28 images
More informationGraphic Interface Programming II Using Swing and OOP more advanced issues. Uppsala universitet
Graphic Interface Programming II Using Swing and OOP more advanced issues IT Uppsala universitet Good interface programming Swing is an EXTENDIBLE toolkit Build your OWN components Many times you need
More informationCreating joints for the NovodeX MAX exporter
Creating joints for the NovodeX MAX exporter (a step-by-step tutorial by Pierre Terdiman) p.terdiman@wanadoo.fr Version 0.3 I) Creating a hinge Here we'll see how to create a hinge joint compatible with
More informationCamtasia Studio 7 User Guide
Camtasia Studio 7 User Guide TechSmith & Camtasia Studio: TechSmith Corporation released popular desktop recording tools like Snagit, Jing, and Camtasia. TechSmith also launched Screencast.com, a screencast
More informationGraphical User Interface (GUI)
Graphical User Interface (GUI) An example of Inheritance and Sub-Typing 1 Java GUI Portability Problem Java loves the idea that your code produces the same results on any machine The underlying hardware
More informationCSE115 Lab 4 Fall 2016
DUE DATES: Monday recitations: 9:00 PM on 10/09 Wednesday recitations: 9:00 PM on 10/11 Thursday recitations: 9:00 PM on 10/12 Friday recitations: 9:00 PM on 10/13 Saturday recitations: 9:00 PM on 10/14
More informationUsing the API: Introductory Graphics Java Programming 1 Lesson 8
Using the API: Introductory Graphics Java Programming 1 Lesson 8 Using Java Provided Classes In this lesson we'll focus on using the Graphics class and its capabilities. This will serve two purposes: first
More informationCreating a Brochure in Publisher
Creating a Brochure in Publisher If you closed the Flyer, as indicated above, you will see the Microsoft Publisher Task Pane on the left side of your screen. Click the Brochures selection in the Publication
More informationPress the Plus + key to zoom in. Press the Minus - key to zoom out. Scroll the mouse wheel away from you to zoom in; towards you to zoom out.
Navigate Around the Map Interactive maps provide many choices for displaying information, searching for more details, and moving around the map. Most navigation uses the mouse, but at times you may also
More informationHuman-Computer Interaction IS4300
Human-Computer Interaction IS4300 1 I4 Swing! Due Now Implement a Java applet to provide online ordering for your favorite restaurant. The interface need not be functional, but the controls should be laid
More informationEDITING AND COMBINING SHAPES AND PATHS
4 EDITING AND COMBINING SHAPES AND PATHS Lesson overview In this lesson, you ll learn how to do the following: Cut with the Scissors tool. Join paths. Work with the Knife tool. Outline strokes. Work with
More informationTopic 9: Swing. Swing is a BIG library Goal: cover basics give you concepts & tools for learning more
Swing = Java's GUI library Topic 9: Swing Swing is a BIG library Goal: cover basics give you concepts & tools for learning more Assignment 5: Will be an open-ended Swing project. "Programming Contest"
More informationTopic 9: Swing. Why are we studying Swing? GUIs Up to now: line-by-line programs: computer displays text user types text. Outline. 1. Useful & fun!
Swing = Java's GUI library Topic 9: Swing Swing is a BIG library Goal: cover basics give you concepts & tools for learning more Why are we studying Swing? 1. Useful & fun! 2. Good application of OOP techniques
More informationLecture 18 Java Graphics and GUIs
CSE 331 Software Design and Implementation The plan Today: introduction to Java graphics and Swing/AWT libraries Then: event-driven programming and user interaction Lecture 18 Java Graphics and GUIs None
More informationSlide 1 CS 170 Java Programming 1 Testing Karel
CS 170 Java Programming 1 Testing Karel Introducing Unit Tests to Karel's World Slide 1 CS 170 Java Programming 1 Testing Karel Hi Everybody. This is the CS 170, Java Programming 1 lecture, Testing Karel.
More informationOutline. Topic 9: Swing. GUIs Up to now: line-by-line programs: computer displays text user types text AWT. A. Basics
Topic 9: Swing Outline Swing = Java's GUI library Swing is a BIG library Goal: cover basics give you concepts & tools for learning more Assignment 7: Expand moving shapes from Assignment 4 into game. "Programming
More informationIn this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite.
Drawing Program In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite. 2. Create a new sprite. 3. The new sprite
More informationLet s Make a Front Panel using FrontCAD
Let s Make a Front Panel using FrontCAD By Jim Patchell FrontCad is meant to be a simple, easy to use CAD program for creating front panel designs and artwork. It is a free, open source program, with the
More informationCS 2113 Software Engineering
CS 2113 Software Engineering Java 5 - GUIs Import the code to intellij https://github.com/cs2113f18/template-j-5.git Professor Tim Wood - The George Washington University Class Hierarchies Abstract Classes
More information1.00/1.001 Introduction to Computers and Engineering Problem Solving Spring Quiz 2
1.00/1.001 Introduction to Computers and Engineering Problem Solving Spring 2010 - Quiz 2 Name: MIT Email: TA: Section: You have 80 minutes to complete this exam. For coding questions, you do not need
More informationLab & Assignment 1. Lecture 3: ArrayList & Standard Java Graphics. Random Number Generator. Read Lab & Assignment Before Lab Wednesday!
Lab & Assignment 1 Lecture 3: ArrayList & Standard Java Graphics CS 62 Fall 2015 Kim Bruce & Michael Bannister Strip with 12 squares & 5 silver dollars placed randomly on the board. Move silver dollars
More informationNETWORK THE HOME 10 FOLDERS APPS
NID-7006 NAXA NID Tablet User s Guide Table of Contents GETTING STARTED 4 CONNECTING TO A WIRELESS NETWORK 4 USING THE TOUCHSCREEN 4 USING THE HOME SCREENS 5 USING THE NAVIGATION ICONS 6 USING THE ALL
More information2D Graphics. Shape Models, Drawing, Selection. CS d Graphics 1
2D Graphics Shape Models, Drawing, Selection 1 Graphic Models vs. Images Computer Graphics: the creation, storage, and manipulation of images and their models Model: a mathematical representation of an
More informationJava Programming. Computer Science 112
Java Programming Computer Science 112 Homework thoughts. Zip. The. Src. Folder. A "Get" function shouldn't change anything. That's what Set does. An "IsXxxx" function shouldn't change anything. It's just
More informationAssignment 1. Application Development
Application Development Assignment 1 Content Application Development Day 1 Lecture The lecture provides an introduction to programming, the concept of classes and objects in Java and the Eclipse development
More informationSketchUp Tool Basics
SketchUp Tool Basics Open SketchUp Click the Start Button Click All Programs Open SketchUp Scroll Down to the SketchUp 2013 folder Click on the folder to open. Click on SketchUp. Set Up SketchUp (look
More informationPaintPot. Figure 2-1. The PaintPot app
Chapter 2 PaintPot This tutorial introduces the Canvas component for creating simple, two-dimensional (2D) graphics. You ll build PaintPot, an app that lets the user draw on the screen in different colors,
More informationCS 2110 Fall Instructions. 1 Installing the code. Homework 4 Paint Program. 0.1 Grading, Partners, Academic Integrity, Help
CS 2110 Fall 2012 Homework 4 Paint Program Due: Wednesday, 12 November, 11:59PM In this assignment, you will write parts of a simple paint program. Some of the functionality you will implement is: 1. Freehand
More information+! Today. Lecture 3: ArrayList & Standard Java Graphics 1/26/14! n Reading. n Objectives. n Reminders. n Standard Java Graphics (on course webpage)
+! Lecture 3: ArrayList & Standard Java Graphics +! Today n Reading n Standard Java Graphics (on course webpage) n Objectives n Review for this week s lab and homework assignment n Miscellanea (Random,
More informationming 3 Resize the Size to [700, 500]. Note that the background containers in the program code: reference the then under () { 153, 255, 0 ) );
ECCS 166 Programm ming 3 Dr. Estell Spring Quarter 20111 Laboratory Assignmen nt 7 Graphics and Polymorphism 15 April 2011 1. The purpose of the next few laboratory assignments is to create a simple drawing
More informationIn our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology.
Guide to and Hi everybody! In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. This guide focuses on two of those symbols: and. These symbols represent concepts
More informationJava Programming. Computer Science 112
Java Programming Computer Science 112 Review: Problem solving Class 4 is the Whole Point of Programming. Is there any particular one you'd like to go through? If you are desperately confused still, now
More informationOur second exam is Thursday, November 10. Note that it will not be possible to get all the homework submissions graded before the exam.
Com S 227 Fall 2016 Assignment 3 300 points Due Date: Wednesday, November 2, 11:59 pm (midnight) Late deadline (25% penalty): Thursday, November 2, 11:59 pm General information This assignment is to be
More informationLecture 19 GUI Events
CSE 331 Software Design and Implementation Lecture 19 GUI Events The plan User events and callbacks Event objects Event listeners Registering listeners to handle events Anonymous inner classes Proper interaction
More informationInkscape Interface. commands panes snap. tool. menus. controls. controls. toolbox. canvas. page. palette
Inkscape Interface menus box canvas page palette commands panes snap Toolbox Interface Inkscape Selectionmenus Edit Paths by Nodes box Rectangle Align and Distribute pane Fill and Stroke panecommands panes
More informationBCSWomen Android programming (with AppInventor) Family fun day World record attempt
BCSWomen Android programming (with AppInventor) Family fun day World record attempt Overview of the day Intros Hello Android! Getting your app on your phone Getting into groups Ideas for apps Overview
More informationDrawing Tools. Drawing a Rectangle
Chapter Microsoft Word provides extensive DRAWING TOOLS that allow you to enhance the appearance of your documents. You can use these tools to assist in the creation of detailed publications, newsletters,
More informationTSM Report Designer. Even Microsoft Excel s Data Import add-in can be used to extract TSM information into an Excel spread sheet for reporting.
TSM Report Designer The TSM Report Designer is used to create and modify your TSM reports. Each report in TSM prints data found in the databases assigned to that report. TSM opens these databases according
More informationAsynchronous Programming
Asynchronous Programming Turn-in Instructions A main file, called gui.py See previous slides for how to make it main I ll run it from the command line Put in a ZIP file, along with any additional needed
More informationRendering a 3-Dimensional Cube Applet Using Light Weight Java Graphing Library (LWJGL) with Java Swing with NetBeans IDE 6.1
Jasamine Jackson Hanan Alnizami June 10, 2008 Rendering a 3-Dimensional Cube Applet Using Light Weight Java Graphing Library (LWJGL) with Java Swing with NetBeans IDE 6.1 This project is a step towards
More informationIntroduction to Game Programming Lesson 4 Lecture Notes
Introduction to Game Programming Lesson 4 Lecture Notes Learning Objectives: Following this lecture, the student should be able to: Define frame rate List the factors that affect the amount of time a game
More informationMeet the Cast. The Cosmic Defenders: Gobo, Fabu, and Pele The Cosmic Defenders are transdimensional
Meet the Cast Mitch A computer science student who loves to make cool programs, he s passionate about movies and art, too! Mitch is an all-around good guy. The Cosmic Defenders: Gobo, Fabu, and Pele The
More informationCSE 331 Software Design & Implementation
CSE 331 Software Design & Implementation Hal Perkins Spring 2017 GUI Event-Driven Programming 1 The plan User events and callbacks Event objects Event listeners Registering listeners to handle events Anonymous
More information1 Getting started with Processing
cis3.5, spring 2009, lab II.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For
More informationThis document should only be used with the Apple Macintosh version of Splosh.
Splosh 1 Introduction Splosh is an easy to use art package that runs under both Microsoft Windows and the Macintosh Mac OS Classic or Mac OS X operating systems. It should however be noted that the Apple
More informationCore Java Syllabus. Pre-requisite / Target Audience: C language skills (Good to Have)
Overview: Java programming language is developed by Sun Microsystems. Java is object oriented, platform independent, simple, secure, architectural neutral, portable, robust, multi-threaded, high performance,
More informationDeskTop Publishing on Linux
DeskTop Publishing on Linux Introduction Desktop Publishing (DTP) is the art of bringing together seperate elements in one format. It can be used to create flyers, posters and newsletters Applications
More informationCreated by: Leslie Arakaki
Created by: Leslie Arakaki Fall, 2000 Page 1 Starting PowerPoint: 1. Double click on the icon. PowerPoint-ing your work! For PC computers with PowerPoint 97/2000 Using the Design Template feature to create
More informationLearn to make desktop LE
HACKING WITH SWIFT COMPLETE TUTORIAL COURSE Learn to make desktop LE P apps with real-worldam S Swift projects REEPaul Hudson F Project 1 Storm Viewer Get started coding in Swift by making an image viewer
More informationUsing Microsoft Power Point
Using Microsoft Power Point Using the Menus in both the English and Japanese Versions Toolbars Shortcuts Resources on the Web Contents Menus Page Main Menu 1 File Menu 2 Edit Menu 3 View Menu 4 Insert
More informationGraphical User Interfaces (GUIs)
CMSC 132: Object-Oriented Programming II Graphical User Interfaces (GUIs) Department of Computer Science University of Maryland, College Park Model-View-Controller (MVC) Model for GUI programming (Xerox
More informationDrawing in 3D (viewing, projection, and the rest of the pipeline)
Drawing in 3D (viewing, projection, and the rest of the pipeline) CS559 Fall 2016 Lecture 6/7 September 26-28 2016 The first 4 Key Ideas 1. Work in convenient coordinate systems. Use transformations to
More informationHello, and welcome to another episode of. Getting the Most Out of IBM U2. This is Kenny Brunel, and
Hello, and welcome to another episode of Getting the Most Out of IBM U2. This is Kenny Brunel, and I'm your host for today's episode which introduces wintegrate version 6.1. First of all, I've got a guest
More informationSolidWorks 2½D Parts
SolidWorks 2½D Parts IDeATe Laser Micro Part 1b Dave Touretzky and Susan Finger 1. Create a new part In this lab, you ll create a CAD model of the 2 ½ D key fob below to make on the laser cutter. Select
More information