Java Programming Hello FX
|
|
- Blaze Atkins
- 6 years ago
- Views:
Transcription
1 Java Programming Hello FX Alice E. Fischer Feb 16, 2015 Java Programming - Hello FX... 1/22
2 Winter Colors Fonts Spring Circle Demo Java Programming - Hello FX... 2/22
3 Example: Winter Introduction to fx Text and Fonts Color Applications, Stages, and Scenes start() Setting the Scene Java Programming - Hello FX... 3/22
4 Introduction to fx An fx Application is a GUI program that presents a window. To use the GUI system, derive a class from Application. Inside the application window is a Stage, on which you can display one Scene or another. You can put text, shapes, and controls on the stage. Fonts and colors can be created and used. Java Programming - Hello FX... 4/22
5 Application, Stage, and Scene Title bar Title Application Window Content S t a g e A Scene with two Panes Panes Controls Java Programming - Hello FX... 5/22
6 Java Packages and Classes we Need These lines bring the names of the basic FX components into your namespace: import javafx.application.application; import javafx.stage.stage; import javafx.scene.scene; Layouts allow you to arrange the display elements in Panes: import javafx.scene.layout.*; The paint and text packages allow us to use colors and fonts: import javafx.scene.paint.*; import javafx.scene.text.*; Java Programming - Hello FX... 6/22
7 An FX program is derived from Application It does not have a main function or a constructor. Instead, you override start(). An Application creates a window with a title bar. The part of the window below the title bar is called thestage. We create Scenes and put them on the stage. We create Panes and pack them into a Scene. The items we want to display are packed into the Panes. When all the parts are packed into a Scene, we put the Scene on the Stage: st.setscene(scene1). Then we make the window visible: st.show(). Java Programming - Hello FX... 7/22
8 FX programs are derived from Application public class Winter extends Application { // Class data member declarations. Pane haiku = new Pane();... public void start( Stage st ){... } void setprops ( Text t, Font f, Color c ){... } } Java Programming - Hello FX... 8/22
9 Colors Colors are defined as class members. Color c1 = new Color(.3,.3,.8, 1 ); // Hyacinth The parameters to the Color constructor are the Red, Green, and Blue components of the color and the Opacity. All are double numbers between 0 and 1. Opacity = 1 means fully opaque. Opacity =.5 means half-transparent. That is, the color of the image underneath, on the desktop, will partly show through. Java Programming - Hello FX... 9/22
10 Colors Colors r= 1 g= 0 b= 0 r= 1 g=.5 b= 0 r= 1 g=.5 b=.5 r= 0 g= 1 b= 0 r= 0 g= 1 b=.5 r=.5 g= 1 b=.5 r= 0 g= 0 b= 1 r=.5 g= 0 b= 1 r=.7 g=.7 b= 1 r=.3 g=.3 b=.8 r=.3 g=.8 b=.3 r=.8 g=.3 b=.3 r= 1 g= 1 b=.5 r= 1 g=.5 b= 1 r=.5 g= 1 b= 1 r= 1 g= 1 b= 1 r=.5 g=.5 b=.5 r= 0 g= 0 b= 0 Java Programming - Hello FX... 10/22
11 Fonts Fonts Proportional Fonts Serif fonts have hats and shoes that make the font more readable. This line is set in Times 14-point font. This line is set in Times 12-point font. This line is set in Times New Roman 12-point font. This line is set in Athelas 12-point font. Sans-Serif fonts are simple and look modern This line is set in Arial 12-point font. This line is set in Helvetica 12-point font. Fixed-Width Fonts Every letter in these fonts is the same width. Use for code and output. This line is set in Courier 12-point font. This line is set in Monoco 12-point font. Special-purpose fonts This line is set in Handwriting-Dakota 12-point font. This line is set in Herculaneum 12-point font. This line is set in Kokonor 12-point font. Java Programming - Hello FX... 11/22
12 Fonts Fonts are defined as class members. Font f1 = Font.font ("Arial", FontWeight.BOLD, FontPosture.REGULAR, 24); Font f2 = Font.font ("Arial", FontWeight.NORMAL, FontPosture.ITALIC, 20); FontWeight.BOLD, FontWeight.NORMAL, FontWeight.LIGHT gives boldface or ordinary non-boldface or light gray text. FontPosture.ITALIC FontPosture.REGULAR gives slanted code or code that stands straight up. Java Programming - Hello FX... 12/22
13 Fonts Messages are type Text A Text object has several properties: A message. A position, in xy coordinates. Position (0,0) is the upper left corner of the Stage. A Font. A Color. Some properties can be set by the constructor, some by later calls on set functions. Java Programming - Hello FX... 13/22
14 Fonts Things to be displayed can be defined as class members. public class Winter extends Application { Text title = new Text(40, 40, "Winter"); Text l1 = new Text(50, 70, "Piercing cold, stiffness;"); Text l2 = new Text(50, 95, "Warmth of spring still far away,"); Text l3 = new Text(50, 120, "Many weeks to wait.");... } Java Programming - Hello FX... 14/22
15 Fonts A private utility function. // Set the font and color of a line of text at the same time. void setprops ( Text t, Font f, Color c ){ t.setfont(f); t.setfill(c); } Java Programming - Hello FX... 15/22
16 Fonts Application An FX program is created by extending Application. There is no main function. Instead, you override start( Stage st ) An Application creates a window with a title bar. The part of the window below the title bar is called the Stage. We create Scenes and put them on the stage. We create Panes and pack them into a Scene. The items we want to display are packed into the Panes. When all the parts are packed into a Scene, we put the Scene on the Stage: st.setscene(scene1). Then we make the window visible: st.show(). Java Programming - Hello FX... 16/22
17 Fonts The import commands. These lines bring the names of the basic FX components into your namespace: import javafx.application.application; import javafx.stage.stage; import javafx.scene.scene; Layouts allow you to arrange the display elements in Panes: import javafx.scene.layout.*; The paint package allows us to use colors: import javafx.scene.paint.*; The text package allows us to use fonts: import javafx.scene.text.*; Java Programming - Hello FX... 17/22
18 Spring This demo program is very much like Winter. The differences are that the code has been shortened by defining a more powerful helper function and it uses Color.GREEN instead of Color.BLUE Java Programming - Hello FX... 18/22
19 Circle Demo: Review This program uses the following familiar things: Application, Stage, Scene, Pane. settitle(), setscene(), and show() Color grayblue = new Color(.4,.4,.8, 1 ); Three predefined colors: Color.WHITE, Color.BLUE, and Color.BLACK Java Programming - Hello FX... 19/22
20 Circle Demo: New features This program uses the following new things: javafx.scene.shape.circle; Circle c1 = new Circle(100, 100, 50, grayblue) The first two parameters in the circle constructor are the x and y coordinates of the center of the circle. The third parameter is the radius and last is the color. We set a black outline on one of the circles: c1.setstroke(color.black); The color of the shape and of its outline can be different. Java Programming - Hello FX... 20/22
21 Placing the Parts of the Display To see the display elements, every one must be put into a pane, and the pane into a scene, and the scene onto the stage. In this program, demo is a pane. To put the circles into demo, we first need to get the list (currently empty) of the pieces that have previously been put there: demo.getchildren() Then we add new parts to the end of the list: demo.getchildren().addall( c1, c2, c3, c4 ); The first things added can be covered up by things added later. The last thing shows. Java Programming - Hello FX... 21/22
22 Make the Stage Visible At this point, we have constructed all of the objects that will be in the scene. We create a new Scene with the desired dimensions. We set the Scene on the stage. Then we make it all visible. }... Scene sn = new Scene( demo, 200, 200 ); st.setscene(sn); st.show(); Java Programming - Hello FX... 22/22
JavaFX Technology Building GUI Applications With JavaFX - Tutorial Overview
avafx Tutorial Develop Applications for Desktop and Mobile Java FX 2/10/09 3:35 PM Sun Java Solaris Communities My SDN Account Join SDN SDN Home > Java Technology > JavaFX Technology > JavaFX Technology
More informationJava Programming Layout
Java Programming Layout Alice E. Fischer Feb 22, 2013 Java Programming - Layout... 1/14 Application-Stage-Scene-Pane Basic GUI Construction Java Programming - Layout... 2/14 Application-Stage-Scene Application
More informationCST141 JavaFX Basics Page 1
CST141 JavaFX Basics Page 1 1 2 5 6 7 8 9 10 JavaFX Basics CST141 Console vs. Window Programs In Java there is no distinction between console programs and window programs Java applications can mix (combine)
More informationJava Programming Lecture 7
Java Programming Lecture 7 Alice E. Fischer Feb 16, 2015 Java Programming - L7... 1/16 Class Derivation Interfaces Examples Java Programming - L7... 2/16 Purpose of Derivation Class derivation is used
More information@Override public void start(stage primarystage) throws Exception { Group root = new Group(); Scene scene = new Scene(root);
Intro to Drawing Graphics To draw some simple graphics, we first need to create a window. The easiest way to do this in the current version of Java is to create a JavaFX application. Previous versions
More informationJava Programming Lecture 6
Java Programming Lecture 6 Alice E. Fischer Feb 15, 2013 Java Programming - L6... 1/32 Dialog Boxes Class Derivation The First Swing Programs: Snow and Moving The Second Swing Program: Smile Swing Components
More informationGUI Output. Adapted from slides by Michelle Strout with some slides from Rick Mercer. CSc 210
GUI Output Adapted from slides by Michelle Strout with some slides from Rick Mercer CSc 210 GUI (Graphical User Interface) We all use GUI s every day Text interfaces great for testing and debugging Infants
More informationJavaFX. Working with the JavaFX Scene Graph Release 8 E March 2014 Learn about the concept of a scene graph and how it is used in JavaFX.
JavaFX Working with the JavaFX Scene Graph Release 8 E50683-01 March 2014 Learn about the concept of a scene graph and how it is used in JavaFX. JavaFX Working with the JavaFX Scene Graph Release 8 E50683-01
More informationGraphical User Interfaces
Graphical User Interfaces CSC 1051 Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Outline Pixels & bits & colors JavaFX Introduction
More informationGraphical User Interfaces
Graphical User Interfaces CSC 1051 Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website: http://www.csc.villanova.edu/~map/1051/
More informationBeautiful User Interfaces with JavaFX
Beautiful User Interfaces with JavaFX Systémes d acquisition 3EIB S. Reynal September 20, 2017 The current document is dedicated to giving you a small and quick insight into the JavaFX API, an extra Java
More informationGraphical User Interfaces
Graphical User Interfaces CSC 1051 Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website: http://www.csc.villanova.edu/~map/1051/
More informationGraphics Applets. By Mr. Dave Clausen
Graphics Applets By Mr. Dave Clausen Applets A Java application is a stand-alone program with a main method (like the ones we've seen so far) A Java applet is a program that is intended to transported
More informationCOMP1406 Tutorial 5. Objectives: Getting Started: Tutorial Problems:
COMP1406 Tutorial 5 Objectives: Learn how to create a window with various components on it. Learn how to create a Pane and use it in more than one GUI. To become familiar with the use of Buttons, TextFields
More informationUnit 3--Alignment, Formatting Font--Size, Color, Style [Bold, Italic, and Underline] Block
Unit 3--Alignment, Formatting Font--Size, Color, Style [Bold, Italic, and Underline] Block Use the mouse pointer to select the text (or put a blue highlight behind it). Then, make the changes you need.
More informationTopic 7: Algebraic Data Types
Topic 7: Algebraic Data Types 1 Recommended Exercises and Readings From Haskell: The craft of functional programming (3 rd Ed.) Exercises: 5.5, 5.7, 5.8, 5.10, 5.11, 5.12, 5.14 14.4, 14.5, 14.6 14.9, 14.11,
More informationBuilding Graphical user interface using JavaFX
CS244 Advanced programming Applications Building Graphical user interface using JavaFX Dr Walid M. Aly Lecture 6 JavaFX vs Swing and AWT When Java was introduced, the GUI classes were bundled in a library
More informationCommand-Line Applications. GUI Libraries GUI-related classes are defined primarily in the java.awt and the javax.swing packages.
1 CS257 Computer Science I Kevin Sahr, PhD Lecture 14: Graphical User Interfaces Command-Line Applications 2 The programs we've explored thus far have been text-based applications A Java application is
More informationLogo & Brand Identity Guidelines. Media Sonar Technologies
Technologies Logo & Brand Identity Guidelines 0 Contents 1.0 Logo Specifics 2.0 Typeface Details 3.0 Icons 4.0 Colour Specifications 5.0 Logo Styles (lock-ups) 5.1 Logo Best Practices Logo Construction
More informationHow to...create a Video VBOX Gauge in Inkscape. So you want to create your own gauge? How about a transparent background for those text elements?
BASIC GAUGE CREATION The Video VBox setup software is capable of using many different image formats for gauge backgrounds, static images, or logos, including Bitmaps, JPEGs, or PNG s. When the software
More informationEasier Reading in Windows 7 Programs
Easier Reading in Windows 7 Programs The Key Mada Assistive Technology Center Tel: 00 974 44594050 Fax: 00 974 44594051 Email: info@mada.org.qa Contents Introduction... 3 Using a scroll mouse or laptop
More informationGuidelines for Legible and Readable Text, page 2-1 Visual Density Transparent, Translucent, or Opaque?, page 2-3
CHAPTER 2 Revised: November 15, 2011 Concepts, page 2-1 s, page 2-4 Reference, page 2-25 Concepts Guidelines for Legible and Readable Text, page 2-1 Visual Density Transparent, Translucent, or Opaque?,
More informationIT In the News. Login tokens have been reset for those affected and vulnerabilities have been fixed. o Vulnerabilities existed since July 2017
IT In the News 50 million Facebook accounts were affected by a security breach two weeks ago Attacks exploited bugs in Facebook s View As feature (built to give users more privacy) and a feature that allowed
More informationIT82: Mul timedia. Practical Graphics Issues 20th Feb Overview. Anti-aliasing. Fonts. What is it How to do it? History Anatomy of a Font
IT82: Mul timedia Practical Graphics Issues 20th Feb 2003 1 Anti-aliasing What is it How to do it? Lines Shapes Fonts History Anatomy of a Font Overview Types of Fonts ( which do I choose? ) How to make
More informationGrafica e non solo: Java FX
Grafica e non solo: Java FX Creazione di una Applicazione JavaFX public class JavaFXApplica/onTEST extends Applica/on { @Override public void start(stage primarystage) { BuCon btn = new BuCon(); btn.settext("say
More informationDrawPlus X8. Quick Start Guide. Simple steps for getting started with your drawing.
DrawPlus X8 Quick Start Guide Simple steps for getting started with your drawing. In this guide, we will refer to specific tools, toolbars and tabs. Use this visual reference to help locate them on the
More informationMaking Your PowerPoint Presentations Accessible
Making Your PowerPoint Presentations Accessible Montclair State University is committed to making our digital content accessible to people with disabilities (required by Section 508). This document will
More informationGraphing Interface Overview
Graphing Interface Overview Note: This document is a reference for using JFree Charts. JFree Charts is m-power s legacy graphing solution, and has been deprecated. JFree Charts have been replace with Fusion
More informationDesigning and Printing Address Labels
Designing and Printing Address Labels This file will show you one way to use your computer for producing stick-on address labels, helping you to reduce the time involved in preparing the year's set of
More informationStudy Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo
Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Note: We skipped Study Guide 1. If you d like to review it, I place a copy here: https:// people.rit.edu/~nbbigm/studyguides/sg-1.docx
More informationCS 315 Software Design Homework 1 First Sip of Java Due: Sept. 10, 11:30 PM
CS 315 Software Design Homework 1 First Sip of Java Due: Sept. 10, 11:30 PM Objectives The objectives of this assignment are: to get your first experience with Java to become familiar with Eclipse Java
More informationVariables, Types, and Expressions
Variables, Types, and Expressions Announcements Karel the Robot due right now. Email: Due Sunday, January 22 at 11:59PM. Update to assignment due dates: Assignments 2 5 going out one day later. Contact
More informationStep 1: Create A New Photoshop Document
Snowflakes Photo Border In this Photoshop tutorial, we ll learn how to create a simple snowflakes photo border, which can be a fun finishing touch for photos of family and friends during the holidays,
More informationComputer Graphics. Chapter 4 Attributes of Graphics Primitives. Somsak Walairacht, Computer Engineering, KMITL 1
Computer Graphics Chapter 4 Attributes of Graphics Primitives Somsak Walairacht, Computer Engineering, KMITL 1 Outline OpenGL State Variables Point Attributes Line Attributes Fill-Area Attributes Scan-Line
More informationExercise NMCGJ: Animated Graphics
Exercise NMCGJ: Animated Graphics Animation is a rapid display of a sequence of graphics or images which creates an illusion of movement. Animation is an important feature in game programming. In this
More informationCreating Large Format Posters Using PowerPoint TIP SHEET. Before you begin working in PowerPoint, sketch out your poster on paper.
Creating Large Format Posters Using PowerPoint TIP SHEET INTRODUCTION The ideal poster is designed to: o Tell a story o Provide a brief overview of your work o Initiate discussion o Stand alone when you
More informationUsing the Shaping Tools to Modify Objects
Using the Shaping Tools to Modify Objects In CorelDRAW, shaping commands give users a powerful means to create new shapes or manipulate current shapes by adding, subtracting, or dividing them. Shaping
More information4.0 - ENGRAVING TEXT AND A BARCODE ON ALUMILAZ
4.0 - ENGRAVING TEXT AND A BARCODE ON ALUMILAZ Material Required: 2 ¼ x 3 ⅞ Alumilaz Difficulty Level: Intermediate In this engraving job, we will produce a small nameplate on a small piece of Alumilaz.
More informationEinführung in Visual Computing
Einführung in Visual Computing 186.822 Rasterization Werner Purgathofer Rasterization in the Rendering Pipeline scene objects in object space transformed vertices in clip space scene in normalized device
More informationLogo. Logo. Symbol. Wordmark
1725 Windward Concourse, Suite 300 Alpharetta, Georgia 30005 www.thinmanager.com info@thinmanager.com OFFICE 678-990-0945 FAX 678-990-0951 Introduction... 1 Logo... 2 Clear space and minimum size... 3
More informationCSS. Text & Font Properties. Copyright DevelopIntelligence LLC
CSS Text & Font Properties 1 text-indent - sets amount of indentation for first line of text value: length measurement inherit default: 0 applies to: block-level elements and table cells inherits: yes
More informationCreate and edit text. Create the title text First you ll create the title text for the car rental ad.
8 Choose the Pointer tool and click the mask thumbnail in the Layers panel. The Property inspector shows that the mask was applied using its grayscale appearance. The darker pixels in the mask knock out
More informationWorking with images and scenes
Working with images and scenes CS 5010 Program Design Paradigms Bootcamp Mitchell Wand, 2012-2014 This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. 1 Lesson
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 informationChapter 12: FORMATTING TEXT
Disclaimer: All words, pictures are adopted from Learning Web Design (3 rd eds.) by Jennifer Niederst Robbins, published by O Reilly 2007. PART III: CSS FOR PRESENTATION Chapter 12: FORMATTING TEXT CSc2320
More informationTEMPLATE ORDER GUIDE /
TEMPLATE ORDER GUIDE / Our template order guide is filled with guidelines to help you complete the template order form. We want this to be a super easy and fun process for you! In order to prevent any
More informationDissolving Models with Particle Flow and Animated Opacity Map
Dissolving Models with Particle Flow and Animated Opacity Map In this tutorial we are going to start taking a look at Particle Flow, and one of its uses in digital effects of making a model look as though
More information46 Advanced Java for Bioinformatics, WS 17/18, D. Huson, December 21, 2017
46 Advanced Java for Bioinformatics, WS 17/18, D. Huson, December 21, 2017 11 FXML and CSS A program intended for interactive use may provide a large number of user interface (UI) components, as shown
More informationGraphics Applets. By Mr. Dave Clausen
Graphics Applets By Mr. Dave Clausen Applets A Java application is a stand-alone program with a main method (like the ones we've seen so far) A Java applet is a program that is intended to transported
More informationTWO-DIMENSIONAL FIGURES
TWO-DIMENSIONAL FIGURES Two-dimensional (D) figures can be rendered by a graphics context. Here are the Graphics methods for drawing draw common figures: java.awt.graphics Methods to Draw Lines, Rectangles
More informationNumbers Basics Website:
Website: http://etc.usf.edu/te/ Numbers is Apple's new spreadsheet application. It is installed as part of the iwork suite, which also includes the word processing program Pages and the presentation program
More informationInstructions for Crossword Assignment CS130
Instructions for Crossword Assignment CS130 Purposes: Implement a keyboard interface. 1. The program you will build is meant to assist a person in preparing a crossword puzzle for publication. You have
More informationCity of La Crosse Online Mapping Website Help Document
City of La Crosse Online Mapping Website Help Document This document was created to assist in using the new City of La Crosse online mapping sites. When the website is first opened, a map showing the City
More informationIn the early days of the Web, designers just had the original 91 HTML tags to work with.
Web Design Lesson 4 Cascading Style Sheets In the early days of the Web, designers just had the original 91 HTML tags to work with. Using HTML, they could make headings, paragraphs, and basic text formatting,
More informationDigital Media, UX-UI Design > Website Principles
Contents At a glance: Page layout header To ensure the correct appearance of our brands in a broad spectrum of applications with a web front end, uniform treatment of design elements is an absolute necessity.
More informationPART ONE CREATING THE BOARD AND MAIN SPRITES
PART ONE CREATING THE BOARD AND MAIN SPRITES SETTING UP THE WINDOW Create a new basic JavaFX application. Use a Group for the main layout. When setting the scene, ensure the basic window is 800 by 600.
More informationCreating Digital Illustrations for Your Research Workshop III Basic Illustration Demo
Creating Digital Illustrations for Your Research Workshop III Basic Illustration Demo Final Figure Size exclusion chromatography (SEC) is used primarily for the analysis of large molecules such as proteins
More informationCourse 2DCis: 2D-Computer Graphics with C# Chapter C1: Comments to the Intro Project
1 Course 2DCis: 2D-Computer Graphics with C# Chapter C1: Comments to the Intro Project Copyright by V. Miszalok, last update: 04-01-2006 using namespaces //The.NET Framework Class Library FCL contains
More informationJava - Applets. C&G criteria: 1.2.2, 1.2.3, 1.2.4, 1.3.4, 1.2.4, 1.3.4, 1.3.5, 2.2.5, 2.4.5, 5.1.2, 5.2.1,
Java - Applets C&G criteria: 1.2.2, 1.2.3, 1.2.4, 1.3.4, 1.2.4, 1.3.4, 1.3.5, 2.2.5, 2.4.5, 5.1.2, 5.2.1, 5.3.2. Java is not confined to a DOS environment. It can run with buttons and boxes in a Windows
More informationEnvSci360 Computer and Analytical Cartography
EnvSci360 Computer and Analytical Cartography Lecture 5 Working with Type and Labels Key Points Labels are text that locate and identify features on a map Important for readability & communication EnvSci
More informationIntroduction: Game. Key Design Points
Introduction: Game This project is an introduction to two dimensional game design using an animation timer and an event handler processing up and down keys. Although the structure of the software is simplistic
More informationTYPOGRAPHY. ascender arm (as on the capital T) descender bar (as on the capital H) counter ear (as on the lower case g and r)
TYPOGRAPHY Parts of letters: base line x-height ascender arm (as on the capital T) descender bar (as on the capital H) extenders bowl counter ear (as on the lower case g and r) serif stroke tail (as on
More informationIn this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics.
Additional Controls, Scope, Random Numbers, and Graphics CS109 In this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics. Combo
More informationWORD XP/2002 USER GUIDE. Task- Formatting a Document in Word 2002
University of Arizona Information Commons Training Page 1 of 21 WORD XP/2002 USER GUIDE Task- Formatting a Document in Word 2002 OBJECTIVES: At the end of this course students will have a basic understanding
More informationAP CS Unit 12: Drawing and Mouse Events
AP CS Unit 12: Drawing and Mouse Events A JPanel object can be used as a container for other objects. It can also be used as an object that we can draw on. The first example demonstrates how to do that.
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 informationStyle guide.
Style guide www.nam.org Logo Orientation The orientation of the Manufacturing Institute logo is shown below. The base line of the logo mark and typography should be aligned. The logo mark and typography
More informationCS 201 Advanced Object-Oriented Programming Lab 1 - Improving Your Image Due: Feb. 3/4, 11:30 PM
CS 201 Advanced Object-Oriented Programming Lab 1 - Improving Your Image Due: Feb. 3/4, 11:30 PM Objectives The objectives of this assignment are: to refresh your Java programming to become familiar with
More informationFonts, text, and colour on the web. Sourcing, resizing, and inserting web site images MGMT 230 LAB
Fonts, text, and colour on the web Sourcing, resizing, and inserting web site images MGMT 230 LAB Fonts and font families Font families are used in web development rather than just the name of one font
More informationExpressions, Statements, and Control Structures
Expressions, Statements, and Control Structures Announcements Assignment 2 out, due next Wednesday, February 1. Explore the Java concepts we've covered and will be covering. Unleash your creative potential!
More informationPyxis Imposed Features
USER MANUAL Pyxis Imposed Features Application Logic When the Logic check-box is ticked, it is ticked by default (top centre of main window), Pyxis Imposed will attempt to automatically apply various
More informationPart II: Creating Visio Drawings
128 Part II: Creating Visio Drawings Figure 5-3: Use any of five alignment styles where appropriate. Figure 5-4: Vertical alignment places your text at the top, bottom, or middle of a text block. You could
More informationCS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Lab 02: Introduction to Photoshop Part 1
CS 1033 Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Lab 02: Introduction to Photoshop Part 1 Upon completion of this lab, you should be able to: Open, create new, save
More information1.00 Lecture 14. Lecture Preview
1.00 Lecture 14 Introduction to the Swing Toolkit Lecture Preview Over the next 5 lectures, we will introduce you to the techniques necessary to build graphic user interfaces for your applications. Lecture
More informationTeaching with Primary Sources
Teaching with Primary Sources Joining Educators and Students with Library of Congress Resources Creating a Presentation with PowerPoint 2007 Benefits of using PowerPoint in lectures: PowerPoint encourages
More informationClass 14: Introduction to the Swing Toolkit
Introduction to Computation and Problem Solving Class 14: Introduction to the Swing Toolkit Prof. Steven R. Lerman and Dr. V. Judson Harward 1 Class Preview Over the next 5 lectures, we will introduce
More informationHow to Create Accessible Word (2016) Documents
How to Create Accessible Word (2016) Documents Heading Styles 1. Create a uniform heading structure through use of Styles in Word under the Home ribbon. a. Proper heading structure is necessary for screen
More informationCSC 1051 Data Structures and Algorithms I. Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University
Graphics & Applets CSC 1051 Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website: www.csc.villanova.edu/~map/1051/ Back to Chapter
More information1. (5 points) In your own words, describe what an instance is.
SE1021 Exam 2 Name: 1. (5 points) In your own words, describe what an instance is. 2. (5 points) Consider the Apple class in the UML diagram on the right. Write a couple lines of code to call the instance
More informationUsing master pages with InDesign
Using master pages with InDesign nigelbuckner.com 2010 About master pages Master pages are used to define common elements that will appear within the pages in your document. Elements can be placed in a
More informationWindow Designer. Opening Screen: When you start Window Designer, you will see the Opening Screen. Here you will be choosing from 4 options:
Window Designer Opening Screen: When you start Window Designer, you will see the Opening Screen. Here you will be choosing from 4 options: New Design: Use this option when no pre-built templates are available
More informationStep by Step: Scientific Poster Making Using PowerPoint 2010
Step by Step: Scientific Poster Making Using PowerPoint 2010 Nursing Research Office 1161 21 st Avenue South S-2413 MCN Nashville, TN 37232-2424 Telephone: 615.343.2992 www.vanderbiltnursingebp.com Table
More informationJava TM Applets. Rex Jaeschke
Java TM Applets Rex Jaeschke Java Applets 1997 1998, 2009 Rex Jaeschke. All rights reserved. Edition: 3.0 (matches JDK1.6/Java 2) All rights reserved. No part of this publication may be reproduced, stored
More informationThe HOME Tab: Cut Copy Vertical Alignments
The HOME Tab: Cut Copy Vertical Alignments Text Direction Wrap Text Paste Format Painter Borders Cell Color Text Color Horizontal Alignments Merge and Center Highlighting a cell, a column, a row, or the
More informationMultimedia-Programmierung Übung 4
Multimedia-Programmierung Übung 4 Ludwig-Maximilians-Universität München Sommersemester 2012 Ludwig-Maximilians-Universität München Multimedia-Programmierung 4-1 Today Scene Graph and Layouts Interaction
More informationIn this lesson, you ll learn how to:
LESSON 5: ADVANCED DRAWING TECHNIQUES OBJECTIVES In this lesson, you ll learn how to: apply gradient fills modify graphics by smoothing, straightening, and optimizing understand the difference between
More informationDTP with MS Publisher
DTP with MS Publisher ICT Curriculum Team 2004 Getting Going Basics desktop publishing a system for producing printed materials that consists of a PERSONAL COMPUTER or COMPUTER workstation, a high-resolution
More informationUse the scantron sheet to enter the answer to questions (pages 1-6)
Use the scantron sheet to enter the answer to questions 1-100 (pages 1-6) Part I. Mark A for True, B for false. (1 point each) 1. Abstraction allow us to specify an object regardless of how the object
More informationIntermediate Microsoft Word 2010
Intermediate Microsoft Word 2010 USING PICTURES... PAGE 02! Inserting Pictures/The Insert Tab! Picture Tools/Format Tab! Resizing Images! Using the Arrange Tools! Positioning! Wrapping Text! Using the
More informationNew Perspectives on Microsoft Excel Module 5: Working with Excel Tables, PivotTables, and PivotCharts
New Perspectives on Microsoft Excel 2016 Module 5: Working with Excel Tables, PivotTables, and PivotCharts Objectives, Part 1 Explore a structured range of data Freeze rows and columns Plan and create
More informationPowerPoint Module 2: Modifying a Presentation
1. In the Outline pane, a highlighted slide icon next to the slide number indicates that the slide is selected. True PowerPoint 26 LEARNING OBJECTIVES: BESK.OFIN.16.297 - Enter text in Outline view 2.
More informationComposite Pattern Diagram. Explanation. JavaFX Subclass Hierarchy, cont. JavaFX: Node. JavaFX Layout Classes. Top-Level Containers 10/12/2018
Explanation Component has Operation( ), which is a method that applies to all components, whether composite or leaf. There are generally many operations. Component also has composite methods: Add( ), Remove(
More informationPSD to Mobile UI Tutorial
PSD to Mobile UI Tutorial Contents Planning for design... 4 Decide the support devices for the application... 4 Target Device for design... 4 Import Asset package... 5 Basic Setting... 5 Preparation for
More informationHow to Make a Poster Using PowerPoint
How to Make a Poster Using PowerPoint 1997 2010 Start PowerPoint: Make a New presentation a blank one. When asked for a Layout, choose a blank one one without anything even a title. Choose the Size of
More informationJavaFX Application Structure. Tecniche di Programmazione A.A. 2017/2018
JavaFX Application Structure Tecniche di Programmazione Application structure Introduction to JavaFX Empty JavaFX window public class Main extends Application { @Override public void start(stage stage)
More informationCS 160: Lecture 10. Professor John Canny Spring 2004 Feb 25 2/25/2004 1
CS 160: Lecture 10 Professor John Canny Spring 2004 Feb 25 2/25/2004 1 Administrivia In-class midterm on Friday * Closed book (no calcs or laptops) * Material up to last Friday Lo-Fi Prototype assignment
More informationpublic static void main(string[] args) { GTest mywindow = new GTest(); // Title This program creates the following window and makes it visible:
Basics of Drawing Lines, Shapes, Reading Images To draw some simple graphics, we first need to create a window. The easiest way to do this in the current version of Java is to create a JFrame object which
More informationJavaFX. Oracle JavaFX Creating Visual Effects in JavaFX Release 2.1 E
JavaFX Oracle JavaFX Creating Visual Effects in JavaFX Release 2.1 E20486-03 October 2012 JavaFX Creating Visual Effects in JavaFX, Release 2.1 E20486-03 Copyright 2011, 2012 Oracle and/or its affiliates.
More informationTutorial 5: Working with Excel Tables, PivotTables, and PivotCharts. Microsoft Excel 2013 Enhanced
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts Microsoft Excel 2013 Enhanced Objectives Explore a structured range of data Freeze rows and columns Plan and create an Excel table Rename
More information