Making the Java Coder More Productive Introduction to New Coding Features in JDeveloper

Size: px
Start display at page:

Download "Making the Java Coder More Productive Introduction to New Coding Features in JDeveloper"

Transcription

1 Making the Java Coder More Productive Introduction to New Coding Features in JDeveloper This document describes several Java Coding scenarios. It either uses predefined source files or creates certain classes on the fly. Check for Updates: 1. Install latest Service Update (only available for ; SU s for are not yet available as it has just been released) 2. Install JUnit Tasks: 1. In Tools Preferences go to Tasks panel 2. Add custom Source Tag DEMO with priority High - this helps identifying all upcoming demo steps 3. Select View Tasks Window 4. In Tasks window select Current File from dropdown box Code Assist: Errors: * Demonstrate use of Quick Fix via Code Assist feature. public class Errors { private static final double CONSTANT_PI = 3.14f; public Errors() { // DEMO Pick Quick Fix "Create Inner Class Foo" Foo[] bar = new Foo[0]; // DEMO Pick Quick Fix "Cast To 'float'" float d = CONSTANT_PI; System.out.println(d); Table 1: Errors.java 1. Mouse Over in File Margin Overview (grey area right of code editor) to get information on problem 2. Place cursor in token with red wriggleline and press Ctrl+Alt+Enter to open Quick Fix menu 3. Use Code Assist menu for Foo and pick Create Inner Class Foo 4. Use Code Assist menu for CONSTANT_PI and pick Cast to float Invert or Negate If Statements o Invert If Statement: condition is modified and branches get swapped o Negate Expression: condition is modified * Demonstrate inverting and negating If contructs. public class IfStatements { public void testifstatements() { boolean b = false; boolean b2 = true; int i = 0; // DEMO Invert a primitive type if (b) { System.out.println("This is b"); else { System.out.println("This is!b");

2 // DEMO Negate a primitive type if (i <= 0) { System.out.println("This is i <= 0"); // DEMO Invert a more complex If construct if (b b2) { System.out.println("This is b b2"); else { System.out.println("This is!b &&!b2"); Table 2: IfStatements.java 1. Use Code Assist menu to invert if (b) 2. Use Code Assist menu to negate if (i <= 0) 3. Use Code Assist menu to invert if (b b2) QuickJavadoc * DEMO Click in the QuickJavadoc declaration and choose Source Quick Javadoc. * DEMO Press Ctrl+D. * DEMO Select Quick Javadoc from the code editor's context menu. * * These inline link tags should display and link properly: * <ul> * <li> {@link java.lang.stringbuffer#capacity Capacity - link text should be * "Capacity" * <li> {@link java.lang.stringbuffer#append(char[], int, int) - link text * should be "java.lang.stringbuffer.append(char[], int, int)" * <li> {@link java.lang.stringbuffer The StringBuffer Class - link text should * be "The StringBuffer Class" * </ul> public class QuickJavadoc { * DEMO QuickJavadoc also available for fields. public static final String SOME_TEXT = "Hello World!"; * DEMO...Constructors public QuickJavadoc() { * DEMO...and, of course, methods. i some input some output FileNotFoundException if i is less than 0 public String foo(int i) throws FileNotFoundException { if (i < 0) { throw new FileNotFoundException(); return "found " + i; Table 3: QuickJavadoc.java 1. Click in the QuickJavadoc declaration and choose Source Quick Javadoc 2. Place cursor inside identifier and press Ctrl+D 3. Place cursor inside identifier and select Quick Javadoc from the code editor's context menu. Unused Members Points out all unused methods, fields, parameters, and variables in this class.

3 * DEMO identification of unused methods, fields, parameters, and variables. public final class Unused { public Unused() { this(false, false); private boolean used_b = false; private int used_i = 0; private String used_s = ""; // Violation: parameter unused_b not used // Note: despite its name the constructor is really used private Unused(boolean used_b, boolean unused_b) { this.used_b = used_b; // Violation: method Unused and parameter unused_i not used private Unused(int used_i, int unused_i) { this.used_i = used_i; // Violation: method Unused parameter unused_s not used private Unused(String used_s, String unused_s) { this.used_s = used_s; // Violation: parameter unused_i not used public void calling(int used_i, int unused_i) { int used_j = used_i; // Violation: local variable not used int unused_j = used_j; // Violation: method unused_private_method not used private void unused_private_method() { public int unused_public_field; protected int unused_protected_field; // Violation: field unused_private_field not used private int unused_private_field; int unused_default_access_field; Table 4: Unused.java Code Highlighting: Highlight all syntactical identic tokens. * Demonstrate Code Highlighting. All syntactical identic tokens will get * highlighted. Cumulative highlighting is possible. public class Highlighted { * DEMO 1) Place cursor in method name and click on Highlight icon in main * tool bar. * DEMO 2) Place cursor in parameter and click on Highlight icon. * * D1) Method name should get highlighted, but parameter name not. * D2) Parameter name should get highlighted, but method name not. public boolean ishighlighted(boolean ishighlighted) { * D1) This variable should not get highlighted. * D2) This variable should not get highlighted. ishighlighted = false; return ishighlighted; public void foo() {

4 * Variable name should not get highlighted. boolean ishighlighted = true; * D1) Method name should get highlighted, but parameter name not. * D2) Parameter name should get highlighted, but method name not. ishighlighted(ishighlighted); * Class type and name should not get highlighted. ishighlighted ic = new ishighlighted(); * This class identifier should not get highlighted. private class ishighlighted { public void bar() { * D1) Method name should get highlighted. * D2) Parameter should get highlighted although it does not have * an identifier but a primitive type value. ishighlighted(true); Table 5: Highlighted.java 1. Place cursor in method name and click on Highlight icon in main tool bar 2. Place cursor in parameter and click on Highlight icon 3. Clear highlighting and accumulate highlighting Smart Code Templates aka Live Code Templates import java.util.arraylist; import java.util.collection; import java.util.date; import java.util.hashmap; import java.util.list; import java.util.vector; * Demonstrate Smart Code Templates a.k.a. Live Code Templates. class Templates { public void usecodetemplates() { int i = 100; Date date = new Date(); List<Date> list = new ArrayList<Date>(); HashMap<String, Date> map = new HashMap<String, Date>(); // DEMO enter "fori" and press Ctrl+Enter // DEMO enter "itli", in template choose list and then Date; check CodeAssist Table 6: Templates.java 1. Press Ctrl+Enter to get list of all templates 2. enter fori and press Ctrl+Enter to expand template 3. enter itli and press Ctrl+Enter to expand template; in template choose list and then Date; check CodeAssist for an addition treat(!) 4. Go to Tools Preferences and go to panel Code Editor Code Templates to enter your own templates

5 Smart Code Insight: If you press Ctrl+Space, the popup list shows all available methods, fields and classes. Most of the offered items may not be applicable. To limit the list to those items, press Ctrl+Alt+Space. import java.awt.dimension; * Demonstrate Code Insight and Smart Code Insight. public class SmartCodeInsight { private static final int HEIGHT = 15; private int getint() { return -1; public void showsmartcodeinsight() { Dimension dim = new Dimension(10, 20); * DEMO uncomment next statement and place cursor right of '.' * 1) use Ctrl+Space -> shows all available methods and fields of Dimension * 2) use Ctrl+Alt+Space -> shows all available AND applicable methods * and fields of Dimension if cursor right of '.' and of this class if * left of '.' // int height1 = dim. * DEMO uncomment next statement and place cursor right of '=' * 1) use Ctrl+Space -> shows all available methods, fields, and classes * 2) use Ctrl+Alt+Space -> shows all available AND applicable methods * and fields of this class // int height2 = Table 7: SmartCodeInsight.java 1. Place cursor right of int height1 = dim. and press Ctrl+Alt+Space 2. While popup list is shown use cursor keys to move left of. and note the difference 3. Place cursor right of int height2 = and press Ctrl+Alt+Space Nice Little Tricks: * Demonstrate various small tips and tricks: * a) Copy DOS path * b) Edit Copy Path * c) Extended Copy * d) Surround With * e) Go to Source from stack trace public class NiceLittleTricks { private void showsmartcopypaste() { // DEMO copy DOS file path String dospath = ""; // DEMO select Edit Copy Path while file node selected in Navigator String filepath = ""; // DEMO for Extended Paste press Ctrl+Shift+V public static void main(string[] args) { NiceLittleTricks c = new NiceLittleTricks(); c.showsmartcopypaste(); // DEMO Use Surround With from context menu and pick try-catch c.catchme(); public int catchme() throws Exception { throw new Exception("Catch me if you can!");

6 Table 8: NiceLittleTricks.java 1. Copy a string containing a DOS path and JDeveloper will guard all \ with an additional escape character \ 2. In the Navigator select any file node and select Edit Copy Path; now paste string into your code 3. Press Ctrl+Shift+V to open Extended Copy dialog to get to a list of previously copied strings 4. Use Surround With from context menu to place try-catch around call of method catchme() 5. Maximize code editor by double clicking into the tab 6. Split Code Editor vertical or horizontal by dragging the divider above the vertical slider or right of the horizontal slider 7. Dock Code Editor vertical or horizontal Navigation in Code Editor: import java.util.arraylist; import java.util.list; import nicelittletricks.nicelittletricks; * Demonstrate View Type Hierarchy and Go to Java Source dialog. public class Navigation { private void showhierarchy() { // DEMO select List or list and select View Type Hierarchy // from context menu List list = new ArrayList(); // DEMO While searching for Subtype Hierarchy use Ctrl+Minus // and enter class name e.g. ArrayList or use Browse button // to open Go to Java Source dialog // DEMO run this class and go to source from stack trace public static void main(string[] args) { NiceLittleTricks c = new NiceLittleTricks(); try { // DEMO place cursor inside catchme() // and select Find Usages from context menu c.catchme(); catch (Exception e) { e.printstacktrace(); Table 9: Navigation.java 1. Place cursor somewhere inside List list and select Navigate Hierarchy View 2. In dropdown box of Hierarchy Panel switch to Subtype Hierarchy; note that this will take a while; in the meantime Press Ctrl+Minus to open Go to Source dialog; enter class name in text field or use Browse 4. Run class Navigation and use stack trace to go to source code 5. Press Alt+Home to find node for this file in Navigator 6. Place cursor in c.catchme() and select Find Usages from context menu Code Folding: 1. Open project MyJavaApp; if project does not exist, use these steps to create it: a. In New Gallery select Client Tier Swing/AWT Java Application b. In Create Java Application dialog accept default settings c. In Create Frame dialog select all checkboxes d. Copy code of class Frame1_AboutBoxPanel1 and make it an inner private class of Frame1 class 2. Open Frame1.java in Source view 3. Hover over [+] of a collapsed area 4. Use context menu of Folding Gutter to manage expansion

7 Navigation in Code Editor (reprise): The class Frame1.java is now the perfect opportunity to show another Code Navigation feature: Source Code Navigation via [i] and [o] icons in Line Gutter. 1. Select line public class Frame1 extends JFrame 2. Click on [o] to navigate to overriden class java.awt.container 3. Click on [o] to navigate to implemented interface javax.accessibility.accessible 4. Press Alt+Down to get to next member in class or Alt+Up to get to previous member Code Formatting: Why built-in Code Formatting when there is Jalopy et altera? Having our own Code Formatting feature enables all wizards to generate code conformant to selected style. 1. In Tools Preferences go to Code Style to look at predefined styles 2. Use style editor to modify code style; pick Next Line for all Brace Positions 3. Save modified style 4. Reformat MyJavaApp; all opening braces are now on the next line 5. For Application1.java select Source Implement Interface and select java.util.list Note that all opening braces get automatically placed on the next line Refactoring: 1. Open project RefactoringDemo; if project does not exist, use these steps to create it: a. In New Gallery select Client Tier Swing/AWT Java Application b. In Create Java Application dialog accept default settings c. In Create Frame dialog select all checkboxes 2. Compile project 3. In Navigator select file Frame1.java, then select Refactor Rename; enter name MyFrame and select checkbox Preview 4. In Rename log window click on Do Refactoring icon 5. Verify that renaming deleted Frame1.class 6. Place cursor inside method identifier fileexit_actionperformed() 7. Select Refactor Inline; statement system.exit(0); gets added to MenuHelpAbout.addActionListener() 8. Extract previously inlined method; it becomes a private method inside the anonymous ActionListener class 9. Place cursor inside any occurance of jbinit() and select Refactor Change Method 10. Insert new boolean parameter with default value true Delete Safely: 1. Select class Frame1_AboutBoxPanel1.java 2. Select Refactor Delete Safely 3. Check Usages log window Generate Accessors: * Demonstrate Source Generate Accessors. public class GenerateAccessors { // DEMO Select Source Generate Accessors and enter "_generate" as prefix private int _generateaccessorforint = 0; private String _generateaccessorforstring = ""; Table 10: GenerateAccessors.java 1. Open class GenerateAccessors.java in code editor 2. Select Source Generate Accessors

8 3. Enter prefix _generate; note that the names of the getter and setter methods adopt to this prefix change when you press Refresh Multi-File Find and Replace: 1. Select Search Find in Files 2. Enter text Frame and select Active Project 3. Select Search Find in Files again 4. Enter (keep) text Frame and select Active Application and checkbox Show Results in New Tab Navigation between Code Editors: 1. In the Main toolbar click on Backward and Forward icons to move between previously opened source files 2. Select Navigate Go to Last Edit 3. Select Navigate Recent Files Working with the Navigator: Drag n Drop 1. Open project NavigatorDemo or create a project with multiple packages 2. Move any class from one package to another by clicking on the class in the Navigator and dragging it onto the package node of your choice; note how the code gets refactored 3. Undo move is also possible Custom Properties This is especially useful in a team development environment. Consider the following situation: you want to test your application with a new version of a library without modifying the application s project. To do this take the following steps: 1. Open the project s Properties dialog 2. Go to panel Libraries 3. Select checkbox Use Custom Settings 4. Click on Customize Settings button 5. Add the library, e.g. JDeveloper Extension SDK 6. Close the dialog 7. Compile the project Note that the classpath has now the entries for ide.jar and jdev.jar. Working Sets This new feature is currently only available in the System Navigator. It helps you by filtering the nodes on display, which is very useful in large projects. It does this without modifying the project. 1. Select View System Navigator 2. Expand your project 3. Select any package node 4. In the Navigator s toolbar click on Working Sets icon 5. Pick New From Selection 6. In the dialog give your new set a name e.g. Package1 7. In the Navigator s toolbar click on Working Sets icon again 8. Pick Manage Working Sets 9. Hide or Unhide files by selecting them in the Files tab or enter patterns manually in the Patterns tab (it uses the same annotation as Ant)

Productivity! Feature Matrix

Productivity! Feature Matrix Features Code Generation Tools JBuilderX and Productivity! Std Pro JBuilderX Delegate.Insight - provides an easy way to generate methods, which implementations are delegated to another object (delegate).

More information

Using Eclipse Europa - A Tutorial

Using Eclipse Europa - A Tutorial Abstract Lars Vogel Version 0.7 Copyright 2007 Lars Vogel 26.10.2007 Eclipse is a powerful, extensible IDE for building general purpose applications. One of the main applications

More information

Coding Faster: Getting More Productive with Microsoft Visual

Coding Faster: Getting More Productive with Microsoft Visual Microsoft Coding Faster: Getting More Productive with Microsoft Visual Studio Covers Microsoft Visual Studio 2005, 2008, and 2010 Zain Naboulsi Sara Ford Table of Contents Foreword Introduction xxiii xxvii

More information

CHAPTER 3. Using Java Development Tools

CHAPTER 3. Using Java Development Tools CHAPTER 3 Using Java Development Tools Eclipse provides a first-class set of Java Development Tools (JDT) for developing, running, and debugging Java code. These tools include perspectives, project definitions,

More information

Specification Manager

Specification Manager Enterprise Architect User Guide Series Specification Manager How to define model elements simply? In Sparx Systems Enterprise Architect, use the document-based Specification Manager to create elements

More information

Generating/Updating code from whole project

Generating/Updating code from whole project Round-trip engineering is the ability to generate model from source code and generate source code from UML model, and keep them synchronized. You can make use of round-trip engineering to keep your implementation

More information

PART 1. Eclipse IDE Tutorial. 1. What is Eclipse? Eclipse Java IDE

PART 1. Eclipse IDE Tutorial. 1. What is Eclipse? Eclipse Java IDE PART 1 Eclipse IDE Tutorial Eclipse Java IDE This tutorial describes the usage of Eclipse as a Java IDE. It describes the installation of Eclipse, the creation of Java programs and tips for using Eclipse.

More information

Editing and Refactoring Code

Editing and Refactoring Code keegan.book Page 91 Wednesday, April 19, 2006 9:40 PM 5 Editing and Refactoring Code CHAPTER 5 Opening the Source Editor Managing Automatic Insertion of Closing Characters Displaying Line Numbers Inserting

More information

SDKs - Eclipse. SENG 403, Tutorial 2

SDKs - Eclipse. SENG 403, Tutorial 2 SDKs - SENG 403, Tutorial 2 AGENDA - SDK Basics - - How to create Project - How to create a Class - Run Program - Debug Program SDK Basics Software Development Kit is a set of software development tools

More information

Dreamweaver Basics Outline

Dreamweaver Basics Outline Dreamweaver Basics Outline The Interface Toolbar Status Bar Property Inspector Insert Toolbar Right Palette Modify Page Properties File Structure Define Site Building Our Webpage Working with Tables Working

More information

Module Road Map. 7. Version Control with Subversion Introduction Terminology

Module Road Map. 7. Version Control with Subversion Introduction Terminology Module Road Map 1. Overview 2. Installing and Running 3. Building and Running Java Classes 4. Refactoring 5. Debugging 6. Testing with JUnit 7. Version Control with Subversion Introduction Terminology

More information

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

2 Getting Started. Getting Started (v1.8.6) 3/5/2007 2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless

More information

Mockup Step-by-Step Guide

Mockup Step-by-Step Guide Guide CONTENTS Contents... 1 Overview... 2 Key Takeaways... 2 Mockup User Interface... 3 Mockup Toolbar... 3 Options... 3 General Options... 4 Float Properties Popup... 4 Creating a Mockup... 6 Opening

More information

Getting Started (1.8.7) 9/2/2009

Getting Started (1.8.7) 9/2/2009 2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have

More information

Specification Manager

Specification Manager Enterprise Architect User Guide Series Specification Manager Author: Sparx Systems Date: 30/06/2017 Version: 1.0 CREATED WITH Table of Contents The Specification Manager 3 Specification Manager - Overview

More information

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

Weiss Chapter 1 terminology (parenthesized numbers are page numbers) Weiss Chapter 1 terminology (parenthesized numbers are page numbers) assignment operators In Java, used to alter the value of a variable. These operators include =, +=, -=, *=, and /=. (9) autoincrement

More information

Overview of Eclipse Lectures. Module Road Map

Overview of Eclipse Lectures. Module Road Map Overview of Eclipse Lectures 1. Overview 2. Installing and Running 3. Building and Running Java Classes 4. Refactoring Lecture 2 5. Debugging 6. Testing with JUnit 7. Version Control with CVS 1 Module

More information

FrontPage 2000 Tutorial -- Advanced

FrontPage 2000 Tutorial -- Advanced FrontPage 2000 Tutorial -- Advanced Shared Borders Shared Borders are parts of the web page that share content with the other pages in the web. They are located at the top, bottom, left side, or right

More information

In this Tutorial we present tips and trick for the development enviroment eclipse and the extension MyEclipse.

In this Tutorial we present tips and trick for the development enviroment eclipse and the extension MyEclipse. Tips and tricks for eclipse and the IDE MyEclipse In this Tutorial we present tips and trick for the development enviroment eclipse and the extension MyEclipse. Generals Author: Sascha Wolski Sebastian

More information

Kona ALL ABOUT FILES

Kona ALL ABOUT FILES Kona ALL ABOUT FILES February 20, 2014 Contents Overview... 4 Add a File/Link... 5 Add a file via the Files tab... 5 Add a file via a conversation, task, or event... 6 Add a file via a comment... 7 Add

More information

Index. Symbols. /**, symbol, 73 >> symbol, 21

Index. Symbols. /**, symbol, 73 >> symbol, 21 17_Carlson_Index_Ads.qxd 1/12/05 1:14 PM Page 281 Index Symbols /**, 73 @ symbol, 73 >> symbol, 21 A Add JARs option, 89 additem() method, 65 agile development, 14 team ownership, 225-226 Agile Manifesto,

More information

Comments. Summary. Modified by Rob Evans on Jun 10, Parent page: Workspace Manager Panels

Comments. Summary. Modified by Rob Evans on Jun 10, Parent page: Workspace Manager Panels Comments Modified by Rob Evans on Jun 10, 2015 Parent page: Workspace Manager Panels The Comments panel showing a collection of user comments for the currently active project. Summary The Comments panel

More information

Binghamton University. CS-140 Fall Problem Solving. Creating a class from scratch

Binghamton University. CS-140 Fall Problem Solving. Creating a class from scratch Problem Solving Creating a class from scratch 1 Recipe for Writing a Class 1. Write the class boilerplate stuff 2. Declare Fields 3. Write Creator(s) 4. Write accessor methods 5. Write mutator methods

More information

This cheat sheet is aimed at people with some experience in eclipse but who may not be aware of many of its features.

This cheat sheet is aimed at people with some experience in eclipse but who may not be aware of many of its features. ECLIPSE CHEAT SHEET This cheat sheet is aimed at people with some experience in eclipse but who may not be aware of many of its features. SHORTCUTS These are some of the most useful shortcuts in eclipse.

More information

1. Move your mouse to the location you wish text to appear in the document. 2. Click the mouse. The insertion point appears.

1. Move your mouse to the location you wish text to appear in the document. 2. Click the mouse. The insertion point appears. Word 2010 Text Basics Introduction Page 1 It is important to know how to perform basic tasks with text when working in a word processing application. In this lesson you will learn the basics of working

More information

Exercise 1: Intro to Java & Eclipse

Exercise 1: Intro to Java & Eclipse Exercise 1: Intro to Java & Eclipse Discussion of exercise solution We do not put the exercise solution s source code online! But we show & publish the most important parts on slides There are sometimes

More information

JSF Tools Reference Guide. Version: M5

JSF Tools Reference Guide. Version: M5 JSF Tools Reference Guide Version: 3.3.0.M5 1. Introduction... 1 1.1. Key Features of JSF Tools... 1 2. 3. 4. 5. 1.2. Other relevant resources on the topic... 2 JavaServer Faces Support... 3 2.1. Facelets

More information

Lehigh University Library & Technology Services

Lehigh University Library & Technology Services Lehigh University Library & Technology Services Start Word Open a file called day2 Microsoft WORD 2003 Day 2 Click the Open button on the Standard Toolbar Go to the A: drive and highlight day2 and click

More information

(800) Toll Free (804) Fax Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days

(800) Toll Free (804) Fax   Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days Course Description This course introduces the Java programming language and how to develop Java applications using Eclipse 3.0. Students learn the syntax of the Java programming language, object-oriented

More information

Click on OneDrive on the menu bar at the top to display your Documents home page.

Click on OneDrive on the menu bar at the top to display your Documents home page. Getting started with OneDrive Information Services Getting started with OneDrive What is OneDrive @ University of Edinburgh? OneDrive @ University of Edinburgh is a cloud storage area you can use to share

More information

At the shell prompt, enter idlde

At the shell prompt, enter idlde IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar

More information

New York City College of Technology. Microsoft Word Contact Information:

New York City College of Technology. Microsoft Word Contact Information: New York City College of Technology Microsoft Word 2016 Contact Information: 718-254-8565 ITEC@citytech.cuny.edu Opening Word 2016 Begin by clicking on the bottom left corner icon on the desktop. From

More information

Getting Started with Access

Getting Started with Access MS Access Chapter 2 Getting Started with Access Course Guide 2 Getting Started with Access The Ribbon The strip across the top of the program window that contains groups of commands is a component of the

More information

CS 11 java track: lecture 3

CS 11 java track: lecture 3 CS 11 java track: lecture 3 This week: documentation (javadoc) exception handling more on object-oriented programming (OOP) inheritance and polymorphism abstract classes and interfaces graphical user interfaces

More information

Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach.

Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach. CMSC 131: Chapter 28 Final Review: What you learned this semester The Big Picture Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach. Java

More information

FrontPage Help Center. Topic: FrontPage Basics

FrontPage Help Center. Topic: FrontPage Basics FrontPage Help Center Topic: FrontPage Basics by Karey Cummins http://www.rtbwizards.com http://www.myartsdesire.com 2004 Getting Started... FrontPage is a "What You See Is What You Get" editor or WYSIWYG

More information

Eclipse Tips and Tricks (JDT)

Eclipse Tips and Tricks (JDT) Eclipse Tips and Tricks (JDT) Editing source Content assist Content assist provides you with a list of suggested completions for partially entered strings. In the Java editor press Ctrl+Space or invoke

More information

Quick Guide FAST HR. For more resources, including a guide on FAST HR codes, visit # Instructions Screenshot

Quick Guide FAST HR. For more resources, including a guide on FAST HR codes, visit   # Instructions Screenshot Tips & tricks This quick guide describes basic navigation within the FAST HR reporting tool, including how to use filter options, format columns and export reports. For more resources, including a guide

More information

Creating a Website in Schoolwires

Creating a Website in Schoolwires Creating a Website in Schoolwires Overview and Terminology... 2 Logging into Schoolwires... 2 Changing a password... 2 Navigating to an assigned section... 2 Accessing Site Manager... 2 Section Workspace

More information

Exceptions and Libraries

Exceptions and Libraries Exceptions and Libraries RS 9.3, 6.4 Some slides created by Marty Stepp http://www.cs.washington.edu/143/ Edited by Sarah Heckman 1 Exceptions exception: An object representing an error or unusual condition.

More information

Creating a Website in Schoolwires Technology Integration Center

Creating a Website in Schoolwires Technology Integration Center Creating a Website in Schoolwires Technology Integration Center Overview and Terminology... 2 Logging into Schoolwires... 2 Changing a password... 2 Accessing Site Manager... 2 Section Workspace Overview...

More information

Coding Guidelines. Introduction. General Points. Avoid redundant initialization/assignment

Coding Guidelines. Introduction. General Points. Avoid redundant initialization/assignment Coding Guidelines Introduction General Points Avoid redundant initialization/assignment Use of "!" instead of explicit "== true" and "== false" Anonymous inner classes. Members sort order Naming Abbreviations

More information

INTRODUCTION TO SOFTWARE SYSTEMS (COMP1110/COMP1140/COMP1510/COMP6710)

INTRODUCTION TO SOFTWARE SYSTEMS (COMP1110/COMP1140/COMP1510/COMP6710) Important notice: This document is a sample exam. The final exam will differ from this exam in numerous ways. The purpose of this sample exam is to provide students with access to an exam written in a

More information

Studio2012.aspx

Studio2012.aspx 1 2 3 http://www.hanselman.com/blog/tinyhappyfeatures1t4templatedebugginginvisual Studio2012.aspx 4 5 Image source: http://www.itworld.com/software/177989/7-days-using-onlykeyboard-shortcuts-no-mouse-no-trackpad-no-problem

More information

6.170 Laboratory in Software Engineering Eclipse Reference for 6.170

6.170 Laboratory in Software Engineering Eclipse Reference for 6.170 6.170 Laboratory in Software Engineering Eclipse Reference for 6.170 Contents: CVS in Eclipse o Setting up CVS in Your Environment o Checkout the Problem Set from CVS o How Do I Add a File to CVS? o Committing

More information

Nauticom NetEditor: A How-to Guide

Nauticom NetEditor: A How-to Guide Nauticom NetEditor: A How-to Guide Table of Contents 1. Getting Started 2. The Editor Full Screen Preview Search Check Spelling Clipboard: Cut, Copy, and Paste Undo / Redo Foreground Color Background Color

More information

Basic Concepts 1. Starting Powerpoint 2000 (Windows) For the Basics workshop, select Template. For this workshop, select Artsy

Basic Concepts 1. Starting Powerpoint 2000 (Windows) For the Basics workshop, select Template. For this workshop, select Artsy 1 Starting Powerpoint 2000 (Windows) When you create a new presentation, you re prompted to choose between: Autocontent wizard Prompts you through a series of questions about the context and content of

More information

Teamcenter 11.1 Systems Engineering and Requirements Management

Teamcenter 11.1 Systems Engineering and Requirements Management SIEMENS Teamcenter 11.1 Systems Engineering and Requirements Management Systems Architect/ Requirements Management Project Administrator's Manual REQ00002 U REQ00002 U Project Administrator's Manual 3

More information

Prototyping a Swing Interface with the Netbeans IDE GUI Editor

Prototyping a Swing Interface with the Netbeans IDE GUI Editor Prototyping a Swing Interface with the Netbeans IDE GUI Editor Netbeans provides an environment for creating Java applications including a module for GUI design. Here we assume that we have some existing

More information

Preview and Print Reports. Preview and Print Reports (for MAS Users) Participant Profile. Learning Outcomes

Preview and Print Reports. Preview and Print Reports (for MAS Users) Participant Profile. Learning Outcomes Preview and Print Reports Preview and Print Reports (for MAS Users) This document includes a copy of the concepts and procedures that form the basis of this selfpaced online learning module. As you work

More information

AutoCAD 2009 User InterfaceChapter1:

AutoCAD 2009 User InterfaceChapter1: AutoCAD 2009 User InterfaceChapter1: Chapter 1 The AutoCAD 2009 interface has been enhanced to make AutoCAD even easier to use, while making as much screen space available as possible. In this chapter,

More information

Composite Pattern - Shapes Example - Java Sourcecode

Composite Pattern - Shapes Example - Java Sourcecode Composite Pattern - Shapes Example - Java Sourcecode In graphics editors a shape can be basic or complex. An example of a simple shape is a line, where a complex shape is a rectangle which is made of four

More information

ACTIVINSPIRE USER GUIDE TO HELP STAFF TRANSITION FROM ACTIVSTUDIO SUMMER 2010 MONTGOMERY COUNTY PUBLIC SCHOOLS TECHNOLOGY CONSULTING TEAM

ACTIVINSPIRE USER GUIDE TO HELP STAFF TRANSITION FROM ACTIVSTUDIO SUMMER 2010 MONTGOMERY COUNTY PUBLIC SCHOOLS TECHNOLOGY CONSULTING TEAM ACTIVINSPIRE USER GUIDE TO HELP STAFF TRANSITION FROM ACTIVSTUDIO SUMMER 2010 MONTGOMERY COUNTY PUBLIC SCHOOLS TECHNOLOGY CONSULTING TEAM CONTENTS ACTIVINSPIRE DASHBOARD... 5 Changes and Additions... 5

More information

PROGRAMMING FUNDAMENTALS

PROGRAMMING FUNDAMENTALS PROGRAMMING FUNDAMENTALS Q1. Name any two Object Oriented Programming languages? Q2. Why is java called a platform independent language? Q3. Elaborate the java Compilation process. Q4. Why do we write

More information

11.1 Create Speaker Notes Print a Presentation Package a Presentation PowerPoint Tips... 44

11.1 Create Speaker Notes Print a Presentation Package a Presentation PowerPoint Tips... 44 Contents 1 Getting Started... 1 1.1 Presentations... 1 1.2 Microsoft Office Button... 1 1.3 Ribbon... 2 1.4 Mini Toolbar... 2 1.5 Navigation... 3 1.6 Slide Views... 4 2 Customize PowerPoint... 5 2.1 Popular...

More information

MS PowerPoint Useful Features. Choose start options. Change Office backgrounds and colours

MS PowerPoint Useful Features. Choose start options. Change Office backgrounds and colours MS PowerPoint Useful Features Note: Depending on your installation of MS Office, the screens you see on your PC may vary slightly from those shown on this fact sheet. Choose start options The first time

More information

Tutorial 02: Writing Source Code

Tutorial 02: Writing Source Code Tutorial 02: Writing Source Code Contents: 1. Generating a constructor. 2. Generating getters and setters. 3. Renaming a method. 4. Extracting a superclass. 5. Using other refactor menu items. 6. Using

More information

Getting Started with Milestones Professional

Getting Started with Milestones Professional Create a new Schedule: Use the default template. Or Choose the Setup Wizard. (File/New). Or Choose a predesigned template. NEXT: Follow the tips below. Set the Schedule Start and End Dates: Click the Toolbar

More information

Dive Into Visual C# 2008 Express

Dive Into Visual C# 2008 Express 1 2 2 Dive Into Visual C# 2008 Express OBJECTIVES In this chapter you will learn: The basics of the Visual Studio Integrated Development Environment (IDE) that assists you in writing, running and debugging

More information

Classes and Objects 3/28/2017. How can multiple methods within a Java class read and write the same variable?

Classes and Objects 3/28/2017. How can multiple methods within a Java class read and write the same variable? Peer Instruction 8 Classes and Objects How can multiple methods within a Java class read and write the same variable? A. Allow one method to reference a local variable of the other B. Declare a variable

More information

Utilizing the Inspection Tool. Switching to PMD Perpective. Summary. Basic manual

Utilizing the Inspection Tool. Switching to PMD Perpective. Summary. Basic manual Utilizing the Inspection Tool Summary This guide will describe the egovframe s Code Inspection tool called PMD and its basic usage. Basic manual You can run Code Inspection from the IDE s PMD Perspective

More information

CS 315 Software Design Homework 3 Preconditions, Postconditions, Invariants Due: Sept. 29, 11:30 PM

CS 315 Software Design Homework 3 Preconditions, Postconditions, Invariants Due: Sept. 29, 11:30 PM CS 315 Software Design Homework 3 Preconditions, Postconditions, Invariants Due: Sept. 29, 11:30 PM Objectives Defining a wellformed method to check class invariants Using assert statements to check preconditions,

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

Index. Bitwise operations, 131. Cloud, 88, 101

Index. Bitwise operations, 131. Cloud, 88, 101 Index A Analysis, NetBeans batch analyzers, 127 dynamic code analysis, 128 Java 8 lambda expressions, 127 static code analysis definition, 128 FindBugs categories, 144 Inspect & Transform tool, 129 inspections,

More information

CISC-124. Passing Parameters. A Java method cannot change the value of any of the arguments passed to its parameters.

CISC-124. Passing Parameters. A Java method cannot change the value of any of the arguments passed to its parameters. CISC-124 20180215 These notes are intended to summarize and clarify some of the topics that have been covered recently in class. The posted code samples also have extensive explanations of the material.

More information

P3e REPORT WRITER CREATING A BLANK REPORT

P3e REPORT WRITER CREATING A BLANK REPORT P3e REPORT WRITER CREATING A BLANK REPORT 1. On the Reports window, select a report, then click Copy. 2. Click Paste. 3. Click Modify. 4. Click the New Report icon. The report will look like the following

More information

User Guide Zend Studio for Eclipse V6.1

User Guide Zend Studio for Eclipse V6.1 User Guide Zend Studio for Eclipse V6.1 By Zend Technologies, Inc. www.zend.com Disclaimer The information in this help is subject to change without notice and does not represent a commitment on the part

More information

Since you can designate as many symbols as needed as baseline symbols it s possible to show multiple baselines with unique symbology.

Since you can designate as many symbols as needed as baseline symbols it s possible to show multiple baselines with unique symbology. In this lesson you will learn how to: Tutorials Lesson 17 - Work with a Baseline Set up the symbols and bars used to display a baseline using the Baseline Setup Wizard. Insert a baseline. Highlight, lock

More information

Basic Concepts 1. For this workshop, select Template

Basic Concepts 1. For this workshop, select Template Basic Concepts 1 When you create a new presentation, you re prompted to choose between: Autocontent wizard Prompts you through a series of questions about the context and content of your presentation not

More information

Language Features. 1. The primitive types int, double, and boolean are part of the AP

Language Features. 1. The primitive types int, double, and boolean are part of the AP Language Features 1. The primitive types int, double, and boolean are part of the AP short, long, byte, char, and float are not in the subset. In particular, students need not be aware that strings are

More information

EXCEL 2010 PROCEDURES

EXCEL 2010 PROCEDURES EXCEL 2010 PROCEDURES Starting Excel 1 Click the Start 2 Click All Programs 3 Click the Microsoft Office folder icon 4 Click Microsoft Excel 2010 Naming and Saving (Ctrl+S) a Workbook 1 Click File 2 Click

More information

Display Systems International Software Demo Instructions

Display Systems International Software Demo Instructions Display Systems International Software Demo Instructions This demo guide has been re-written to better reflect the common features that people learning to use the DSI software are concerned with. This

More information

Program Fundamentals

Program Fundamentals Program Fundamentals /* HelloWorld.java * The classic Hello, world! program */ class HelloWorld { public static void main (String[ ] args) { System.out.println( Hello, world! ); } } /* HelloWorld.java

More information

WPS Workbench. user guide. "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs"

WPS Workbench. user guide. To help guide you through using the WPS user interface (Workbench) to create, edit and run programs WPS Workbench user guide "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs" Version: 3.1.7 Copyright 2002-2018 World Programming Limited www.worldprogramming.com

More information

1 Introduction to MARS

1 Introduction to MARS 1 Introduction to MARS 1.1 Objectives After completing this lab, you will: Get familiar with the MARS simulator Learn how to assemble, run, and debug a MIPS program 1.2 The MARS Simulator MARS, the MIPS

More information

CHAPTER 6. Java Project Configuration

CHAPTER 6. Java Project Configuration CHAPTER 6 Java Project Configuration Eclipse includes features such as Content Assist and code templates that enhance rapid development and others that accelerate your navigation and learning of unfamiliar

More information

Overview of the Adobe Dreamweaver CS5 workspace

Overview of the Adobe Dreamweaver CS5 workspace Adobe Dreamweaver CS5 Activity 2.1 guide Overview of the Adobe Dreamweaver CS5 workspace You can access Adobe Dreamweaver CS5 tools, commands, and features by using menus or by selecting options from one

More information

Numbers Basics Website:

Numbers 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 information

Kendo UI. Builder by Progress : What's New

Kendo UI. Builder by Progress : What's New Kendo UI Builder by Progress : What's New Copyright 2017 Telerik AD. All rights reserved. July 2017 Last updated with new content: Version 2.0 Updated: 2017/07/13 3 Copyright 4 Contents Table of Contents

More information

Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static

Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static Table of Contents Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static Series Chart with Dynamic Series Master-Detail

More information

Chapter 2 Using Slide Masters, Styles, and Templates

Chapter 2 Using Slide Masters, Styles, and Templates Impress Guide Chapter 2 Using Slide Masters, Styles, and Templates OpenOffice.org Copyright This document is Copyright 2007 by its contributors as listed in the section titled Authors. You can distribute

More information

ArcGIS. ArcGIS Desktop. Tips and Shortcuts

ArcGIS. ArcGIS Desktop. Tips and Shortcuts ArcGIS ArcGIS Desktop Tips and Shortcuts Map Navigation Function Shortcut Availability Refresh and redraw the display. F5 9.1, Suspend the map s drawing. F9 9.1, Zoom in and out. Center map. Roll the mouse

More information

CodeWarrior Development Studio for Advanced Packet Processing FAQ Guide

CodeWarrior Development Studio for Advanced Packet Processing FAQ Guide CodeWarrior Development Studio for Advanced Packet Processing FAQ Guide Document Number: CWAPPFAQUG Rev. 10.2, 01/2016 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction

More information

G51PGP Programming Paradigms. Lecture 009 Concurrency, exceptions

G51PGP Programming Paradigms. Lecture 009 Concurrency, exceptions G51PGP Programming Paradigms Lecture 009 Concurrency, exceptions 1 Reminder subtype polymorphism public class TestAnimals public static void main(string[] args) Animal[] animals = new Animal[6]; animals[0]

More information

Adding Text and Images. IMCOM Enterprise Web CMS Tutorial 1 Version 2

Adding Text and Images. IMCOM Enterprise Web CMS Tutorial 1 Version 2 Adding Text and Images IMCOM Enterprise Web CMS Tutorial 1 Version 2 Contents and general instructions PAGE: 3. First steps: Open a page and a block to edit 4. Edit text / The menu bar 5. Link to sites,

More information

Basic Operations jgrasp debugger Writing Programs & Checkstyle

Basic Operations jgrasp debugger Writing Programs & Checkstyle Basic Operations jgrasp debugger Writing Programs & Checkstyle Suppose you wanted to write a computer game to play "Rock, Paper, Scissors". How many combinations are there? Is there a tricky way to represent

More information

Imposing a job with inpo2 ATOM s wizard. Abstract from inpo2 User s Guide

Imposing a job with inpo2 ATOM s wizard. Abstract from inpo2 User s Guide Imposing a job with inpo2 ATOM s wizard. Abstract from inpo2 User s Guide Imposing with inpo2 ATOM The inpo2 ATOM Wizard allows creating complete imposition layouts and assemblies in just a few clicks.

More information

Configuring Ad hoc Reporting. Version: 16.0

Configuring Ad hoc Reporting. Version: 16.0 Configuring Ad hoc Reporting Version: 16.0 Copyright 2018 Intellicus Technologies This document and its content is copyrighted material of Intellicus Technologies. The content may not be copied or derived

More information

Index. Index. More information. block statements 66 y 107 Boolean 107 break 55, 68 built-in types 107

Index. Index. More information. block statements 66 y 107 Boolean 107 break 55, 68 built-in types 107 A abbreviations 17 abstract class 105 abstract data types 105 abstract method 105 abstract types 105 abstraction 92, 105 access level 37 package 114 private 115 protected 115 public 115 accessors 24, 105

More information

User Guide. Chapter 6. Teacher Pages

User Guide. Chapter 6. Teacher Pages User Guide Chapter 6 s Table of Contents Introduction... 5 Tips for s... 6 Pitfalls... 7 Key Information... 8 I. How to add a... 8 II. How to Edit... 10 SharpSchool s WYSIWYG Editor... 11 Publish a...

More information

Crystal Reports 7. Overview. Contents. Parameter Fields

Crystal Reports 7. Overview. Contents. Parameter Fields Overview Contents This document provides information about parameter fields in Crystal Reports (CR) version 7.x. Definition of terms, architecture, usage and features are discussed. This document should

More information

3 Getting Started with Objects

3 Getting Started with Objects 3 Getting Started with Objects If you are an experienced IDE user, you may be able to do this tutorial without having done the previous tutorial, Getting Started. However, at some point you should read

More information

Percussion Documentation Table of Contents

Percussion Documentation Table of Contents Percussion Documentation Table of Contents Intro to the Percussion Interface... 2 Logging In to Percussion... 2 The Dashboard... 2 Managing Dashboard Gadgets... 3 The Menu... 4 The Finder... 4 Editor view...

More information

Handout 7. Defining Classes part 1. Instance variables and instance methods.

Handout 7. Defining Classes part 1. Instance variables and instance methods. Handout 7 CS180 Programming Fundamentals Spring 15 Page 1 of 8 Handout 7 Defining Classes part 1. Instance variables and instance methods. In Object Oriented programming, applications are comprised from

More information

News in RSA-RTE 10.2 updated for sprint Mattias Mohlin, May 2018

News in RSA-RTE 10.2 updated for sprint Mattias Mohlin, May 2018 News in RSA-RTE 10.2 updated for sprint 2018.18 Mattias Mohlin, May 2018 Overview Now based on Eclipse Oxygen.3 (4.7.3) Contains everything from RSARTE 10.1 and also additional features and bug fixes See

More information

StarTeam File Compare/Merge StarTeam File Compare/Merge Help

StarTeam File Compare/Merge StarTeam File Compare/Merge Help StarTeam File Compare/Merge 12.0 StarTeam File Compare/Merge Help Micro Focus 575 Anton Blvd., Suite 510 Costa Mesa, CA 92626 Copyright 2011 Micro Focus IP Development Limited. All Rights Reserved. Portions

More information

CS/B.TECH/CSE(New)/SEM-5/CS-504D/ OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 GROUP A. (Multiple Choice Type Question)

CS/B.TECH/CSE(New)/SEM-5/CS-504D/ OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 GROUP A. (Multiple Choice Type Question) CS/B.TECH/CSE(New)/SEM-5/CS-504D/2013-14 2013 OBJECT ORIENTED PROGRAMMING Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates are required to give their answers

More information

Word 2013 Quick Start Guide

Word 2013 Quick Start Guide Getting Started File Tab: Click to access actions like Print, Save As, and Word Options. Ribbon: Logically organize actions onto Tabs, Groups, and Buttons to facilitate finding commands. Active Document

More information

What's New in Sitecore CMS 6.4

What's New in Sitecore CMS 6.4 Sitecore CMS 6.4 What's New in Sitecore CMS 6.4 Rev: 2010-12-02 Sitecore CMS 6.4 What's New in Sitecore CMS 6.4 This document describes the new features and changes introduced in Sitecore CMS 6.4 Table

More information

Access 2013 Keyboard Shortcuts

Access 2013 Keyboard Shortcuts Access 2013 Keyboard Shortcuts Access app shortcut keys Design-time shortcut keys These shortcut keys are available when you are customizing an app in Access. Many of the shortcuts listed under Desktop

More information