BuddySoft Painter Capstone Project Buddy Landry December 15, 2006.

Slides:



Advertisements
Similar presentations
Chapter 16 Graphical User Interfaces
Advertisements

Introduction to Java 2 Programming
Possible Windows 8 Improvements By: Scott Hill. Improve Windows 8 Split Screen Mode The only options for split screen mode currently is to have one screen.
Adobe ImageReady 3 Foundation Level Course. What is ImageReady? ImageReady is a graphics program that offers several tools tailored to efficiently prepare.
Chapter 17 Creating Images for the Web. Chapter Lessons Learn about Web features Optimize images for Web use Create a button for a Web page Create slices.
© 2010 Delmar, Cengage Learning Chapter 4 Working with Links.
Exploring Other FreeHand Features – Lesson 31 Exploring Other FreeHand Features Lesson 3.
C HAPTER 12 A Very Graphic Story. O VERVIEW Simple GUI Getting User Input Creating a Listener ActionEvents Displaying Graphics Drawing Multiple Buttons.
Chapter Day 10. © 2007 Pearson Addison-Wesley. All rights reserved4-2 Agenda Day 10 Questions from last Class?? Problem set 2 posted  10 programs from.
Lesson 3: Using Windows Programs. 2 Concept 3.1 Common Features in Programs A program is a set of directions that tell the computer what to do –Different.
Slide Transitions Slide Show, Slide Transition opens Slide Transition task pane Practice each option setting to select the transition style, its speed,
CSSE221: Software Dev. Honors Day 9 Announcements Announcements HW3 passed back, follow link from HW3 to its solution. HW3 passed back, follow link from.
CS 112 GUI 06 May 2008 Bilkent. Java GUI API Containers: ◦ contain other GUI components. E.g, Window, Panel, Applet, Frame Dialog. Components: ◦ Buttons,
Chapter 13: Advanced GUIs and Graphics J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition.
Chapter Day 9. © 2007 Pearson Addison-Wesley. All rights reserved4-2 Agenda Day 8 Questions from last Class?? Problem set 2 posted  10 programs from.
Working with Images. Painting Software Tool for: drawing pictures and making illustrations Editing digital pictures.
By: Zaiba Mustafa Copyright ©
Programming Task: Task 1 Controlled Assessment Practice.
XP Tutorial 7 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Working with Graphics Tutorial 7.
Chapter 13 Advanced GUIs and Graphics. Chapter Objectives Learn about applets Explore the class Graphics Learn about the class Font Explore the class.
CHBT-01 Basic Micro process & Computer Operation
CIS 205—Web Design & Development Flash Chapter 1 Getting Started with Adobe Flash CS3.
Java Programming, 3e Concepts and Techniques Chapter 3 Section 65 – Manipulating Data Using Methods – Java Applet.
Turning Glowing Text into Animated Glowing Text Using Animation Shop.
Adding User Interactivity – Lesson 51 Adding User Interactivity Lesson 5.
Field Trip #26 Create a Find a Word Puzzle in Java By Keith Lynn.
Java Programming: From Problem Analysis to Program Design, 4e Chapter 12 Advanced GUIs and Graphics.
JAPPLET.
Chapter 10 Fireworks: Part II The Web Warrior Guide to Web Design Technologies.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
Java GUI CSCE 190 – Java Instructor: Joel Gompert Mon, July 26, 2004.
Adobe Dreamweaver CS3 Revealed CHAPTER FOUR: WORKING WITH LINKS.
3461A Readings from the Swing Tutorial. 3461A Overview  The follow is the Table of Contents from the trail “Creating a GUI with JFC/Swing” in the “The.
Productivity Programs Common Features and Commands.
Java GUI’s are event driven, meaning they generate events when the user interacts with the program. Typical events are moving the mouse, clicking a mouse.
Tutorial 7 Planning and Creating a Flash Web Site.
Macromedia Dreamweaver 8 Revealed LINKS WORKING WITH.
More on Hierarchies 1. When an object of a subclass is instantiated, is memory allocated for only the data members of the subclass or also for the members.
– Advanced Programming P ROGRAMMING IN Lecture 21 Introduction to Swing.
Graphic User Interface. Graphic User Interface (GUI) Most of us interact with computers using GUIs. GUIs are visual representations of the actions you.
Java Graphics Stuart Hansen 11/6/03. What’s Wrong with OpenGL Graphics – not GUI –No real support of text boxes, buttons, etc. Procedural - not OOP –No.
Graphics and Event-Driven Programming in Java John C. Ramirez Department of Computer Science University of Pittsburgh.
CS Lecture 00 Swing overview and introduction Lynda Thomas
MSc Workshop - © S. Kamin, U. ReddyLect 3 - GUI -1 Lecture 3 - Graphical User Interfaces r GUI toolkits in Java API r JFrame r GUI components.
1 Java Swing - Lecture 2 Components and Containment Boriana Koleva
Object Oriented Programming Engr. M. Fahad Khan Lecturer, Software Engineering Department University of Engineering & Technology, Taxila.
Exploring the Macromedia Flash Workspace – Lesson 2 1 Exploring the Macromedia Flash Workspace Lesson 2.
Lec.10 (Chapter 8 & 9) GUI Jiang (Jen) ZHENG June 27 th, 2005.
Working in FreeHand – Lesson 21 Working in FreeHand Lesson 2.
The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming. AWT features include: a rich set of user interface components; a.
SEEM3460 Tutorial GUI in Java. Some Basic GUI Terms Component (Control in some languages) the basic GUI unit something visible something that user can.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 – Graphical User Interfaces Java Foundations: Introduction to Programming.
PowerPoint Presentation Part I Creating a PowerPoint Presentation The Basics.
Review_6 AWT, Swing, ActionListener, and Graphics.
Creating User Interfaces Event-Driven Programming.
Ajmer Singh PGT(IP) JAVA IDE Programming - I. Ajmer Singh PGT(IP) GUI (Graphical User Interface) It is an interface that uses a graphic entities along.
Event Handling CS 21a: Introduction to Computing I First Semester,
Developing GUIs With the Eclipse Visual Editor, Swing/AWT Edition David Gallardo.
>>0 >>1 >> 2 >> 3 >> 4 >>
CIS 270—Application Development II Chapter 11—GUI Components: Part I.
Java Swing and Events Chris North cs3724: HCI. Presentations nadine edwards, steve terhar Vote: UI Hall of Fame/Shame?
Welcome To java
A First Look at GUI Applications
Computer presentation
Java Swing.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Creating Images for the Web
Windows.
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
Graphical User Interface
Presentation transcript:

BuddySoft Painter Capstone Project Buddy Landry December 15, 2006

Project Description I was inspired to create my own version of MS Paint after learning about Mouse Listeners and GUI Components in this class. I decided to see how close to the original program I could get by using Java to code it but decided to create a couple of my own unique tools to add to it.

GUI Components I used JButtons to select from multiple tools and Combo Boxes to select foreground and background colors as well as to select the tool size. JMenus were used for the top menu bar with dialog boxes.

GUI Layout I used a BorderLayout with a GridLayout to organize my toolbar, menubar and JPanel to draw on. Tooltips and Mnemonics were used to see the tool description and to view the alternate tool selection (alt+key). Dialog Boxes were used to provide the user information in the program.

MouseListener and MouseMotionListener The dragged method was used to provide the paint on the JPanel. They enabled the graphic context to function on the panel to display the user drawing input.

ButtonListener (ActionListener) In order for the user to select different tools, I set an integer value for each tool and switched it when the user clicked a different button to change the event source. For the comboboxes I changed the SelectedIndex to change color and sizes.

Tool Bar List of Tools 1. Pencil7. Open Oval 2. Feather8. Open Rectangle 3. Blotch9. Closed Oval 4. Brush10. Closed Rectangle 5. Spray Can 6. Cobwebs

Outcomes I was able to create a good equivalent to MS Paint with tools, buttons, drawing, color selection, help dialog boxes, a open dialog box, and an exit menu button. I lacked selection, cut, copy, and paste features, and a save as dialog box. I wasn’t sure about I/O streams to create it.

Lessons Learned The Sun Microsystems website was a terrific resource providing vast information about GUI Components. It had components I have never heard of before. The API is a programmers best friend. It is equivalent to the Actionscript library and Dreamweaver O’Reilly code libraries. I learned the vast possibilities Java provides. The object oriented aspect of Java makes it flexible to create applications, animations, games.

Lessons Learned Class files allow a programmer to create unique applications by inheriting what they need rather than always creating something from scratch. The object oriented concepts exist in multiple languages but are typed differently. Java is strongly typed but other languages still declare data types but just in different ways. Programming becomes formulaic after awhile. Practice goes a long way because instantiation becomes routine creating many components with the same technique.

Other Goals A Java Word Processor. A Java Audio Player/Equalizer. Go into Java Advanced Topics such as JDBC and Networking. Applets are neat. The applet life cycle is a little bit different than applications.