Using JBuilder 9 User’s Guide By Margery Waldron.

29
Using JBuilder 9 User’s Guide By Margery Waldron
  • date post

    22-Dec-2015
  • Category

    Documents

  • view

    229
  • download

    2

Transcript of Using JBuilder 9 User’s Guide By Margery Waldron.

Using JBuilder 9

User’s Guide

By Margery Waldron

Overview

Create a new project called “MyDrawing”Create a new application called “Test”, making a frame pageAdd DrawSquare.java to your projectAdd TurtleGraphics.jar, BreezySwing.jar & TerminalIO.jar to your librariesCompile & Run DrawSquare

Double click on Borland JBuilder:

Under File, click on New Project…

and then you should see….

After Name enter MyDrawing, then change the Directory to your folder & click Next>

and now press Finish

and this is what you should see:

To create a java program in our project, under File, click on “New”

Click on Application & OK

Enter “test” under Class Name & click on Next>

After Class: enter “testFrame” & Finish

Double-click test.java …

and now you should see:

To Add DrawSquare.java press Projects, Add files/packages…

Add DrawSquare.java & press OK

Now to add the libraries….go to TOOLS -> Configure libraries…

Click NEW & type “TurtleGraphics”, press ADD, & select turtlegraphics.jar from your folder

Click OK twice. Now you see:

Select Projects -> Properties

Click Required Libraries & ADD

Select TurtleGraphics & OK

Click OK….. and voila!

Now do the same for BreezySwing & TerminalIO…

Now compile DrawSquare.java

Under Projects, click Make Project

To run, click: Run “DrawSquare.java” using “test”

And you will see a square!

Now it’s your turn!

To make your own program using TurtleGraphics, edit DrawSquare.java or create a new myDrawing.java and add it to your project.

Have fun!