Skip navigation

Implementing the state pattern

Implementing the state pattern: Programming Foundations: Design Patterns
Implementing the state pattern: Programming Foundations: Design Patterns

Join for an in-depth discussion in this video Implementing the state pattern, part of Programming Foundations: Design Patterns.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 19m
Show More Show Less

Q: How do I import the exercise files in Eclipse?

A: Here are instructions for importing the files:
1) Save the download folder as any name you choose, such as DesignPatternsLynda. Place this folder in the default Eclipse project folder (the folder you choose when you start Eclipse).
2) Start Eclipse.
3) In Eclipse, choose File > New > New Java Project.
4) In the first New Project dialog box, use the folder name from step 1 as the project name. Check that the location path matches the default Eclipse project path and the name of the folder. (See NewProject.jpg.)

5) Click Next.
6) In this dialog box, leave all settings as is (see Step2.jpg):

7) Click Finish.
8) You should now have a project in Eclipse with the following structure (see EclipseProjectStructure.jpg):

9) To compile the code, open the folder you want to work with and choose the main class.
10) Choose Run > Run As > Java Application.

Skills covered in this course
Design Patterns Developer Programming Foundations Java

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now