NetBeans, Java, and JFreeChart. An introduction for the complete novice (Part 1)
|
|
|
- Noreen Harrell
- 9 years ago
- Views:
Transcription
1 NetBeans, Java, and JFreeChart An introduction for the complete novice (Part 1) Carl David Introduction This set of papers consists of an introduction to JFreeChart and NetBeans as an IDE for Java programming. I attempt herein to ease the learning burden, a little, compared to the misery that I had to suffer through. We are using JDK 1.5.0_03, NetBeans 4.1 (for future work, we've gone over to 5.0), and jfreechart rc1. I hope its not necessary to mention that all of these programs are free, in the public domain, and can be downloaded and installed on modern PCs. Please, if you read this and find mistakes, please me at [email protected] and I will correct them. Everything you read here has been achieved created by hacking through every piece of material I can find on the WWW concerning the topics being discussed. Orginality is explicitly eschewed. Stealing code from every legal source is, a posteriori, acceptable 1. Starting a New Project To start a project, left-click File New Project. Then, after following the menus and naming the project, creating a Main application, etc., you can start coding into this Main application, and use the various build and clean functions, but if you choose to create named Applications, then, inside the project, one can right-click on the project node to get a menu, choose New, and then look for a kind of form which makes sense. In this case, I want a graphical application with swing, and with a graphical part, i.e., one which, when it comes up on the screen, I want it to have a drawing face, perhaps a menu, etc., choose Java GUI Forms Sample Forms Application. Notice that this will not be the Main application, and therefore, although F9 will compile it, Shift-F6 is needed to execute it, etc.. Perhaps it makes sense to use the Main project instead, but the method I've chosen, at least at the beginning, has been OK except for refactoring, which hasn't worked as I'd expected. 1 Plagiarize, Let no one else's work evade your eyes, Remember why the good Lord made your eyes, So don't shade your eyes, But plagiarize, plagiarize, plagiarize... Only be sure always to call it please, "research". Thank you Tom Lehrer
2 Before creating a new Application set up your libraries! Before starting creating applications, right-click on the project, and find the bottom entry, properties. Click here, and click on libraries, and then find the jfreechart libraries required and insert them into the classpath: Illustration 1Figure 1 (notice Libraries is highlighted, and then following the next menu s choices, locate the jar files necessary, wherever you ve placed them). Creating a new Application inside an existing Project with Graphical Interface Now, when you right-click on your project and choose New, you can get a choice included in Figure 2 (see below).
3 Illustration 2Figure 2 Just follow the menus from here. Just remember that there will be no Main, and therefore shift-f6 executes the current program, etc.. Just check the right-clicks on the program's name in the Project window to see your options. Example 1 Example 1 will consist of a cosine plot, in the easiest manner possible (I think). Here is my example1 code: /* * example1.java * * Created on September 22, 2005, 11:47 AM /** * david import org.jfree.*; import org.jfree.data.xy.*;//needed for XYSeries, could have called directly import org.jfree.chart.*;//needed for createxylinechart import java.math.*;//needed for cosine import java.awt.image.*;//needed for Buffered Image import javax.swing.*; public class example1 extends javax.swing.jframe { /** Creates new form example1 public example1() { initcomponents(); System.out.println("After initcomponents"); y_of_x = new double[n_points]; x = new double[n_points]; XYSeries series = new XYSeries("Cos(x) versus x");
4 for (int i = 0;i< n_points;i++){//calculate the data to be plotted y_of_x[i] = Math.cos(i*Math.PI/180); series.add((double)i,y_of_x[i]) ;//add the computed values to the series XYDataset dataset = new XYSeriesCollection(series); JFreeChart chart = ChartFactory.createXYLineChart( "Cos(x) versus x", "x", "cos(x)", dataset, org.jfree.chart.plot.plotorientation.vertical, true, false, false); BufferedImage image = chart.createbufferedimage(400,500); jlabel1.seticon(new ImageIcon(image)); /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. // <editor-fold defaultstate="collapsed" desc=" Generated Code "> // </editor-fold> private void exitmenuitemactionperformed(java.awt.event.actionevent evt) { System.exit(0); /** args the command line arguments public static void main(string args[]) { java.awt.eventqueue.invokelater(new Runnable() { public void run() { new example1().setvisible(true); ); // Variables declaration - do not modify private javax.swing.jmenuitem aboutmenuitem; private javax.swing.jmenuitem contentsmenuitem; private javax.swing.jmenuitem copymenuitem; private javax.swing.jmenuitem cutmenuitem; private javax.swing.jmenuitem deletemenuitem; private javax.swing.jmenu editmenu; private javax.swing.jmenuitem exitmenuitem; private javax.swing.jmenu filemenu; private javax.swing.jmenu helpmenu; private javax.swing.jlabel jlabel1; private javax.swing.jmenubar menubar; private javax.swing.jmenuitem openmenuitem; private javax.swing.jmenuitem pastemenuitem; private javax.swing.jmenuitem saveasmenuitem;
5 private javax.swing.jmenuitem savemenuitem; // End of variables declaration public static int n_points = 500; public static double[] y_of_x,x;//we will plot y(x) versus x Notice that I've highlighted code which was created by NetBeans. Also, some NetBeans generated code is hidden (folded), to allow faster traversals of one's code. Here is the folded code which has been generated using the Design button to graphically create the code for a panel inside the face of the application: private void initcomponents() { jlabel1 = new javax.swing.jlabel(); menubar = new javax.swing.jmenubar(); filemenu = new javax.swing.jmenu(); openmenuitem = new javax.swing.jmenuitem(); savemenuitem = new javax.swing.jmenuitem(); saveasmenuitem = new javax.swing.jmenuitem(); exitmenuitem = new javax.swing.jmenuitem(); editmenu = new javax.swing.jmenu(); cutmenuitem = new javax.swing.jmenuitem(); copymenuitem = new javax.swing.jmenuitem(); pastemenuitem = new javax.swing.jmenuitem(); deletemenuitem = new javax.swing.jmenuitem(); helpmenu = new javax.swing.jmenu(); contentsmenuitem = new javax.swing.jmenuitem(); aboutmenuitem = new javax.swing.jmenuitem(); setdefaultcloseoperation(javax.swing.windowconstants.exit_on_close); jlabel1.settext("<=picture"); getcontentpane().add(jlabel1, java.awt.borderlayout.center); filemenu.settext("file"); openmenuitem.settext("open"); filemenu.add(openmenuitem); savemenuitem.settext("save"); filemenu.add(savemenuitem); saveasmenuitem.settext("save As..."); filemenu.add(saveasmenuitem); exitmenuitem.settext("exit"); exitmenuitem.addactionlistener(new java.awt.event.actionlistener() { public void actionperformed(java.awt.event.actionevent evt) { exitmenuitemactionperformed(evt); ); filemenu.add(exitmenuitem); menubar.add(filemenu); editmenu.settext("edit"); cutmenuitem.settext("cut"); editmenu.add(cutmenuitem); copymenuitem.settext("copy");
6 editmenu.add(copymenuitem); pastemenuitem.settext("paste"); editmenu.add(pastemenuitem); deletemenuitem.settext("delete"); editmenu.add(deletemenuitem); menubar.add(editmenu); helpmenu.settext("help"); contentsmenuitem.settext("contents"); helpmenu.add(contentsmenuitem); aboutmenuitem.settext("about"); helpmenu.add(aboutmenuitem); menubar.add(helpmenu); setjmenubar(menubar); pack(); In the future this folded code will be omitted. It is generated by the system, either during initialization or during construction of the graphical interface, and can be folded out of view for easier comprehension of the program s text. To create our code, one starts with a definition (at the bottom, following the definitions induced by the NetBeans IDE): public static int n_points = 500; public static double[] y_of_x,x;//we will plot y(x) versus x thinking that we will store the plot s abscissa in a vector. It turns out to be unnecessary, but so what 2. Next, we create an instance of these variables, and attempt to create a jfreechart series instance. This fails, since we do not have jfreechart available for use yet, y_of_x = new double[n_points]; x = new double[n_points]; XYSeries series = new XYSeries("Cos(x) versus x"); so we need import org.jfree.data.xy.*;//needed for XYSeries, could have called directly or we could have written org.jfree.data.xy.xyseries explicitly. This is easier, but finding oneself inside the various folders takes some getting used to. Next, we want to generate the data. for (int i = 0;i< n_points;i++){//calculate the data to be plotted y_of_x[i] = Math.cos(i*Math.PI/180); series.add((double)i,y_of_x[i]) ;//add the computed values to the series Notice the construction of the for (){ group. Also notice that we need to add the statement import java.math.*;//needed for cosine 2 In future incarnations, we'll consolidate the code omiting the y_of_x[] vector, but it doesn;t hurt to leave it in here.
7 in order to achieve the use of the cosine (and other) functions 3. Next, we follow an algorithm to create out plot: XYDataset dataset = new XYSeriesCollection(series); JFreeChart chart = ChartFactory.createXYLineChart( "Cos(x) versus x", "x", "cos(x)", dataset, org.jfree.chart.plot.plotorientation.vertical, true, false, false); Finally, we display the chart in the simplest possible manner: BufferedImage image = chart.createbufferedimage(400,500); jlabel1.seticon(new ImageIcon(image)); Where did jlabel1 come from? It came from the Design tab's functioning. We picked out jlabel and then touched the center of our displayed layout, and, lo and behold, there we are, its all done. If one looks at the Properties of jlabel1, one can find its Text and edit it to what one <=picture, which makes our output just a little more professional looking than the default value. Saving one's work For protection, we now click on the source code in the Project window, copy it, and paste it back into the source folder. It is created as example1_1 which we re-factor and re-name as example1_original (or something like that). Then we can fiddle with example1 and later re-factor/re-name its future conent to example2, using the same skeleton code. Actually, this hasn't worked as I'd expected, and perhaps you can suggest an alternative scheme. Two Graphs on the Same Page For scientific work, one often needs present two (or more) graphs sharing the common ordinate but different abscissas. example2 is my choice of how to do this. /* * example2.java * * Created on September 22, 2005, 11:47 AM /** * david import org.jfree.*; import org.jfree.data.xy.*;//needed for XYSeries, could have called directly import org.jfree.chart.*;//needed for createxylinechart 3 Or write java.math.cos.
8 import org.jfree.data.xy.xyseriescollection; import org.jfree.chart.plot.*; import org.jfree.chart.axis.*; import org.jfree.chart.renderer.xy.*; import java.math.*;//needed for cosine import java.awt.image.*;//needed for Buffered Image import javax.swing.*; import java.awt.font; public class example2 extends javax.swing.jframe { /** * Creates new form example2 public example2() { initcomponents(); System.out.println("After initcomponents"); y_of_x = new double[n_points]; x = new double[n_points]; XYSeries series1 = new XYSeries("Cos(x) versus x"); XYSeries series2 = new XYSeries("Cos^2(x) versus x"); for (int i = 0;i< n_points;i++){//calculate the data to be plotted y_of_x[i] = Math.cos(i*Math.PI/180); series1.add((double)i,y_of_x[i]) ;//add the computed values to the series series2.add((double)i,math.pow(y_of_x[i],2)) ; XYDataset dataset1 = new XYSeriesCollection(series1); XYDataset dataset2 = new XYSeriesCollection(series2); CombinedDomainXYPlot parent = new CombinedDomainXYPlot(new NumberAxis("x-angle argument")); XYItemRenderer renderer1 = new StandardXYItemRenderer(); XYItemRenderer renderer2 = new StandardXYItemRenderer(); XYPlot subplot1 = new XYPlot(dataset1,null, new NumberAxis("Cos(x)"),renderer1); NumberAxis axis1 = (NumberAxis)subplot1.getRangeAxis(); axis1.setticklabelfont(new Font("Monospaced", Font.PLAIN,7)); axis1.setlabelfont(new Font("SansSerif", Font.PLAIN,7)); axis1.setautorangeincludeszero(false); parent.add(subplot1,1); XYPlot subplot2 = new XYPlot(dataset2,null, new NumberAxis(null),renderer2); NumberAxis axis2 = (NumberAxis)subplot2.getRangeAxis(); axis2.setticklabelfont(new Font("Monospaced", Font.PLAIN,11)); axis2.setlabelfont(new Font("SansSerif", Font.PLAIN,9)); axis2.setautorangeincludeszero(false); parent.add(subplot2,1); JFreeChart chart = new JFreeChart("Cos(x) versus x", parent); BufferedImage image = chart.createbufferedimage(400,500); jlabel1.seticon(new ImageIcon(image)); /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor.
9 //folded code omitted private void exitmenuitemactionperformed(java.awt.event.actionevent evt) { System.exit(0); /** args the command line arguments public static void main(string args[]) { java.awt.eventqueue.invokelater(new Runnable() { public void run() { new example2().setvisible(true); ); // Variables declaration - omitted // End of variables declaration public static int n_points = 500; public static double[] y_of_x,x;//we will plot y(x) versus x To see what the code is doing, we first look at the for(){ loop: for (int i = 0;i< n_points;i++){//calculate the data to be plotted y_of_x[i] = Math.cos(i*Math.PI/180); series1.add((double)i,y_of_x[i]) ;//add the computed values to the series series2.add((double)i,math.pow(y_of_x[i],2)) ; The cos(x) and cos 2 (x) are part of the java.math.* classes which can be imported or explictly coded. Next, we define two rather than one XYDataset: XYDataset dataset1 = new XYSeriesCollection(series1); XYDataset dataset2 = new XYSeriesCollection(series2); Each dataset is addresses a different function. They are going to be combined together using a new kind of plot: CombinedDomainXYPlot parent = new CombinedDomainXYPlot(new NumberAxis("x-angle argument")); Then we define a renderer for each of the datasets, e.g., XYItemRenderer renderer1 = new StandardXYItemRenderer(); Penultimately, we set up each series to be added: XYPlot subplot1 = new XYPlot(dataset1,null, new NumberAxis("Cos(x)"),renderer1); NumberAxis axis1 = (NumberAxis)subplot1.getRangeAxis(); axis1.setticklabelfont(new Font("Monospaced", Font.PLAIN,7)); axis1.setlabelfont(new Font("SansSerif", Font.PLAIN,7)); axis1.setautorangeincludeszero(false); parent.add(subplot1,1); First, we define subplot1, defining the axis label ( Cos(x) ), and associate the proper renderer which will give rise to a unique color for this particular suplot (among other things). We define this plot's axis and set up some axis properties, ending by adding the
10 subplot to the CombinedDomainXYPlot (parent). The weight (1) could have been omitted, or changed to have this plot bigger (or smaller) that its brother. Of course, we do the same with the second series of data points, cos 2 (x), but this time we change some properties so that we can tell what we are doing. Finally, we repeat the code from example1 to display the code. JFreeChart chart = new JFreeChart("Cos(x) versus x", parent); BufferedImage image = chart.createbufferedimage(400,500); jlabel1.seticon(new ImageIcon(image)); In the next example, we'll use a different way of displaying our graph. Adding javadocs In the NetBeans IDE, one of the great conveniences is the idea that when one types org. 4 a popup window shows up with choices for the next element, such that clicking on jfree and then adding a period yields org.jfree. with yet another popup box, etc.. These boxes are accompanied by explanatory javadocs boxes if the appropriate foreign (to NetBeans and Java) javadocs have been placed in the appropriate libraries. After some trial and error, the following worked: Illustration 3Figure 3 where a right-click on the appropriate project followed by Properties followed by Libraries allowed us to add the docs zip file, and suddenly everything worked. Since I 4 With the period at the end!
11 added this same zip file to the libraries under Tools, I'm not sure what's going on, and the NetBeans documentation is not too clear, but a little trial and error worked for me and will, presumably, work for you. Example2a We here change the past example to a briefer form: XYDataset dataset1 = new XYSeriesCollection(series1); XYDataset dataset2 = new XYSeriesCollection(series2); CombinedDomainXYPlot parent = new CombinedDomainXYPlot(new DateAxis("")); XYItemRenderer renderer1 = new StandardXYItemRenderer(); Notice that we've chosen a different scheme for displaying the graph, i.e., using a ChartPanel: XYItemRenderer renderer2 = new StandardXYItemRenderer(); XYPlot subplot1 = new XYPlot(dataset1,null, new NumberAxis(null),renderer1); XYPlot subplot2 = new XYPlot(dataset2,null, new NumberAxis(null),renderer2); parent.add(subplot1); parent.add(subplot2); JFreeChart chart = new JFreeChart("Cos(x) and Cos^2(x) versus x", parent); /* commented out BufferedImage image = chart.createbufferedimage(400,500); jlabel1.seticon(new ImageIcon(image)); * ChartPanel mychart = new ChartPanel(chart); this.setcontentpane(mychart); And we've finished with our introduction. Good luck.
http://netbeans.org/kb/docs/java/gui-functionality.html?print=yes
Page 1 of 6 Introduction to GUI Building Contributed by Saleem Gul and Tomas Pavek, maintained by Ruth Kusterer and Irina Filippova This beginner tutorial teaches you how to create a simple graphical user
Illustration 1: An applet showing constructed responses in an intuitive mode. Note the misprint!
Applets in Java using NetBeans as an IDE (Part 1) C.W. David Department of Chemistry University of Connecticut Storrs, CT 06269-3060 [email protected] We are interested in creating a teaching/testing
Eclipse with Mac OSX Getting Started Selecting Your Workspace. Creating a Project.
Eclipse with Mac OSX Java developers have quickly made Eclipse one of the most popular Java coding tools on Mac OS X. But although Eclipse is a comfortable tool to use every day once you know it, it is
Tutorial: Time Of Day Part 2 GUI Design in NetBeans
Tutorial: Time Of Day Part 2 GUI Design in NetBeans October 7, 2010 Author Goals Kees Hemerik / Gerard Zwaan Getting acquainted with NetBeans GUI Builder Illustrate the separation between GUI and computation
Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions
Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions 1. Click the download link Download the Java Software Development Kit (JDK 5.0 Update 14) from Sun Microsystems
Scientific Graphing in Excel 2010
Scientific Graphing in Excel 2010 When you start Excel, you will see the screen below. Various parts of the display are labelled in red, with arrows, to define the terms used in the remainder of this overview.
Appendix B Task 2: questionnaire and artefacts
Appendix B Task 2: questionnaire and artefacts This section shows the questionnaire, the UML class and sequence diagrams, and the source code provided for the task 1 (T2) Buy a Ticket Unsuccessfully. It
Java is commonly used for deploying applications across a network. Compiled Java code
Module 5 Introduction to Java/Swing Java is commonly used for deploying applications across a network. Compiled Java code may be distributed to different machine architectures, and a native-code interpreter
Designing a Graphical User Interface
Designing a Graphical User Interface 1 Designing a Graphical User Interface James Hunter Michigan State University ECE 480 Design Team 6 5 April 2013 Summary The purpose of this application note is to
Introduction to Eclipse
Introduction to Eclipse Overview Eclipse Background Obtaining and Installing Eclipse Creating a Workspaces / Projects Creating Classes Compiling and Running Code Debugging Code Sampling of Features Summary
Tutorial 5: Developing Java applications
Tutorial 5: Developing Java applications p. 1 Tutorial 5: Developing Java applications Georgios Gousios [email protected] Department of Management Science and Technology Athens University of Economics and
Eclipse installation, configuration and operation
Eclipse installation, configuration and operation This document aims to walk through the procedures to setup eclipse on different platforms for java programming and to load in the course libraries for
How to Install Java onto your system
How to Install Java onto your system 1. In your browser enter the URL: Java SE 2. Choose: Java SE Downloads Java Platform (JDK) 7 jdk-7- windows-i586.exe. 3. Accept the License Agreement and choose the
Lecture 2 Mathcad Basics
Operators Lecture 2 Mathcad Basics + Addition, - Subtraction, * Multiplication, / Division, ^ Power ( ) Specify evaluation order Order of Operations ( ) ^ highest level, first priority * / next priority
Hypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
Lab 1A. Create a simple Java application using JBuilder. Part 1: make the simplest Java application Hello World 1. Start Jbuilder. 2.
Lab 1A. Create a simple Java application using JBuilder In this lab exercise, we ll learn how to use a Java integrated development environment (IDE), Borland JBuilder 2005, to develop a simple Java application
Updates to Graphing with Excel
Updates to Graphing with Excel NCC has recently upgraded to a new version of the Microsoft Office suite of programs. As such, many of the directions in the Biology Student Handbook for how to graph with
Windows XP Pro: Basics 1
NORTHWEST MISSOURI STATE UNIVERSITY ONLINE USER S GUIDE 2004 Windows XP Pro: Basics 1 Getting on the Northwest Network Getting on the Northwest network is easy with a university-provided PC, which has
Section 1: Ribbon Customization
WHAT S NEW, COMMON FEATURES IN OFFICE 2010 2 Contents Section 1: Ribbon Customization... 4 Customizable Ribbon... 4 Section 2: File is back... 5 Info Tab... 5 Recent Documents Tab... 7 New Documents Tab...
Intermediate PowerPoint
Intermediate PowerPoint Charts and Templates By: Jim Waddell Last modified: January 2002 Topics to be covered: Creating Charts 2 Creating the chart. 2 Line Charts and Scatter Plots 4 Making a Line Chart.
Download and Installation Instructions. Java JDK Software for Windows
Download and Installation Instructions for Java JDK Software for Windows Updated January, 2012 The TeenCoder TM : Java Programming and TeenCoder TM : Android Programming courses use the Java Development
Using Eclipse to Run Java Programs
Using Eclipse to Run Java Programs Downloading and Installing Eclipse Here s how: 1. Visit www.eclipse.org. 2. On that Web site, follow the links for downloading Eclipse. Be sure to pick the version that
How to create PDF maps, pdf layer maps and pdf maps with attributes using ArcGIS. Lynne W Fielding, GISP Town of Westwood
How to create PDF maps, pdf layer maps and pdf maps with attributes using ArcGIS Lynne W Fielding, GISP Town of Westwood PDF maps are a very handy way to share your information with the public as well
Java with Eclipse: Setup & Getting Started
Java with Eclipse: Setup & Getting Started Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java 8 tutorial: http://www.coreservlets.com/java-8-tutorial/
Building Qualtrics Surveys for EFS & ALC Course Evaluations: Step by Step Instructions
Building Qualtrics Surveys for EFS & ALC Course Evaluations: Step by Step Instructions Jennifer DeSantis August 28, 2013 A relatively quick guide with detailed explanations of each step. It s recommended
NICK COLLIER - REPAST DEVELOPMENT TEAM
DATA COLLECTION FOR REPAST SIMPHONY JAVA AND RELOGO NICK COLLIER - REPAST DEVELOPMENT TEAM 0. Before We Get Started This document is an introduction to the data collection system introduced in Repast Simphony
Once you have obtained a username and password you must open one of the compatible web browsers and go to the following address to begin:
CONTENT MANAGER GUIDELINES Content Manager is a web-based application created by Scala that allows users to have the media they upload be sent out to individual players in many locations. It includes many
The goal with this tutorial is to show how to implement and use the Selenium testing framework.
APPENDIX B: SELENIUM FRAMEWORK TUTORIAL This appendix is a tutorial about implementing the Selenium framework for black-box testing at user level. It also contains code examples on how to use Selenium.
DATA MINING TOOL FOR INTEGRATED COMPLAINT MANAGEMENT SYSTEM WEKA 3.6.7
DATA MINING TOOL FOR INTEGRATED COMPLAINT MANAGEMENT SYSTEM WEKA 3.6.7 UNDER THE GUIDANCE Dr. N.P. DHAVALE, DGM, INFINET Department SUBMITTED TO INSTITUTE FOR DEVELOPMENT AND RESEARCH IN BANKING TECHNOLOGY
A product of Byte Works, Inc. http://www.byteworks.us. Credits Programming Mike Westerfield. Art Karen Bennett. Documentation Mike Westerfield
A product of Byte Works, Inc. http://www.byteworks.us Credits Programming Mike Westerfield Art Karen Bennett Documentation Mike Westerfield Copyright 2013 By The Byte Works, Inc. All Rights Reserved Apple,
WA2099 Introduction to Java using RAD 8.0 EVALUATION ONLY. Student Labs. Web Age Solutions Inc.
WA2099 Introduction to Java using RAD 8.0 Student Labs Web Age Solutions Inc. 1 Table of Contents Lab 1 - The HelloWorld Class...3 Lab 2 - Refining The HelloWorld Class...20 Lab 3 - The Arithmetic Class...25
Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms
Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms InfoPath 2013 Web Enabled (Browser) forms Creating Web Enabled
Summary of important mathematical operations and formulas (from first tutorial):
EXCEL Intermediate Tutorial Summary of important mathematical operations and formulas (from first tutorial): Operation Key Addition + Subtraction - Multiplication * Division / Exponential ^ To enter a
Getting Started with WebSite Tonight
Getting Started with WebSite Tonight WebSite Tonight Getting Started Guide Version 3.0 (12.2010) Copyright 2010. All rights reserved. Distribution of this work or derivative of this work is prohibited
Virtual Office Remote Installation Guide
Virtual Office Remote Installation Guide Table of Contents VIRTUAL OFFICE REMOTE INSTALLATION GUIDE... 3 UNIVERSAL PRINTER CONFIGURATION INSTRUCTIONS... 12 CHANGING DEFAULT PRINTERS ON LOCAL SYSTEM...
LAB4 Making Classes and Objects
LAB4 Making Classes and Objects Objective The main objective of this lab is class creation, how its constructer creation, object creation and instantiation of objects. We will use the definition pane to
What is a Mail Merge?
NDUS Training and Documentation What is a Mail Merge? A mail merge is generally used to personalize form letters, to produce mailing labels and for mass mailings. A mail merge can be very helpful if you
0 Introduction to Data Analysis Using an Excel Spreadsheet
Experiment 0 Introduction to Data Analysis Using an Excel Spreadsheet I. Purpose The purpose of this introductory lab is to teach you a few basic things about how to use an EXCEL 2010 spreadsheet to do
Statgraphics Getting started
Statgraphics Getting started The aim of this exercise is to introduce you to some of the basic features of the Statgraphics software. Starting Statgraphics 1. Log in to your PC, using the usual procedure
Adobe Acrobat 6.0 Professional
Adobe Acrobat 6.0 Professional Manual Adobe Acrobat 6.0 Professional Manual Purpose The will teach you to create, edit, save, and print PDF files. You will also learn some of Adobe s collaborative functions,
Installing Java. Table of contents
Table of contents 1 Jargon...3 2 Introduction...4 3 How to install the JDK...4 3.1 Microsoft Windows 95... 4 3.1.1 Installing the JDK... 4 3.1.2 Setting the Path Variable...5 3.2 Microsoft Windows 98...
ITS Training Class Charts and PivotTables Using Excel 2007
When you have a large amount of data and you need to get summary information and graph it, the PivotTable and PivotChart tools in Microsoft Excel will be the answer. The data does not need to be in one
Week 2 Practical Objects and Turtles
Week 2 Practical Objects and Turtles Aims and Objectives Your aim in this practical is: to practise the creation and use of objects in Java By the end of this practical you should be able to: create objects
Importing and Exporting With SPSS for Windows 17 TUT 117
Information Systems Services Importing and Exporting With TUT 117 Version 2.0 (Nov 2009) Contents 1. Introduction... 3 1.1 Aim of this Document... 3 2. Importing Data from Other Sources... 3 2.1 Reading
Microsoft Expression Web
Microsoft Expression Web Microsoft Expression Web is the new program from Microsoft to replace Frontpage as a website editing program. While the layout has changed, it still functions much the same as
Chapter 14: Links. Types of Links. 1 Chapter 14: Links
1 Unlike a word processor, the pages that you create for a website do not really have any order. You can create as many pages as you like, in any order that you like. The way your website is arranged and
STC: Descriptive Statistics in Excel 2013. Running Descriptive and Correlational Analysis in Excel 2013
Running Descriptive and Correlational Analysis in Excel 2013 Tips for coding a survey Use short phrases for your data table headers to keep your worksheet neat, you can always edit the labels in tables
Content Author's Reference and Cookbook
Sitecore CMS 6.5 Content Author's Reference and Cookbook Rev. 110621 Sitecore CMS 6.5 Content Author's Reference and Cookbook A Conceptual Overview and Practical Guide to Using Sitecore Table of Contents
Managing Files. On a PC, after you find your file, right click it and selet Rename from the pop-up menu.
Managing Files File Types, Renaming Files The software you are using will automatically save your file as the type that applies to your current application. For Microsoft Word documents, for example, will
Making a Web Page with Microsoft Publisher 2003
Making a Web Page with Microsoft Publisher 2003 The first thing to consider when making a Web page or a Web site is the architecture of the site. How many pages will you have and how will they link to
Hadoop Tutorial. General Instructions
CS246: Mining Massive Datasets Winter 2016 Hadoop Tutorial Due 11:59pm January 12, 2016 General Instructions The purpose of this tutorial is (1) to get you started with Hadoop and (2) to get you acquainted
Creating a Java application using Perfect Developer and the Java Develo...
1 of 10 15/02/2010 17:41 Creating a Java application using Perfect Developer and the Java Development Kit Introduction Perfect Developer has the facility to execute pre- and post-build steps whenever the
Using Karel with Eclipse
Mehran Sahami Handout #6 CS 106A September 23, 2015 Using Karel with Eclipse Based on a handout by Eric Roberts Once you have downloaded a copy of Eclipse as described in Handout #5, your next task is
Editors Comparison (NetBeans IDE, Eclipse, IntelliJ IDEA)
České vysoké učení technické v Praze Fakulta elektrotechnická Návrh Uživatelského Rozhraní X36NUR Editors Comparison (NetBeans IDE, Eclipse, ) May 5, 2008 Goal and purpose of test Purpose of this test
My EA Builder 1.1 User Guide
My EA Builder 1.1 User Guide COPYRIGHT 2014. MyEABuilder.com. MetaTrader is a trademark of MetaQuotes www.metaquotes.net. Table of Contents MAIN FEATURES... 3 PC REQUIREMENTS... 3 INSTALLATION... 4 METATRADER
Supplement I.B: Installing and Configuring JDK 1.6
Supplement I.B: Installing and Configuring JDK 1.6 For Introduction to Java Programming Y. Daniel Liang This supplement covers the following topics: Downloading JDK 1.6 ( 1.2) Installing JDK 1.6 ( 1.3)
MARS STUDENT IMAGING PROJECT
MARS STUDENT IMAGING PROJECT Data Analysis Practice Guide Mars Education Program Arizona State University Data Analysis Practice Guide This set of activities is designed to help you organize data you collect
Using the SAS Enterprise Guide (Version 4.2)
2011-2012 Using the SAS Enterprise Guide (Version 4.2) Table of Contents Overview of the User Interface... 1 Navigating the Initial Contents of the Workspace... 3 Useful Pull-Down Menus... 3 Working with
Appendix A Using the Java Compiler
Appendix A Using the Java Compiler 1. Download the Java Development Kit from Sun: a. Go to http://java.sun.com/j2se/1.4.2/download.html b. Download J2SE v1.4.2 (click the SDK column) 2. Install Java. Simply
Open a PDF document using Adobe Reader, then click on the Tools menu on the upper left hand corner.
This document illustrates how to digitally sign PDF documents using Acrobat Reader 11. The illustrations assume that the user already has a digital certificate. You will need the latest version of Adobe
If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel.
If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel. 1. Click on the FILE tab and then select Options from the
Data representation and analysis in Excel
Page 1 Data representation and analysis in Excel Let s Get Started! This course will teach you how to analyze data and make charts in Excel so that the data may be represented in a visual way that reflects
NetBeans IDE Field Guide
NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Introduction to J2EE Development in NetBeans IDE...1 Configuring the IDE for J2EE Development...2 Getting
For Introduction to Java Programming, 5E By Y. Daniel Liang
Supplement H: NetBeans Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with NetBeans Creating a Project Creating, Mounting,
McAfee Endpoint Encryption Reporting Tool
McAfee Endpoint Encryption Reporting Tool User Guide Version 5.2.13 McAfee, Inc. McAfee, Inc. 3965 Freedom Circle, Santa Clara, CA 95054, USA Tel: (+1) 888.847.8766 For more information regarding local
Adobe Conversion Settings in Word. Section 508: Why comply?
It s the right thing to do: Adobe Conversion Settings in Word Section 508: Why comply? 11,400,000 people have visual conditions not correctible by glasses. 6,400,000 new cases of eye disease occur each
Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3
Notepad++ The COMPSCI 101 Text Editor for Windows The text editor that we will be using in the Computer Science labs for creating our Python programs is called Notepad++ and http://notepad-plus-plus.org
The X3 Savegame Manager - v 1.i User Guide
The X3 Savegame Manager - v 1.i User Guide Introduction The Savegame Manager is a utility which makes managing multiple sets of X3 savegames simpler and safer. Manually moving savegame sets around as you
Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.
Working with Tables in Microsoft Word The purpose of this document is to lead you through the steps of creating, editing and deleting tables and parts of tables. This document follows a tutorial format
Excel Integrated Reporting
Excel Integrated Reporting Copyright statement Sage (UK) Limited, 2012. All rights reserved We have written this guide to help you to use the software it relates to. We hope it will be read by and helpful
Programming with Java GUI components
Programming with Java GUI components Java includes libraries to provide multi-platform support for Graphic User Interface objects. The multi-platform aspect of this is that you can write a program on a
Supplement I.B: Installing and Configuring JDK 1.6
Supplement I.B: Installing and Configuring JDK 1.6 For Introduction to Java Programming Y. Daniel Liang This supplement covers the following topics: Downloading JDK 1.6 ( 1.2) Installing JDK 1.6 ( 1.3)
Directions for Frequency Tables, Histograms, and Frequency Bar Charts
Directions for Frequency Tables, Histograms, and Frequency Bar Charts Frequency Distribution Quantitative Ungrouped Data Dataset: Frequency_Distributions_Graphs-Quantitative.sav 1. Open the dataset containing
Debugging Java Applications
Debugging Java Applications Table of Contents Starting a Debugging Session...2 Debugger Windows...4 Attaching the Debugger to a Running Application...5 Starting the Debugger Outside of the Project's Main
Chapter 4 Displaying and Describing Categorical Data
Chapter 4 Displaying and Describing Categorical Data Chapter Goals Learning Objectives This chapter presents three basic techniques for summarizing categorical data. After completing this chapter you should
Using Word 2007 For Mail Merge
Using Word 2007 For Mail Merge Introduction This document assumes that you are familiar with using Word for word processing, with the use of a computer keyboard and mouse and you have a working knowledge
LAB 6: Code Generation with Visual Paradigm for UML and JDBC Integration
LAB 6: Code Generation with Visual Paradigm for UML and JDBC Integration OBJECTIVES To understand the steps involved in Generating codes from UML Diagrams in Visual Paradigm for UML. Exposure to JDBC integration
Publishing Geoprocessing Services Tutorial
Publishing Geoprocessing Services Tutorial Copyright 1995-2010 Esri All rights reserved. Table of Contents Tutorial: Publishing a geoprocessing service........................ 3 Copyright 1995-2010 ESRI,
Microsoft Access 2007 Introduction
Microsoft Access 2007 Introduction Access is the database management system in Microsoft Office. A database is an organized collection of facts about a particular subject. Examples of databases are an
Mobile App Design Project #1 Java Boot Camp: Design Model for Chutes and Ladders Board Game
Mobile App Design Project #1 Java Boot Camp: Design Model for Chutes and Ladders Board Game Directions: In mobile Applications the Control Model View model works to divide the work within an application.
WIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
Creating tables of contents and figures in Word 2013
Creating tables of contents and figures in Word 2013 Information Services Creating tables of contents and figures in Word 2013 This note shows you how to create a table of contents or a table of figures
MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.
MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros. Record a macro 1. On the Developer tab, in the Code group, click Record Macro. 2. In
(Least Squares Investigation)
(Least Squares Investigation) o Open a new sketch. Select Preferences under the Edit menu. Select the Text Tab at the top. Uncheck both boxes under the title Show Labels Automatically o Create two points
Installing Ruby on Windows XP
Table of Contents 1 Installation...2 1.1 Installing Ruby... 2 1.1.1 Downloading...2 1.1.2 Installing Ruby...2 1.1.3 Testing Ruby Installation...6 1.2 Installing Ruby DevKit... 7 1.3 Installing Ruby Gems...
Install Java Development Kit (JDK) 1.8 http://www.oracle.com/technetwork/java/javase/downloads/index.html
CS 259: Data Structures with Java Hello World with the IntelliJ IDE Instructor: Joel Castellanos e-mail: joel.unm.edu Web: http://cs.unm.edu/~joel/ Office: Farris Engineering Center 319 8/19/2015 Install
Right now, the latest and greatest version of Java available for download is 1.4.0. Start with this link to find out more about it
Download and Install the Java Developer's Kit (JDK) Java is a great language to learn---unfortunately, probably the most difficult aspect of learning Java is leaning how to install it and configure it
This web-based report provides information for single funds centers. The report can be run for one funds center or multiple single funds centers.
Budget Status Report This web-based report provides information for single funds centers. The report can be run for one funds center or multiple single funds centers. The report includes the following
Excel 2007 Basic knowledge
Ribbon menu The Ribbon menu system with tabs for various Excel commands. This Ribbon system replaces the traditional menus used with Excel 2003. Above the Ribbon in the upper-left corner is the Microsoft
Reviewing documents with track changes in Word 2013
Reviewing documents with track changes in Word 2013 Information Services Reviewing documents with track changes in Word 2013 This note covers how to use Word s reviewing tools to track the changes made
Smart Connection 9 Element Labels
08 Smart Connection 9 Element Labels This document is part of the documentation for Smart Connection 9 and is an extract from the former Smart Connection 9 User Guide for InDesign. For more information
Microsoft Publisher 2010: Web Site Publication
Microsoft Publisher 2010: Web Site Publication Application Note Team 6 Darci Koenigsknecht November 14, 2011 Table of Contents ABSTRACT... 3 INTRODUCTION... 3 KEYWORDS... 3 PROCEDURE... 4 I. DESIGN SETUP...
IDS 561 Big data analytics Assignment 1
IDS 561 Big data analytics Assignment 1 Due Midnight, October 4th, 2015 General Instructions The purpose of this tutorial is (1) to get you started with Hadoop and (2) to get you acquainted with the code
WINDOWS LIVE MAIL FEATURES
WINDOWS LIVE MAIL Windows Live Mail brings a free, full-featured email program to Windows XP, Windows Vista and Windows 7 users. It combines in one package the best that both Outlook Express and Windows
Android Studio Application Development
Android Studio Application Development Belén Cruz Zapata Chapter No. 4 "Using the Code Editor" In this package, you will find: A Biography of the author of the book A preview chapter from the book, Chapter
Bluetooth Installation
Overview Why Bluetooth? There were good reasons to use Bluetooth for this application. First, we've had customer requests for a way to locate the computer farther from the firearm, on the other side of
Dealing with Data in Excel 2010
Dealing with Data in Excel 2010 Excel provides the ability to do computations and graphing of data. Here we provide the basics and some advanced capabilities available in Excel that are useful for dealing
CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy
CATIA V5 Tutorials Mechanism Design & Animation Release 18 Nader G. Zamani University of Windsor Jonathan M. Weaver University of Detroit Mercy SDC PUBLICATIONS Schroff Development Corporation www.schroff.com
Spotfire v6 New Features. TIBCO Spotfire Delta Training Jumpstart
Spotfire v6 New Features TIBCO Spotfire Delta Training Jumpstart Map charts New map chart Layers control Navigation control Interaction mode control Scale Web map Creating a map chart Layers are added
