Title: Eclipse Goodies
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER

Eclipse Goodies

Eclipse has many features. I want to demo 3 useful features in the associated video:

- Indentation - Eclipse will automatically indent your code for you
- Refactoring - Eclipse can help you with global name changes that impact many different parts of your code
- Packages - A Package gives you a way of organizing your work in the same way that folders organize a file structure. Eclipse allows you to drag and drop code from one package to another. In the process Eclipse does many little house-keeping things related to the code movement.

The programs used in the video are purposely bad and can be found below:


public class A {
        public void method1()
    {

}
    public void method2()
{

        }


public static void main(String[] args) {
A aClass = new A();

aClass.method1();
aClass.method2();

}

}



public class B {

    public void bMethod()
    {
        A aClass = new A();

        aClass.method1();
        aClass.method2();
    }
    public static void main(String[] args) {
        B bClass = new B();
        bClass.bMethod();
    }

}


Last updated: June 4, 2014 2:27 PM