1 / 29

Using JBuilder 9

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 page Add DrawSquare.java to your project Add TurtleGraphics.jar, BreezySwing.jar & TerminalIO.jar to your libraries

kaloni
Download Presentation

Using JBuilder 9

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 BorlandJBuilder:

  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!

More Related