Download presentation
Presentation is loading. Please wait.
1
Using JBuilder 9 User’s Guide By Margery Waldron
2
Overview Create a new project called “MyDrawing” Create a new application called “Test”, making a frame page Add DrawSquare.java to your project Add TurtleGraphics.jar, BreezySwing.jar & TerminalIO.jar to your libraries Compile & Run DrawSquare
3
Double click on Borland JBuilder:
4
Under File, click on New Project…
5
and then you should see….
6
After Name enter MyDrawing, then change the Directory to your folder & click Next>
7
and now press Finish
8
and this is what you should see:
9
To create a java program in our project, under File, click on “New”
10
Click on Application & OK
11
Enter “test” under Class Name & click on Next>
12
After Class: enter “testFrame” & Finish
13
Double-click test.java …
14
and now you should see:
15
To Add DrawSquare.java press Projects, Add files/packages…
16
Add DrawSquare.java & press OK
17
Now to add the libraries….go to TOOLS -> Configure libraries…
18
Click NEW & type “TurtleGraphics”, press ADD, & select turtlegraphics.jar from your folder
19
Click OK twice. Now you see:
20
Select Projects -> Properties
21
Click Required Libraries & ADD
22
Select TurtleGraphics & OK
23
Click OK….. and voila!
24
Now do the same for BreezySwing & TerminalIO…
25
Now compile DrawSquare.java
26
Under Projects, click Make Project
27
To run, click: Run “DrawSquare.java” using “test”
28
And you will see a square!
29
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!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.