User Tools

Site Tools


how_to_install_the_library_in_eclipse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_install_the_library_in_eclipse [2023/08/26 11:39] frchrishow_to_install_the_library_in_eclipse [2023/08/26 11:51] (current) frchris
Line 10: Line 10:
   - Click once on the third tab called ''Libraries''   - Click once on the third tab called ''Libraries''
   - Click the second button down called ''Add External JARs''   - Click the second button down called ''Add External JARs''
-  - Place the ''KarelJRobot.jar'' file you downloaded earlier into your new project folder (Do this using ''Finder'' in Mac or ''Files'' on Windows) +  - Place the ''KarelJRobot.jar'' file you downloaded earlier into your new project folder (Do this using ''Finder'' on Mac or ''Files'' on Windows) 
   - Go back to eclipse and select the ''KarelJRobot.jar'' file you just dropped into the project folder.   - Go back to eclipse and select the ''KarelJRobot.jar'' file you just dropped into the project folder.
   - Press the ''Open'' button   - Press the ''Open'' button
Line 22: Line 22:
  // Main entry point  // Main entry point
  public static void main(String[] args) {  public static void main(String[] args) {
- World.setDelay(10);  +    World.setDelay(10);  
- World.placeBeepers(2, 1, 1); +           World.placeBeepers(2, 1, 1); 
-        World.setVisible(); +           World.setVisible(); 
-        RemoteControl karel = new RemoteControl(3, 1, East, 3 , Color.RED);+           RemoteControl karel = new RemoteControl(3, 1, East, 3 , Color.RED);
  }  }
 } }
  
 </code> </code>
how_to_install_the_library_in_eclipse.1693064341.txt.gz · Last modified: 2023/08/26 11:39 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki