19 February 2014

Starting with Eclipse

  • After downloading the eclipse IDE you need to extract the .ZIP file in to a folder in which you can find eclipse loader(eclipse.exe)
  • Now click on eclipse.exe and authorize the security warning(click run). You will be asked to select a workspace where all your eclipse files will be saved. Click browse and select a new empty folder and click OK.
  • Eclipse starts with a welcome screen. now open window > open prespective > java. Now you are ready to create and work with projects.

HOW TO CREATE A NEW PROJECT AND NEW CLASS. 

  • Goto File new Java Project and give some name to your project and click ok.
    New-project

  •  You can see your project created below the package explorer window on the left.
    Package-explorer

  • To create a new class right click on the project you just created select new and again select class.
    New-class

  •  A window appears in which name of the class is given(First letter of the class in CAPITALS). Check the box as shown below and click finish.
    class-details
  • Now a java file is created with a class name same as file name. Main method is also included in it.
  • The code that is to be executed is written inside the main method.

Contact Form

Name

Email *

Message *

Smooth Graphics Java

// Arrange Bricks in Game //java brick breaker game code without flickering // added game levels 1,2,3 in the game //java paddle ball ga...