how_to_install_the_library_in_bluej
This is an old revision of the document!
Installing KarelJRobot.jar Library in Blue J
- Make a New Project
- Click the
Libraries
Tab - Select the
kareljrobot.jar
you downloaded, press theOpen
button - It will tell you to restart the Virtual Machine, press the
Okay
button - Under the
Tools
menu selectReset Java Virtual Machine
(or press Ctrl-Shift-R) - Make a new class
RobotRunner
to test it out:
import kareltherobot.*; public class RobotRunner implements Directions { public static void main(String[] args) { World.setDelay(150); World.placeBeepers(4, 3, 2); World.setVisible(); } }
how_to_install_the_library_in_bluej.1566000917.txt.gz · Last modified: 2019/08/16 20:15 by frchris