1 Building the CarryDrop Simulation in JBuilderX By Deddy Koesrindartoto 08/16/2004.

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Advertisements

Xilinx 6.3 Tutorial Integrated Software Environment (ISE) Set up basic environment Select Gates or Modules to Be simulated (Insert Program Code) Run Waveform.
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
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.
SharePoint ® Training SharePoint slide libraries II: Use slides in the slide library Sharjah Higher Colleges of Technology presents:
SharePoint slide libraries II: Use slides in the slide library MICROSOFT ® OFFICE SHAREPOINT ® SERVER 2007 TRAINING ADVANTAGE TALENT, INC. “Professionals.
Chapter 2 Publishing a Trifold Brochure
Using a Template to Create a Resume and Sharing a Finished Document
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Access Tutorial 7 Creating Custom Reports
Access Tutorial 1 Creating a Database
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
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.
1 Excel Lesson 3 Organizing the Worksheet Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Access Tutorial 10 Automating Tasks with Macros
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
Creating Custom Reports. Objectives View, filter, and copy report information in Report view Modify a report in Layout view Modify a report in Design.
® Microsoft Access 2010 Tutorial 7 Creating Custom Reports.
Creating a Web Site to Gather Data and Conduct Research.
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 2Advanced Reports, Access Tools, and Customizing Access Chapter 5Creating and Using Custom Reports.
South Dakota Library Network MetaLib Management Basics Customizing QuickSets South Dakota Library Network 1200 University, Unit 9672 Spearfish, SD
Intro to MFC. Open VS and create new project 1)Open MS Visual Studio 2008 Professional (It must be the Professional Edition, the Express Edition will.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Active-HDL Interfaces Debugging C Code Course 10.
Active-HDL Interfaces Building VHPI Applications C Compilation Course 9.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
How to Build a Struts Application with JBuilder 9.
TUTORIAL 9 INSTRUCTOR: HANIF ULLAH ID: OFFICE #: 2029 DATE: 22/04/2012 Introduction to MS Project 2007.
FIRST COURSE Integration Tutorial 1 Integrating Word and Excel.
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros.
FrontPage Tutorial Part 2 Creating a Course Web Site.
1 Setting Up for RePast, and Running a Repast Stand Alone Example 06/21/2004 by Deddy Koesrindartoto Department of Economics Iowa State University.
Making Folders (Revised 5/27/10) Adding/Editing Local Gallery Folders By Elizabeth Liang under the direction of Professor Susan Rodger Duke University.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
FIRST COURSE Word Tutorial 6 Using Mail Merge. Objectives Learn about the mail merge process Use the Mail Merge task pane Select a main document Create.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
FIRST COURSE Integration Tutorial 2 Integrating Word, Excel, and Access.
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.
Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
1 Integrating Repast Library and Running RePast Examples using JBuilder X 07/19/2004 by Deddy Koesrindartoto Department of Economics Iowa State University.
1 After completing this lesson, you will be able to: Use a Word template. Create a template. Use a wizard to create a document.
Netbeans QuickStart. Creating a project File->New Project –For now you want General->Java Application –Then fill in the project details.
GETTING TEACHERS STARTED OneNote Class Notebook Creator.
COMPREHENSIVE PowerPoint Tutorial 5 Applying Advanced Special Effects in Presentations.
Chapter 5 Using a Template to Create a Resume and Sharing a Finished Document Microsoft Word 2013.
Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Word Tutorial 6 Using Mail Merge
Creating Custom Reports
Access Tutorial 7 Creating Custom Reports
Access Tutorial 1 Creating a Database
Microsoft PowerPoint 2007 – Unit 2
Steps in accessing Past Examination Papers
Microsoft Office Access 2003
Access Tutorial 1 Creating a Database
Shelly Cashman: Microsoft Word 2016
Access Tutorial 1 Creating a Database
Analyzing Data Using Access
Working with Libraries
Tutorial 10 Automating Tasks with Macros
Tutorial 7 Creating Custom Reports
Presentation transcript:

1 Building the CarryDrop Simulation in JBuilderX By Deddy Koesrindartoto 08/16/2004

2 Introduction This tutorial will explain, step by step, how to create a new project using existing RePast/Java code for a RePast Tutorial by John Murphy. To be consistent with Murphy’s Tutorial, the project name will be Demo.jpx, and it will contain three Java class : CarryDropModel.java; CarryDropSpace.java; CarryDropAgent.java. To follow this tutorial you will need: JBuilder X installed and running RePast library installed Access to the source code of John Murphy’s RePast Tutorial at :

3 Creating a Demo Project Start JBuilder X Go to File -> New Project In the Project Wizard dialog box (Fig 2.A) fill in the project name. Use Demo as project name. In JBuilder, this project name will also be used as the package name. Leave the default settings for the rest of the fields. Fig 1

4 Creating a project Demo…continued: Fig 2.AFig 2.B In Fig 2.A click the Next button (1) to configure the library/libraries that will be used in Demo project. Dialog box (Fig 2.B) will appear. Press the Required Libraries (2), and press Add button to proceed (3). Leave the default settings for the rest of the fields. (1) (2) (3)

5 Setting up required libraries: Fig 3.A Fig 3.B Navigate through the list of libraries shown in Fig 3.A. Select RePast-2.2 library (1) and press the OK button (2). The new dialog box (Fig. 3.B) will acknowledge that the RePast-2.2 library has been added (3) to the Demo project. Leave the default settings for the rest of the fields, and click the Finish button(4). (1) (2) (3) (4)

6 Setting up required libraries … Continued: Fig 4 At this point, the process of creating the Demo project is finished. Demo.jpx is now listed at the JBuilder project pane (1). However, the project is still empty. There are no classes associated with this project. The next steps will explain how to add classes to this project. (1)

7 Adding a Java class to the Demo project: The next steps will show how to add CarryDropModel.java classes to the Demo project. Go to File->New Class… A Class Wizard dialog box should appear. Fig 5

8 Adding a Java class to the Demo project... continued: Fig 6.A As shown in Fig 6.A, type CarryDropModel (1) as the Class name, and leave all other settings at default values. Note that, if nothing is checked in the Options choices (2), it will generate an empty class which contains only the class name and the respective package used in this class. Hit the “OK” button (3) Fig 6.B shows how the CarryDropModel class now appears in the structure pane (4). Meanwhile, the CarryDropModel source code appears in content pane (5). Fig 6.B (1) (2) (4) (5) (3)

9 Copying Murphy’s source code for CarryDropModel.java from his website: Open your browser, and go to: Select and copy the whole source code for the CarryDropModel to the clipboard.

10 Copying Murphy’s source code for CarryDropModel.java…continued: (1) (2) Go to JBuilder content pane of CarryDropModel.java. Press Edit -> Select All (1) and then Edit -> Paste (2). It will automatically paste the code you copied earlier from the website for CarryDropModel.java into the content pane.

11 Adding other classes to the Demo project…continued: Repeat the same process for adding code for the CarryDropSpace and CarryDropAgent Java classes from Murphy’s website. When all three classes are added, they will be listed by name in project pane (1) and their code will be shown in content pane (2). Follow the Murphy Tutorial and modify these three.java classes as needed. (1) (2)