Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.

Slides:



Advertisements
Similar presentations
Packaging a Presentation on a CD, using PowerPoint 2003 Multimedia Services at The Citadel Updated
Advertisements

How to use - A Powerful Tool
How to do a print screen!. 1. Find what you want to ‘copy’ as evidence:
MS Access 2003 Tutorial By: Juan GUANTENG!!! Y7. Step 1 Launch the Microsoft Access 2003 program. This can be done by clicking an icon on the desktop.
Once the program is opened make sure the “Current Personality” is WebCT 6/ Vista 4 next click on “Import Questions” now you are ready to import your exams.
MANDATORY for all P1 students to complete by August 4, 2014 Admission Background Check Kroll Background Check Process On July 21, 2014, you will receive.
LNA Simulation Tutorial
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Go to the link ( as shown, then choose downloads.
FirstService Residential Signature
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
Review of last session The Weebly Dashboard The Weebly Dashboard Controls your account and your sites Controls your account and your sites From here you.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
How to Prepare a PowerPoint Presentation Lawrence W. McAllister English Bridge Program – SFU NOTE: MAC is similar but not identical. So, if you use MAC,
Creating Your PE Webshop Using SmartStore.biz This Tutorial assumes you have downloaded the software from This tutorial is based.
November 2014Prepared by the Computer Lab Montgomery County-Norristown Public Library.
When you start Photo Story the title screen gives you three options. The following slides will illustrate the directions when “Begin a new story” has been.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Using SAM 2013 in CGS1060 University of Central Florida.
1 Building the CarryDrop Simulation in JBuilderX By Deddy Koesrindartoto 08/16/2004.
Review of last session Add text to your website Add text to your website Title Title Paragraph Paragraph Title and paragraph Title and paragraph Add photographs.
Unit 1: Java and Eclipse The Eclipse Development Environment.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
SAFARI ODBC INSTALLATION Go to the TRECA home WEB page.
Instructions.  Open up the letter that Adam has given to you  Format it so it look professional.
1 Setting Up for RePast, and Running a Repast Stand Alone Example 06/21/2004 by Deddy Koesrindartoto Department of Economics Iowa State University.
Download and Install: 1.Java Development Kit (JDK) bin/INTERSHOP.enfinity/WFS/CDS- CDS_Developer-Site/en_US/- /USD/ViewProductDetail-Start?ProductRef=jdk-
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Click your mouse for next slide Adding Text Click in any text box Type in your text OR.
Getting Started with Word & Saving Guided Lesson.
All sections to appear here Welcome to my pptPlex Slide Show, this can be executed in either two ways: 1.As a normal PowerPoint slide show: Example hit.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
By: Susan Freeman Getting Started 1.Go to Start Programs Microsoft PowerPoint.
Setting up Categories and Grade Setup Grades 3-5.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
Click the I Pro and select MANAGE and the PROJECTS. This will allow you to set up a folder that will contain the files for your current project. If you.
Installing Drivers on HP Plotter Step By Step Instructions by Plotter4u.
Introduction to Eclipse Programming with an Integrated Development Environment.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
Microsoft PowerPoint Prepared by the Academic Faculty Members of IT.
Creating and Editing a Web Page Using Inline Styles
Software Design– Unit Testing SIMPLE PRIMER ON Junit Junit is a free simple library that is added to Eclipse to all automated unit tests. The first step,
Creating Web Pages with Links, Images, and Embedded Style Sheets
WORDLE in your Classroom By: Krista Hansen Click on Clipboard for transcript of presentation.
How to Prepare a PowerPoint Presentation Lawrence W. McAllister English Bridge Program – SFU NOTE: MAC is similar but not identical. So, if you use MAC,
Instructions for transferring names and addresses from a MS WORD table (previously created for printing address labels) to MS Excel for upload to SendOutCards.
Setting up Categories and Grade Setup Middle Schools.
Lessons Copy and Paste Text Drag and Drop Text 2-Saving Documents 3- Printing 4-Inserting Tables Modifying Page Layout Format Page Margins Insert a Blank.
DEVRY CIS 170 C I L AB 1 OF 7 G ETTING S TARTED Check this A+ tutorial guideline at
NetApp Online Ordering User Tutorial
ATS Application Programming: Java Programming
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
FirstService Residential Signature
JavaTeaching and Importing a github repository
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
Running a Java Program using Blue Jay.
Time Sheet User Guide in KnightLine
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
Working with Libraries
Contact: Clari-Fi Clari-Fi creates large-screen simulations of e-commerce images. These give an indication of the details.
Presentation transcript:

Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial

Preparation For these slides you will need: For these slides you will need: – The Eclipse IDE installed and running. –Access to the source code from John Murphy’s RePast tutorial, step 14. tutorial14tutorial14

Creating a new project Start Eclipse Start Eclipse Go to File -> Project Go to File -> Project In the New Project dialog box select “Java Project” and hit the Next button In the New Project dialog box select “Java Project” and hit the Next button In the next screen, name the project and choose a location. In the next screen, name the project and choose a location. Leave the default setting for the project layout. Leave the default setting for the project layout.

Creating a new project cont. Add RePast to the build path under the “Libraries” tab. Add RePast to the build path under the “Libraries” tab. Click the “Finish” button. Click the “Finish” button. Please refer to Installing Repast in the Eclipse IDE under section IV.B of the RePast Study Group homepage for details on adding the RePast jar to a project build path.homepage

Creating a new class Now that we have the project established we can add the first new class. Now that we have the project established we can add the first new class. Go to File->New->Class. Go to File->New->Class. A New Class window should appear. A New Class window should appear. For the Package, enter “demo” For the Package, enter “demo” For Name, enter CarryDropModel. For Name, enter CarryDropModel. Leave all other settings at default values. Leave all other settings at default values. Hit the “Finish” button. Hit the “Finish” button.

The first class: CarryDropModel Go to step 14 of Murphy’s tutorial. Go to step 14 of Murphy’s tutorial. In your browser, select all the Java code for the CarryDropModel class and go to Edit- >Copy In your browser, select all the Java code for the CarryDropModel class and go to Edit- >Copy In Eclipse, select all the pre-written code in the new CarryDropModel In Eclipse, select all the pre-written code in the new CarryDropModel

The first class: CarryDropModel Go to Edit->Paste. Go to Edit->Paste. The code from the tutorial webpage should have now replaced the pre-written code. The code from the tutorial webpage should have now replaced the pre-written code.

Adding the other classes Save the CarryDropModel in Eclipse and it is done Save the CarryDropModel in Eclipse and it is done Repeat the previous steps to create new classes, copy code from the tutorial, and paste it in Eclipse for both CarryDropAgent and CarryDropSpace. Repeat the previous steps to create new classes, copy code from the tutorial, and paste it in Eclipse for both CarryDropAgent and CarryDropSpace. The CarryDrop simulation is now in Eclipse and ready to be run. The CarryDrop simulation is now in Eclipse and ready to be run.

The CaryyDrop simulation To start the simulation, go to Run->Run… To start the simulation, go to Run->Run… In the Run dialog box CarryDropModel, In the Run dialog box CarryDropModel, –make sure the Project name is correct –the Main Class box has demo.CarryDropModel Hit the “Run” button Hit the “Run” button

The CarryDrop Simulation RePast will start RePast will start Press the Initialize button Press the Initialize button The CarryDropModel window will appear with the initialized money space. The CarryDropModel window will appear with the initialized money space.