08.02.2015 Views

CS 112 Introduction to Programming - Yale University

CS 112 Introduction to Programming - Yale University

CS 112 Introduction to Programming - Yale University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Writing Java Programs using an IDE<br />

q Another way is <strong>to</strong> use an Integrated Development<br />

Environment (IDE)<br />

❍ Example IDEs: DrJava, Eclipse, NetBeans, BlueJ, etc.<br />

❍ An IDE usually presents the user with a space for text (like an<br />

edi<strong>to</strong>r) but layers additional features on <strong>to</strong>p of the text for<br />

the user's benefit.<br />

• Note: The underlying file contains pure text, just like a text edi<strong>to</strong>r.<br />

❍ These features can be very useful and save time.<br />

• Example features are code completion, instant compilation, and<br />

syntax highlighting.<br />

❍ IDEs need <strong>to</strong> know where <strong>to</strong> find the “java” and “javac”<br />

programs.<br />

q For simplicity and consistency, we will use DrJava.<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!