Sun ONE Integrated Development Environment

Size: px
Start display at page:

Download "Sun ONE Integrated Development Environment"

Transcription

1 DiveIntoSunONE.fm Page 197 Tuesday, September 24, :49 AM 5 Sun ONE Integrated Development Environment Objectives To be able to use Sun ONE to create, compile and execute Java applications and applets. To understand and be able to use Sun ONE s integrated development environment. To be able to use the online documentation. To be able to use the debugger to locate program logic errors.

2 DiveIntoSunONE.fm Page 198 Tuesday, September 24, :49 AM 198 Sun ONE Integrated Development Environment Chapter 5 Outline 5.1 Introduction 5.2 Getting Started with the Java 2 Software Development Kit Installation of Java 2 SDK Compiling and Executing an Application Compiling and Executing an Applet 5.3 Installing Sun ONE Studio 4, Community Edition 5.4 Starting Sun ONE Studio 4, Community Edition for the First Time 5.5 IDE Overview 5.6 Online Help 5.7 Compiling and Executing Applications and Applets A Java Application A Java Applet 5.8 Creating and Compiling Applications and Applets Creating a New Application Creating an New Applet 5.9 Using the New Form Template Wizard Creating an Application Creating an Applet 5.10 Using Packages 5.11 The Sun ONE Debugger Debugging a Java Application Debugging a Java Applet 5.1 Introduction Welcome to the Sun ONE integrated development environment. In this chapter you will learn how to create, compile, execute and debug Java programs using the powerful Java development environment from Sun Microsystems Sun ONE Studio 4, Community Edition. This product was formerly called Forte for Java 4, Community Edition, but Sun Microsystems changed the name of the product. However, it is still the same basic product. In this guide the IDE will be referred to as Sun ONE Studio 4, Community Edition. When you complete this chapter, you will be able to use Sun ONE to begin building applets and applications.

3 DiveIntoSunONE.fm Page 199 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Getting Started with the Java 2 Software Development Kit 1.4 Before we begin creating and executing Java applications with Sun ONE Studio 4, Community Edition, the software must be installed in conjunction with Java 2 Software Development Kit (J2SDK). The J2SDK is on the CD-ROM that accompanies the Java How To Program textbook, and Sun ONE can be downloaded from Sun s Web site. This section provides an overview of the installation procedure Installation of Java 2 SDK Java 2 Software Development Kit is the Virtual Machine that executes Java applications. To ensure proper interaction between Sun ONE and J2SDK, J2SDK must be installed first. [Note:Sun ONE 4 requires the use of version of J2SDK or higher. Sun ONE will not install if a lower version than of J2SDK is used.] 1. The Java 2 SDK installation executable is provided on the CD-ROM and is also available for download from Sun s site, java.sun.com/j2se/1.4/download.html. This site also gives the user the option to download a cobundle that contains both the J2SDK and Sun ONE Studio 4, Community Edition installations packaged into a single executable file. To begin the installation from the CD- ROM, click the Start button and choose the Run option. In the Open field, also referred to as the command line, type D:\software-win\sjsdk\j2sdk-1_4_0-win.exe, assuming D: represents the CD-ROM drive. If the executable was downloaded, simply enter its location on the hard drive in the Open field and click OK. Fig. 5.1 The Run dialog under the Windows Start menu. 2. The installation begins by extracting necessary files. Wait for the installation to proceed until it reaches the welcome screen (Fig. 5.2) for the InstallShield Wizard. When ready to continue, click the button on the welcome screen labeled Next. The next window presents the license agreement. The user must agree to the terms of the license agreement to continue installation. It is recommended that the user carefully read the agreement, and when willing, click the button labeled Yes. If the user disagrees with the license agreement, clicking the No button will allow the user to exit the installation without modification to the computer. It is also important to note that the Back button is available from this point forward,

4 DiveIntoSunONE.fm Page 200 Tuesday, September 24, :49 AM 200 Sun ONE Integrated Development Environment Chapter 5 which allows the user to navigate the installation sequence in reverse order. This is useful to correct mistakes or make changes. Fig. 5.2 InstallShield Wizard welcome screen. 3. In the next window (Fig. 5.3 ) the user selects the destination of the software. The default directory is C:\j2sdk1.4.0 (where C: represents the appropriate disk drive). It is recommended the user accept the default option because J2SDK is a platform that interacts with many separate software packages. The default folder is specific and easy for other Java related programs to detect. However, to change the destination folder click the Browse button, which displays a dialog box through which the user can either visually navigate the directory structure or cre-

5 DiveIntoSunONE.fm Page 201 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 201 ate a new destination folder. Once the desired destination is selected, click Next >. Fig. 5.3 Choose Destination Location window. 4. The next window allows the user to select which components of J2SDK to install. The bottom-left of the window shows the total space available on the appropriate drive as well as the space that is required for installation, which is dependent upon what components are selected for installation. To accept the default configuration and install all of the components, click Next > and continue to the next step. To customize the installation, select or remove components through their associated checkboxes. For information about a specific component click its name. A brief description will appear on the right side of the window. When the desired components are selected, click Next >. 5. The next window is the Select Browsers window, where the user selects which Web browsers will use Java Plug-in as its default Java runtime. Java Plug-in is a browser runtime that enables the execution of Java applets. To change the default

6 DiveIntoSunONE.fm Page 202 Tuesday, September 24, :49 AM 202 Sun ONE Integrated Development Environment Chapter 5 Java runtime for a particular browser, simply uncheck it. Click Next > when ready to continue. Fig. 5.4 Select browsers for Java Plug-in. 6. Next, the appropriate files are copied to the destination folder. The Setup Status window presents the status of the installation as the files are copied. When complete, the InstallShield Wizard Complete window is presented. From this window, the user can decide whether to view the README file, which provides information about new features and how to setup the environment. Click Finish to

7 DiveIntoSunONE.fm Page 203 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 203 complete the installation. Java 2 Software Development Kit has been successfully installed. Fig. 5.5 Installation complete Compiling and Executing an Application The following section is designed to walk through the process of compiling and executing any of the programs that can be found within the Java How to Program, Fourth Edition book without using Sun ONE. First the user must copy a version of Fig. 2.1 and place it on their local hard drive. That is the program used in this case. The file can be obtained by using the CD that is located in the back of the Java book. All exercises that are within the Java How to Program, Fourth Edition textbook can be found on this CD. The user can access these examples by clicking the Examples button, then opening the appropriate chapter, and then opening the correct figure number. In this case the file is located in the ch02 folder and within that, in the Fig02_01 folder. Copy the files within the folder to the local hard drive. Files on the CD are "Read Only." To compile the programs correctly, this property must be changed. To accomplish this, right click on the file and select the Properties item from the list. In the attributes section, click the Read Only checkbox to change this option. 1. In order to compile a file without Sun ONE installed, the Javac.exe file, provided with the Java 2 SDK, must be used. The program must be run through a console window, also referred to as the command prompt. To access the command

8 DiveIntoSunONE.fm Page 204 Tuesday, September 24, :49 AM 204 Sun ONE Integrated Development Environment Chapter 5 prompt choose Run... from the Start menu and enter cmd. This will bring up an empty console window. Fig. 5.6 Running the Command Prompt. 2. The file, Javac.exe, is located in C:\j2sdk1.4.0\bin, provided that C:\ is the local hard drive in which the Java 2 SDK is installed. To run it in the command prompt just enter in javac. This will bring up a help list to provide the user with more advanced options (Fig. 5.7). Fig. 5.7 javac.exe help menu 3. In order to run the program enter into the command prompt javac Welcome1.java. Note that the java compiler is case sensitive so that entering a name like javac welcome1.java will generate an error. This will compile the Chapter 2 Figure 2.1 file, Welcome1.java. 4. The Java.exe file, located in C:\j2sdk1.4.0\bin, is used to run applications. To run it in the command prompt enter in java. This will also bring up a help list to provide the user with more advanced options (Fig. 5.8).

9 DiveIntoSunONE.fm Page 205 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 205 Fig. 5.8 java.exe help menu. 5. In order to run the program, enter into the command prompt java Welcome1. This executes the file Welcome1.class that was created by compiling Welcome1.java. The output is then displayed in the console window (Fig. 5.9). Fig. 5.9 Welcome1 output Compiling and Executing an Applet Compiling and executing an applet is similar, though not exactly the same as executing an application. Applets are designed to run in a web browser which is not the traditional way a program is run. The Java 2 SDK provides an Appletviewer program that allows an applet to be run. Appletviewer.exe is located in C:\j2sdk1.4.0\bin with java.exe.

10 DiveIntoSunONE.fm Page 206 Tuesday, September 24, :49 AM 206 Sun ONE Integrated Development Environment Chapter 5 Again, first copy the files from the fig03_06 folder in the ch03 folder within the Exercises button on the Java CD to the local hard drive. 1. Appletviewer.exe, like java.exe, must be executed from the console window. 2. In order to run the appletviewer its directory must be mapped as a system variable. This is done by entering set PATH=%PATH%;C:\j2SDK1.4.0\bin into the command prompt. This assumes C:\j2SDK1.4.0 is the directory where the Java 2 SDK is installed. This will enable appletviewer to be typed in any directory and allow it to be executed. [Note: the path has to be changed each time the command prompt is opened because it is not permanently saved.] Fig Creating a system variable. 3. Java applets must also be compiled before they can be run. Applets are compiled in the same manner as applications. For information on compiling, see Section Entering appletviewer in the command line will bring up the help menu for more advanced executions. This can be done to help the viewer find out more about the debugger or other help topics (Fig. 5.11). Fig appletviewer.exe help menu. 5. To run the applet type appletviewer WelcomeApplet.html. This will compile the applet and display the programs results. The program output will be displayed

11 DiveIntoSunONE.fm Page 207 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 207 in a separate window (Fig. 5.12). When closed the window will terminate the applet. Fig WelcomeApplet.java output. 6. The applet can also be run by loading the HTML document with either Internet Explorer (Fig. 5.13) or Netscape Navigator. The file provided contains text to run the applet. To close the applet simply close the web browser. Fig Running WelcomeApplet.java through Internet Explorer 6.0. Fig Running WelcomeApplet.java through Netscape Navigator 6.2.

12 DiveIntoSunONE.fm Page 208 Tuesday, September 24, :49 AM 208 Sun ONE Integrated Development Environment Chapter Installing Sun ONE Studio 4, Community Edition Once J2SDK is installed on your machine, you are capable of executing Java applications and applets. To develop these applications, we now install the Sun ONE development environment. Sun ONE software is separate from J2SDK, but it utilizes J2SDK to execute programs that we develop with Sun ONE. [Note: J2SDK must be installed before Sun ONE can be installed.] 1. The Sun ONE installation executable is available for download from Sun's site, wwws.sun.com/software/developer-products/ffj/buy.html. Download and Save the file to a known place on the local hard drive or simply click Open to execute the file after the download is complete. 2. The setup file can be run by clicking Start and selecting Run from the menu. Then enter the location of the setup file into the Open field (Fig. 5.15), or click the Browse button to select the setup file. Fig The Run dialog under the Windows Start menu. 3. The installation begins by extracting necessary files. Wait for the installation to proceed until it reaches the welcome screen for the InstallShield Wizard. When ready to continue, click the button on the welcome screen labeled Next >. 4. The next window presents the license agreement. The user must agree to the terms of the license agreement to continue installation. It is recommended that the user carefully read the agreement, and when willing, select I accept the terms of the license agreement and click Next >. If the user disagrees with the license agreement, selecting I donot accept the the terms of the agreement and clicking Cancel will allow the user to exit the installation without modification to the computer. It is also important to note that the Back button is available from this point forward, which allows the user to navigate the installation sequence in reverse order. This is useful to correct mistakes or make changes. 5. Next, the installation searches the system for a Java Virtual Machine (JVM), which is required to run Sun ONE. If J2SDK is not installed, stop trying to install

13 DiveIntoSunONE.fm Page 209 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 209 Sun ONE. J2SDK must be installed before Sun ONE can be installed. Click Next to continue. Fig Find a Java virtual machine. 6. The next screen allows the user to select the folder where Sun ONE will be installed to. The default directory is C:\forte4j. To modify the destination folder, click Browse and select a new location. When completed, click Next > to continue. If there are files from a previous version of the IDE on the computer, Sun ONE backs them up by moving them to ffj_backup folder.

14 DiveIntoSunONE.fm Page 210 Tuesday, September 24, :49 AM 210 Sun ONE Integrated Development Environment Chapter 5 Fig Selecting the installation directory. 7. The installation will then display the component selection dialog. Components are selected for installation via their associated checkboxes. To the right of each component is the space it requires for installation. When completed, click Next to continue. Fig Select Sun ONE components to install.

15 DiveIntoSunONE.fm Page 211 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment The next window allows the user to associate file extensions (i.e.,.exe for an executable) with Sun ONE. Associating the Java and NetBeans file extensions enables the user to open those files by double-clicking when the Sun ONE IDE is running. If the user wishes not to associate file extensions, the files can still be opened through the Sun ONE IDE. 9. The next window reviews the installation settings to this point. Verify that all of the settings are correct and when ready to begin copying files, click Next. When copying is complete, the installation will display the InstallShield Wizard Complete window. To exit the installation, click Finish. Once J2SDK and Sun ONE Studio 4, Community Edition are successfully installed, you have everything you need to begin to develop and execute your own Java programs. 5.4 Starting Sun ONE Studio 4, Community Edition for the First Time Sun ONE can be opened by either double-clicking on the icon placed on the desktop or by selecting the Forte for Java item under the Start > Program Files > Forte for Java 4 CE menu. When Sun ONE opens for the first time it will present the user with three options. 1. The first option allows the user to specify the directory where the individual files will be stored. This directory can be created while Sun ONE waits. The created directory can then be entered into the textbox provided by Sun ONE. 2. The second option asks where previous versions of Sun ONE have been installed. The Sun ONE installation program assumes that a previous version of Sun ONE has been installed on the computer, and asks where it is, so the new version can use the same settings as the old version. Skip this. The installer will say that the sun.tools.debugger will not be able to used. This is not a problem, since the standard debugger provided by Sun ONE is sufficient for debugging applications. 3. The third option asks the user to register Sun ONE Studio 4, Community Edition. If you wish to register now, select Register Using Web or Register by Fax, and click Next >. Follow the registration wizard to complete the registration. If you do not wish to register at this time, select Register Later or Never Register and click Finish to exit the registration screen. 5.5 IDE Overview Figure 5.18 shows the initial screen image of the Sun ONE integrated development environment (IDE). This environment contains everything you need to create Java programs an editor (for typing and correcting your Java programs), a compiler (for translating your Java programs into Java bytecode), a debugger (for finding logic errors in your Java programs after they are compiled) and much more. The environment contains many buttons,

16 DiveIntoSunONE.fm Page 212 Tuesday, September 24, :49 AM 212 Sun ONE Integrated Development Environment Chapter 5 menus and other graphical user interface (GUI) elements you will use while editing, compiling and debugging your Java applications. Fig Sun ONE initial screen. 5.6 Online Help Sun ONE offers an interactive help menu that allows the user to search through any installed documentation. Sun ONE help offers guides and tutorials as well as any related topics to the selected document. There are even documents found within the help index that provide pieces of code that are used to invoke certain methods and help the user get a feel for a specific class. The main purpose of the help however is for use with the Sun ONE IDE and support for other modules and schemas. There are three different ways to find a desired document, all of which are outlined in the section below. There is also an online help that is accessible through the internet. The site is found at servlet.java.sun.com/ help.

17 DiveIntoSunONE.fm Page 213 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Going to the Help menu and selecting Contents can open the online help. Pressing the F1 key can also be used to access it. Fig Help menu in Sun ONE. 2. First off, each help topic can be browsed individually. This can be done by going to the Help menu and choosing the Help Sets submenu. From there the user can select any one of the major groups of help topics. This allows the user to view help documents on only the desired topic. Fig The Help Sets menu. 3. The help topics can be browsed in one of three ways. They can be organized by topic, they can be organized alphabetically, or they can be searched. Using the Contents tab, the Index tab, and the Search tab, respectively, can access these different browsing techniques. There are two arrows at the top of the Help screen.

18 DiveIntoSunONE.fm Page 214 Tuesday, September 24, :49 AM 214 Sun ONE Integrated Development Environment Chapter 5 They are used to navigate through the Help topics much like a web browser. The arrow pointing to the left is used to go back and the arrow pointing to the right is used to go forward. The Printer icon is used to print the screen and the Printer icon with an O on the bottom right corner is used to enter the Page Setup window. Fig Help icons for navigating and printing. 4. The Contents tab, which has the picture of a book on it, is used to look through a list of topics. Each topic is represented by a folder which may also contain sub folders. Within these folders are documents that contain information about the

19 DiveIntoSunONE.fm Page 215 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 215 specified topic. An icon that looks like a sheet of paper represents each document. Fig Using the Contents tab to search for a document about creating a new file. 5. Using the Index tab will organize all the documents from the Contents tab alphabetically. This tab looks like a piece of paper with index markers on the right hand side. Entering a topic in the Find text box will search through the index for

20 DiveIntoSunONE.fm Page 216 Tuesday, September 24, :49 AM 216 Sun ONE Integrated Development Environment Chapter 5 the first occurrence of the word. Hitting Enter repeatedly acts as a 'find next' option. Fig Using the Index tab to search about breakpoints 6. The third way to use help is through the use of the Search tab, which has an icon of a magnifying glass on the tab. Again a desired topic is entered into the Find

21 DiveIntoSunONE.fm Page 217 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 217 text box. A list of related topics is then brought up for viewing. Clicking a topic will open up the same document as opened by either of the other help tabs. Fig Using the Search tab while searching for applet. 7. Using the Search tab will also highlight any occurrences of the word in the text. The number to the left of the document name indicates how many times the searched word appears in the text. The red dot to the left of the document name indicates the rating. This rating is how relevant Sun ONE thinks the document is in regards to what the user is looking for. The more filled the circle is the better

22 DiveIntoSunONE.fm Page 218 Tuesday, September 24, :49 AM 218 Sun ONE Integrated Development Environment Chapter 5 the chances that the document is what the user was looking for help with. The topics are also organized with the most relevant document at the top of the list. Fig Sun ONE highlights the searched words and ranks the returned results. 5.7 Compiling and Executing Applications and Applets A Java Application The following section is designed to walk through the process of compiling and executing any of the programs that can be found within the Java How to Program, Fourth Edition book. First the user should copy a version of Fig. 2.1 and place it on their local hard drive. The file can be obtained by using the CD that is located in the back of the Java book. All examples that are within the Java How to Program, Fourth Edition can be found on this CD. The user can access these examples by clicking the Examples button, then opening the appropriate chapter, and then opening the correct figure number. In this case the file is located in the ch02 folder and within that, in the Fig02_01 folder.

23 DiveIntoSunONE.fm Page 219 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Click the File menu button and then the Open File... command. Files can also be opened using the Open File icon, which looks like an opening folder. Locate the file Welcome1.java in whichever directory it was copied into. Fig The Open File command in the File menu. 2. Once the file is opened Sun ONE will ask if the class needs to be placed in a package. Click Accept to have the class entered into the default package. Notice that the folder in which the class resides is now 'mounted' in the Explorer window on the Filesystems tab. If the knob to the left of the mounted directory is clicked, it will drop down a list of all classes (.java files ) found within that directory. Sun ONE will also open the Source Editor window that contains the code for Welcome1.java. Fig The Source Editor window for Welcome1.java.

24 DiveIntoSunONE.fm Page 220 Tuesday, September 24, :49 AM 220 Sun ONE Integrated Development Environment Chapter 5 3. Right-clicking on the Filesystems object in the Explorer window can also open the file. Select Mount > Local Directory and then choose the directory where the Welcome1.java file is located. This will mount the directory just as Sun ONE did when the file was opened. There is also a Mount Filesystem command under the File menu. Fig Mounting a directory by right-clicking on the Filesystems object. 4. To compile the program select the Compile command from the Build menu. This task will compile the program and report any errors that it might contain. Fig Compile command found within the Build menu.

25 DiveIntoSunONE.fm Page 221 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Once the program has been compiled an Output Window will pop up and tell the user that it Finished Welcome1. This is the result of compiling a program that has no syntax errors. Fig Output Window for compiling Welcome1.java. 6. To actually run the program it needs to be executed. This can be done by going to the Build menu and clicking the Execute command. Clicking the Execute icon can also be used to run the program. The Execute icon looks like a green play button and is located in the tool bar of the Sun ONE window. When a program is executed the compiler will automatically compile the program beforehand. Fig Executing the program from the Build menu.

26 DiveIntoSunONE.fm Page 222 Tuesday, September 24, :49 AM 222 Sun ONE Integrated Development Environment Chapter 5 7. Executing the program will cause Sun ONE to switch to the Running tab located at the bottom of the main Sun ONE window. Another Output window will pop up and display the output for the program in the Output Window screen. Fig Output Window for executing Welcome1.java. 8. To get back to the Source Editor window click the Editing tab. Fig Running and Editing tabs found on Sun ONE window A Java Applet Compiling and executing an applet in Sun ONE is similar, though not exactly the same as executing an application. Applets are designed to run in a Web browser which is not the traditional way a program is run. Sun ONE provides an Applet Viewer program that allows an applet to be run in the Sun ONE IDE. Again, first copy the files from the fig03_06 folder in the ch03 folder within the Exercises button on the Java CD. 1. Then go to the File menu and click Open File. Locate the WelcomeApplet.java file and open it. Again, click Accept to keep the default package

27 DiveIntoSunONE.fm Page 223 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 223 setting. This time notice that in the mounted folder there is a WelcomeApplet.java file and a WelcomeApplet.html file. Fig Opening WelcomApplet.java using the Open window. 2. To compile the applet go to the Build menu and click Compile. The file can also be compiled by right-clicking on the project in the Explorer window. Select Compile from the list to compile the applet. Fig Compiling the WelcomeApplet.java project.

28 DiveIntoSunONE.fm Page 224 Tuesday, September 24, :49 AM 224 Sun ONE Integrated Development Environment Chapter 5 3. If a user tries to execute the applet they will be transferred to the Running tab where they might receive a NoSuchMethodError: main in the Output Window screen. Applets do not run like traditional programs. They run through any Web browser (Internet Explorer, Netscape Navigator) using the provided HTML file, or they run through the Applet Viewer. Fig NoSuchMethodError: main output for compiling WelcomeApplet.java. 4. If this exception occurs, right-click the WelcomeApplet project name and select Properties to enable the Applet Viewer. This will bring up a window that has an Execution tab on the bottom. Click this tab and change the Executor property to Applet Execution. Fig Executor property of WelcomeApplet.java.

29 DiveIntoSunONE.fm Page 225 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Now when the program is executed it will run the applet viewer and not the default compiler. Note that if the New Wizard is used to create the applet, this property is initially set by Sun ONE. Fig WelcomeApplet.java executing property with the Applet Viewer. 6. The applet can be closed, like any normal application, by clicking the X in the top right corner or by going to the Applet menu and choosing either Close or Quit. Then click the Editing tab to return to the Source Editor. Fig Quitting the applet through the Applet menu.

30 DiveIntoSunONE.fm Page 226 Tuesday, September 24, :49 AM 226 Sun ONE Integrated Development Environment Chapter 5 7. The applet can also be run by loading the HTML document with either Internet Explorer or Netscape Navigator. To close the applet simply close the Web browser. Fig Running WelcomeApplet.java through Internet Explorer 6.0. Fig Running WelcomeApplet.java through Netscape Navigator Creating and Compiling Applications and Applets Creating a New Application In order to create an application that is not found on the Java CD the New Wizard must be used. This wizard is used to generate an empty class to be programmed any way the user desires. The wizard also contains many templates that are used to generate portions of code to aid the user. These templates range from the creation of simple classes and Java Beans to the creation of sockets or even new Swing components. We encourage the use of the Empty template in this section because it allows the user to manually type some code and become familiar with the language. The following section provides an overview of the additional templates in the New Wizard.

31 DiveIntoSunONE.fm Page 227 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment To create a new application, click the File menu and select New. Clicking the New icon will also accomplish this task. The New icon looks like a piece of paper with a star on the bottom right-hand corner. Fig Selecting New from the File menu. 2. Sun ONE will then open up the New Wizard. In the Choose Template screen select Classes from the list of templates. Double-clicking will drop down a list of templates to select from. Select Empty to generate a source editor that is blank. Fig The Template Chooser screen of the wizard.

32 DiveIntoSunONE.fm Page 228 Tuesday, September 24, :49 AM 228 Sun ONE Integrated Development Environment Chapter 5 3. Clicking Next will bring up the Target Location screen where the class can be named, packaged and mounted. Give this class the name Add, with no package and mount it in the desired directory. Fig The Target Location screen of the New Form Creation Wizard. 4. The Finish button will end the wizard and construct a class based on the information entered. It will create a new class in the directory specified and then open the Source Editor window so the class can be modified. Clicking Finish at any

33 DiveIntoSunONE.fm Page 229 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 229 point will end the wizard and leave the rest of the creation screens at their default values. Fig Empty file generated by Sun ONE. 5. Enter the code: 1 // Add.java example 2 // Adds two numbers together 3 4 public class Add { 5 6 public static void main ( String args[] ) 7 { 8 int x = 7, y = 5; 9 System.out.println( "The sum is " + ( x + y ) ); } // end method main } // end class add Fig Code to be input into Source Editor window for Add.java.

34 DiveIntoSunONE.fm Page 230 Tuesday, September 24, :49 AM 230 Sun ONE Integrated Development Environment Chapter 5 6. Compile and execute the program. Fig Output for Add.java Creating an New Applet Creating an applet can also be done using the New Wizard. There are still a few differences that exist between the creation of an application and an applet. Just as before, the Applet Viewer needs to be used rather than the traditional internal execution of an application. Sun ONE automatically generates an HTML file to view the applet during execution, or the New Wizard can be used again to create an HTML file. 1. Generating an applet is similar to that of an application. First click New to open up the New Wizard. 2. On the Choose Template screen select Classes and choose Empty again. Fig Choosing the Empty class in the Choose Template screen.

35 DiveIntoSunONE.fm Page 231 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Click Next to bring up the Target Location window. Set the class name to HelloWorldApplet and choose a location for the program to be constructed. Fig Picking the location to place the new class. 4. Clicking Finish will cause the wizard to end and generate a new class for editing. Add to the code: 1 // HelloWorldApplet.java example 2 // Creates an applet that outputs hello world. 3 4 import java.awt.container; 5 import javax.swing.*; 6 7 public class HelloWorldApplet extends JApplet { 8 9 public void init() 10 { 11 Container container = getcontentpane(); 12 JTextArea outputarea = new JTextArea(); 13 container.add( outputarea ); 14 outputarea.settext( "Hello World!!!" ); } // end method init } // end class HelloWorldApplet Fig Code to be input into Source Editor window for HelloWorldApplet.java.

36 DiveIntoSunONE.fm Page 232 Tuesday, September 24, :49 AM 232 Sun ONE Integrated Development Environment Chapter 5 5. Before the program is compiled, set the executor property to Applet Execution. Right click on the file name in the Explorer window. Select Properties from the list. This will bring up the Properties window. Select the Execution tab at the bottom of the window. Change the value of the Executor property to Applet Execution. Fig Changing the Executor property to Applet Execution to cause Sun ONE to execute the program using the Applet Viewer. 6. Now the program will execute properly. Go to the Build menu and select Execute, or click the Execute icon. Fig The output for HelloWorldApplet.java.

37 DiveIntoSunONE.fm Page 233 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Sun ONE will generate an HTML file to run the applet in either Internet Explorer or Netscape Navigator. To create an HTML file click New again. This time select the Other category and choose HTML File from the list. Fig Creating an HTML file in Sun ONE. 8. Click Next to advance to the Target Location screen again. Give the file the same name, HelloWorldApplet, and put it in the same directory. If the Fin-

38 DiveIntoSunONE.fm Page 234 Tuesday, September 24, :49 AM 234 Sun ONE Integrated Development Environment Chapter 5 ish button is grayed out, type the name of the new target directory in the Package text box. Fig Placing the HelloWorldApplet.html file in the same location as HelloWorldApplet.java. 9. Click Finish to bring up the HTML Source Editor window, which is identical to that of a java Source Editor window. Fig The code generated by Sun ONE for the HTML file.

39 DiveIntoSunONE.fm Page 235 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Enter the following code in the body of the HTML file: 1 <applet code = "HelloWorldApplet.class" width = 300 height = 300> 2 </applet> Fig Code to be entered into the HTML Source Editor window. 11. Open either Internet Explorer or Netscape Navigator and load the HTML document to run the applet. Fig Output for HelloWorldApplet.java using Internet Explorer 6.0.

40 DiveIntoSunONE.fm Page 236 Tuesday, September 24, :49 AM 236 Sun ONE Integrated Development Environment Chapter 5 Fig HelloWorldApplet.java running in Netscape Navigator Using the New Form Template Wizard Creating an Application The New Wizard is used to generate code for the user. In this example the wizard generates the main method for the class and two data members used in the program. The code and documentation generated conforms to the Sun ONE standard. 1. To create a new application, click the File menu and select New. Clicking the New icon will also accomplish this task. The New icon looks like a piece of paper with a star on the bottom right-hand corner. Sun ONE will then open up the New Wizard. In the Choose Template screen, select Classes from the list of templates. Double-clicking will drop down a list of templates to select from. Se-

41 DiveIntoSunONE.fm Page 237 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 237 lecting Main will generate a class that has a main method already created within it. Fig Selecting the Main template in the Choose Template window. 2. Clicking Next will bring up the Target Location screen where the class can be named, packaged and mounted. Give this class the name Add, with no package and mount it in the desired directory. Fig Choosing a location for the file to go.

42 DiveIntoSunONE.fm Page 238 Tuesday, September 24, :49 AM 238 Sun ONE Integrated Development Environment Chapter 5 3. Click Next again to show the Basic Class Definition screen. Here you can set some of the basic properties of a class, such as the class it inherits from or which interface it implements. For this example, leave these in default form. Fig The Basic Class Definition screen. 4. To advance to the next screen click Next. This will bring up the Create Fields screen. This screen allows data members to be created. Click the New button to create a new data member. Set the Name to x, set the Type to int, and set the Initial Value to 7. Also check the static check box to make the variable static.

43 DiveIntoSunONE.fm Page 239 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 239 Click New to add another variable of Type int with the Name y. In this case leave the Initial Value blank, but also make the variable static. Fig Making variables in the Create Fields screen. 5. Clicking Next will advance the wizard to the Override Inherited Methods screen. From here the user can select which methods the new class will override.

44 DiveIntoSunONE.fm Page 240 Tuesday, September 24, :49 AM 240 Sun ONE Integrated Development Environment Chapter 5 Since this class does not inherit from any other classes there will be no methods to override. Fig Override Inherited Methods screen.

45 DiveIntoSunONE.fm Page 241 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Clicking the Next button yet again brings up the final screen. This is the Create Methods screen, which allows the programmer to specify additional methods to be created in the class. No methods are added for this example. Fig The final screen; Create Methods. 7. The Finish button will end the wizard and construct a class based on the information provided. It will create a new class in the directory specified and then open the Source Editor window so the class can be modified. Clicking Finish at any

46 DiveIntoSunONE.fm Page 242 Tuesday, September 24, :49 AM 242 Sun ONE Integrated Development Environment Chapter 5 point before this will end the wizard and leave the rest of the options screens set to their default value. Fig The code generated by Sun ONE. 8. Add the line y = 5; to the main method at line 27. Follow this by the line System.out.println( "The sum is " + ( x + y ) ); to display the results. Then compile and execute the program. Fig Program output for Add.java.

47 DiveIntoSunONE.fm Page 243 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Creating an Applet An applet can also be created with the use of the New Wizard. The wizard will take care of the super class. It can also be used to override inherited methods as shown in this example. 1. Generating an applet is similar to that of an application. First click New to open up the New Wizard. On the Choose Template screen select Classes but this time choose JApplet. Fig Using the JApplet template to create a new applet.

48 DiveIntoSunONE.fm Page 244 Tuesday, September 24, :49 AM 244 Sun ONE Integrated Development Environment Chapter 5 2. Click Next to bring up the Target Location screen. Set the class name to HelloWorldApplet and choose a location for the program to be constructed. Fig The Target Location screen. 3. Click Next again to bring up the Basic Class Definition window. Notice that Superclass is already filled in with javax.swing.japplet. This means

49 DiveIntoSunONE.fm Page 245 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 245 that when the source code is generated, the class will extend javax.swing.japplet. Fig Extending java.swing.japplet. 4. Clicking Next will bring up the Create Fields screen. Clicking Next again will bring up the Override Inherited Methods screen. Notice that since the class inherits from another class, there is a list of methods that we can override. Click

50 DiveIntoSunONE.fm Page 246 Tuesday, September 24, :49 AM 246 Sun ONE Integrated Development Environment Chapter 5 the check box that says Show Inherited and select the init method. Then click the Add button to add the init method to the program. Fig Overriding the init method.

51 DiveIntoSunONE.fm Page 247 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment The Next button displays the final screen. It is the same as before with the exception of the inherited methods, mainly init, being displayed. Fig The Create Method screen in the New Form Template Wizard.

52 DiveIntoSunONE.fm Page 248 Tuesday, September 24, :49 AM 248 Sun ONE Integrated Development Environment Chapter 5 6. Clicking Finish will end the wizard and generate a new class for editing. Fig The code generated by Sun ONE. 7. Add the following lines to the init method: 1 java.awt.container container = getcontentpane(); 2 javax.swing.jtextarea outputarea = new javax.swing.jtextarea(); 3 container.add( outputarea ); 4 outputarea.settext( "Hello World!!!" ); Fig The code to be added to the init method.

53 DiveIntoSunONE.fm Page 249 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment Compile and execute the program. Sun ONE will automatically run the program using the Applet Viewer. Fig HelloWorldApplet.java running through the Applet Viewer. 9. Sun ONE will also generate an HTML file to run the applet in either Internet Explorer or Netscape Navigator. Fig Internet Explorer 6.0 running the HelloWorldApplet.java applet.

54 DiveIntoSunONE.fm Page 250 Tuesday, September 24, :49 AM 250 Sun ONE Integrated Development Environment Chapter 5 Fig HelloWorldApplet.java displayed through Netscape Navigator Using Packages There are several examples in the Java How to Program, Fourth Edition book that are contained within custom packages. There are also programs which import those packages to use their functionality. In order to understand packages, we use the Time1.java example. This requires that the files within the fig08_04 folder be copied from the Java How to Program CD. Click Exercise and open ch08 to locate the folder. 1. The package imported in this program is com.deitel.jhtp4.ch08. In order for Time1.java file to compile correctly, it must be placed in the appropriate directory structure.

55 DiveIntoSunONE.fm Page 251 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment First, create a folder named com. Inside com, create a folder called deitel. Inside deitel, create a folder called jhtp4. Finally, create the ch08 folder within jhtp4. Copy Time1.java into the ch08 folder. Fig The package com.deitel.jhtp4.ch08 in Time1.java. 3. TimeTest3.java file must be placed on the same level as the com folder. This directory structure enables TimeTest3.java to correctly import com.deitel.jhtp4.ch08.time1. Fig The importing of com.deitel.jhtp4.ch08.time1 in TimeTest3.java. 4. Mount the folder in which TimeTest3.java and the com folder reside, to enable the program to compile properly in Sun ONE. To mount the directory, Open the TimeTest3.java file. Click Accept to keep the default package setting. This causes Sun ONE to automatically mount the directory structure.

56 DiveIntoSunONE.fm Page 252 Tuesday, September 24, :49 AM 252 Sun ONE Integrated Development Environment Chapter 5 TimeTest3.java is located in the root directory and Time1.java is now available in the ch08 folder. Fig Opening TimeTest3.java. 5. Right clicking the Filesystem node and selecting Mount > Local Directory is another way to mount the directory. Simply choose the directory where com and TimeTest3.java reside. Fig Mounting the folder that contains TimeTest3.java and the com folder.

57 DiveIntoSunONE.fm Page 253 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment If TimeTest3.java is compiled, Time1.java will also compile. Since TimeTest3.java imports Time1.java, both have to be working in order to run or compile the program properly. Fig The output for TimeTest3.java when executed correctly The Sun ONE Debugger The Sun ONE IDE provides a debugger tool to help the programmer find run-time logic errors in programs that compile successfully but do not produce expected results. The debugger lets the programmer view the executing program and its data as the program runs either one step at a time or at full speed. The program stops on a selected line of code or upon a fatal run-time error. When the programmer does not understand how incorrect results are produced by a program, running the program one statement at a time and monitoring the intermediate results can help the programmer isolate the cause of the error. The programmer can correct the code. To use the debugger, set one or more breakpoints. A breakpoint is a marker set at a specified line of code that causes the debugger to suspend execution of the program upon reaching that line of code. Breakpoints help the programmer verify that a program is executing correctly. A breakpoint is set by clicking the line in the program where the breakpoint is to be placed and clicking the Add Breakpoint button in the main window or from the Debug menu. When a breakpoint is set, the appropriate line is highlighted in pink. Breakpoints are removed by clicking the Toggle Breakpoint option from the Debug menu, which adds and removes breakpoints and is also triggered by Shift + F8. Often certain variables are monitored by the programmer during the debugging process a process known as setting a watch. The Watches box in the Debugger Window allows the user to watch variables as their values change. Changes are displayed in the Watches box after each debugging step. To set a watch, click the Add Watch button on the main window or from the Debug menu and enter the variable name. A watch is deleted by selecting the watch in the Watch box and pressing the Delete key. Variable values can be modified during the debugging process by editing the Value field in the Watch tab. The main window contains buttons that control the debugging process. These buttons perform the same actions as the Debug menu items. Each button is labeled in Fig [Note: The full debugging menu only becomes available when the debugger is started.] The Start button starts the application. The Finish button ends the debugging session to let the programmer edit and recompile the program before running another test. Pause suspends program execution at the current location.

58 DiveIntoSunONE.fm Page 254 Tuesday, September 24, :49 AM 254 Sun ONE Integrated Development Environment Chapter 5 Continue Finish Step Into Step Over Toggle Breakpoint Add Watch Start HTTP Monitor Attach Pause Run to Cursor Step Out Add Breakpoint Fig Debug toolbar. The Step Into button executes program statements, one per click, including code in methods that are called, allowing the programmer to confirm the proper execution of the method, line-by-line. The Step Over button executes the next executable line of code and advances to the following executable line in the program. If the line of code contains a method call, the method is executed in its entirety as one step. This allows the user to execute the program one line at a time and examine the execution of the program without seeing the details of every method that is called. The Step Out button allows the user to step out of the current method and return control back to the line that called the method. If you Step In to a method that you do not need to examine, click Step Out to return to the caller. Click the mouse on a line of code after a number of lines of code you do not wish to step through, then click the Run to Cursor button to execute all code up to the line where the cursor is positioned. This technique is useful for executing loops or methods without having to enter the loop or method. Breakpoints are persistent, meaning when a project is closed and reopened, any breakpoints set during a previous debugging session remain set. You can gather information about breakpoints by viewing the Breakpoints box in the Debugger Window (Fig. 5.84). Fig Debugger Window.

59 DiveIntoSunONE.fm Page 255 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 255 The Breakpoints box displays all the breakpoints currently set for the program. Each breakpoint can be enabled or disabled by changing the Enabled property to True or False. A disabled breakpoint will still exist in the list of breakpoints, but will not cause the debugger to stop and can be re-enabled at a later time. Sun ONE also allows breakpoints to be enabled when certain conditions are true. The programmer specifies the condition in the Condition field of the Breakpoints box. The remainder of this section will guide you through the debugging process for a simple Java application and a Java applet Debugging a Java Application This section guides the user through the debugging process for a simple Java application, DebugApplication.java. This application obtains a number from the user and displays the integers from 1 to the number entered. 1 // DebugApplication.java 2 // Sample program for demonstrating the debugger 3 4 // Java extension package 5 import javax.swing.joptionpane; 6 7 public class DebugApplication { 8 9 public static int getnumber() { 10 // prompt for a number 11 String input = JOptionPane.showInputDialog( 12 "Enter an integer: " ); return Integer.parseInt( input ); // convert to int } public static void main ( String args[] ) 19 { 20 int number = getnumber(); // determine whether integer is positive or negative 23 if ( number <= 0 ) 24 System.out.println( "Non-Positive Number Entered" ); 25 else 26 for ( int i = 1; i <= number; i++ ) 27 System.out.println( i ); System.exit( 0 ); } // end method main } // end class DebugApplication Fig Code for DebugApplication.java.

60 DiveIntoSunONE.fm Page 256 Tuesday, September 24, :49 AM 256 Sun ONE Integrated Development Environment Chapter 5 1. With DebugApplication.java open in the Editing workspace, select Add Breakpoint from the Debug menu to bring up the Add Breakpoint dialog. Notice that multiple types of breakpoints can be set (i.e., for a specific method or class). For this example, the breakpoint type is Line. In the Settings section, change the Line number field to 24. Also, verify that both actions (Suspend debugging and Print text) are activated. When complete, click OK to add the breakpoint. 2. Notice that line 24 is now highlighted pink in the source window. This indicates that a breakpoint is set on that line. Repeat step 1, only this time set the breakpoint on line 26. When complete, the source window should appear as displayed (Fig. 5.86). Fig Breakpoints indicated by pink highlight. 3. To set a watch, select Add Watch from the Debug menu. In the Watch Name field of the Add Watch dialog, enter the text 'number.' This will set a watch for the variable number. No visual modifications occur within the source editor, however, the watch is now listed in the Debugger Window. To verify the watch was added successfully, select Debugger Window from the Debug menu, then view the Watches box. Information about each variable is displayed when it is selected. A watch should also be added for the variable i. This variable

61 DiveIntoSunONE.fm Page 257 Tuesday, September 24, :49 AM Chapter 5 Sun ONE Integrated Development Environment 257 will have continually changing values throughout the execution of the program. [Note: The lack of information about variables number and i is because the debugger is not yet running.] Fig The Watches tab in the Debugger window. 4. To start the debugger, select Start from the Debug menu. At this point, the program is executing and the Input dialog is displayed. Enter 10 into the text field and hit Enter. The program briefly resumes execution then suspends. The Watches tab in the Debugger Window now displays information about the variable number. This variable is used to store the number entered by the user, therefore its value is The message displayed in the Output Window states the program has reached the breakpoint on line 26. Notice that line 26 is now highlighted green in the Source Editor window, indicating that execution has suspended at this line. When execution is suspended, the programmer can select Run to Cursor, Step Over, Step Into, Step Out or Continue from the Debug menu. After clicking Step Into and Step Over several times check the value of i in the Watches tab. The output window will display the numbers based on how many times the programmer clicks Step Into. Its value should have increased by 1 for each pass

62 DiveIntoSunONE.fm Page 258 Tuesday, September 24, :49 AM 258 Sun ONE Integrated Development Environment Chapter 5 through the for loop. When finished choose Continue to traverse to the end of the program. Fig DebugApplication.java suspended at line 26, as marked in blue. 6. The main window indicates that the debugger has completed and the text 1 through 10 is displayed in the output window. Even though a breakpoint was set on line 24, the program never suspended on that line because the code on line 24 never executed. The code on lines 24 and 26, respectively, output text or enter a loop into the output window, depending on the number entered by the user. Obviously, both conclusions cannot be reached, therefore only one of these lines executes. Start the debugger again, (Step 4) but enter a non-positive number into the Input dialog and observe how the debugger operates Debugging a Java Applet This section expands on the concepts of the previous section by debugging a simple Java applet, DebugApplet.java. To the end user, this applet executes identically to DebugApplication.java from the previous sub-section. The major difference is the structure of the code. The reader should be familiar with the structure of the Java applet as opposed to the Java application. Chapter 3 of Java How to Program, Fourth Edition, Introduction to Java

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang Eclipse Tutorial For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Getting Started with Eclipse Choosing a Perspective Creating a Project Creating a Java

More information

Supplement H.1: JBuilder X Tutorial. For Introduction to Java Programming, 5E By Y. Daniel Liang

Supplement H.1: JBuilder X Tutorial. For Introduction to Java Programming, 5E By Y. Daniel Liang Supplement H.1: JBuilder X Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with JBuilder Creating a Project Creating, Compiling,

More information

Supplement II.B(1): JBuilder X Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Supplement II.B(1): JBuilder X Tutorial. For Introduction to Java Programming By Y. Daniel Liang Supplement II.B(1): JBuilder X Tutorial For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Getting Started with JBuilder Creating a Project Creating, Compiling,

More information

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version. NetBeans Tutorial For Introduction to Java Programming By Y. Daniel Liang This tutorial applies to NetBeans 6, 7, or a higher version. This supplement covers the following topics: Getting Started with

More information

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

2 Getting Started. Getting Started (v1.8.6) 3/5/2007 2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless

More information

Getting Started (1.8.7) 9/2/2009

Getting Started (1.8.7) 9/2/2009 2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have

More information

GETTING STARTED. The longest journey begins with a single step. In this chapter, you will learn about: Compiling and Running a Java Program Page 2

GETTING STARTED. The longest journey begins with a single step. In this chapter, you will learn about: Compiling and Running a Java Program Page 2 ch01 11/17/99 9:16 AM Page 1 CHAPTER 1 GETTING STARTED The longest journey begins with a single step. CHAPTER OBJECTIVES In this chapter, you will learn about: Compiling and Running a Java Program Page

More information

Deitel Dive-Into Series: Dive-Into Cygwin and GNU C++

Deitel Dive-Into Series: Dive-Into Cygwin and GNU C++ 1 Deitel Dive-Into Series: Dive-Into Cygwin and GNU C++ Objectives To be able to use Cygwin, a UNIX simulator. To be able to use a text editor to create C++ source files To be able to use GCC to compile

More information

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

Introduction. Key features and lab exercises to familiarize new users to the Visual environment Introduction Key features and lab exercises to familiarize new users to the Visual environment January 1999 CONTENTS KEY FEATURES... 3 Statement Completion Options 3 Auto List Members 3 Auto Type Info

More information

Java Applets. Last Time. Java Applets. Java Applets. First Java Applet. Java Applets. v We created our first Java application

Java Applets. Last Time. Java Applets. Java Applets. First Java Applet. Java Applets. v We created our first Java application Last Time v We created our first Java application v What are the components of a basic Java application? v What GUI component did we use in the examples? v How do we write to the standard output? v An

More information

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below.

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below. CS520 Setting Up the Programming Environment for Windows Suresh Kalathur 1. Java8 SDK Java8 SDK (Windows Users) For Windows users, download the Java8 SDK as shown below. The Java Development Kit (JDK)

More information

SDKs - Eclipse. SENG 403, Tutorial 2

SDKs - Eclipse. SENG 403, Tutorial 2 SDKs - SENG 403, Tutorial 2 AGENDA - SDK Basics - - How to create Project - How to create a Class - Run Program - Debug Program SDK Basics Software Development Kit is a set of software development tools

More information

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python

More information

3 Getting Started with Objects

3 Getting Started with Objects 3 Getting Started with Objects If you are an experienced IDE user, you may be able to do this tutorial without having done the previous tutorial, Getting Started. However, at some point you should read

More information

Chapter 3 - Introduction to Java Applets

Chapter 3 - Introduction to Java Applets 1 Chapter 3 - Introduction to Java Applets 2 Introduction Applet Program that runs in appletviewer (test utility for applets) Web browser (IE, Communicator) Executes when HTML (Hypertext Markup Language)

More information

LAB 1: FAMILIARITY WITH NETBEANS IDE ENVIRONMENT

LAB 1: FAMILIARITY WITH NETBEANS IDE ENVIRONMENT Statement Purpose: The purpose of this Lab. is to familiarize student with the programming environment they will be going to using throughout this course. This Lab. introduces the basics of NetBeans IDE

More information

MEAP Edition Manning Early Access Program Get Programming with Java Version 1

MEAP Edition Manning Early Access Program Get Programming with Java Version 1 MEAP Edition Manning Early Access Program Get Programming with Java Version 1 Copyright 2018 Manning Publications For more information on this and other Manning titles go to www.manning.com welcome First,

More information

At the shell prompt, enter idlde

At the shell prompt, enter idlde IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar

More information

Module 3: Working with C/C++

Module 3: Working with C/C++ Module 3: Working with C/C++ Objective Learn basic Eclipse concepts: Perspectives, Views, Learn how to use Eclipse to manage a remote project Learn how to use Eclipse to develop C programs Learn how to

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

JCreator. Starting JCreator

JCreator. Starting JCreator 1 of 12 9/29/2005 2:31 PM JCreator JCreator is a commercial Java environment available from http://www.jcreator.com. Inexpensive academic licenses and a free "limited edition" are available. JCreator runs

More information

Road Map. Introduction to Java Applets Review applets that ship with JDK Make our own simple applets

Road Map. Introduction to Java Applets Review applets that ship with JDK Make our own simple applets Java Applets Road Map Introduction to Java Applets Review applets that ship with JDK Make our own simple applets Introduce inheritance Introduce the applet environment html needed for applets Reading:

More information

MCDOUGAL LITTELL EASYPLANNER USER S GUIDE

MCDOUGAL LITTELL EASYPLANNER USER S GUIDE MCDOUGAL LITTELL EASYPLANNER USER S GUIDE 1 Introduction The McDougal Littell EasyPlanner allows you to quickly and easily access Resource materials such as tests, quizzes, books, and other supporting

More information

Lab Android Development Environment

Lab Android Development Environment Lab Android Development Environment Setting up the ADT, Creating, Running and Debugging Your First Application Objectives: Familiarize yourself with the Android Development Environment Important Note:

More information

IT Essentials v6.0 Windows 10 Software Labs

IT Essentials v6.0 Windows 10 Software Labs IT Essentials v6.0 Windows 10 Software Labs 5.2.1.7 Install Windows 10... 1 5.2.1.10 Check for Updates in Windows 10... 10 5.2.4.7 Create a Partition in Windows 10... 16 6.1.1.5 Task Manager in Windows

More information

An applet is a program written in the Java programming language that can be included in an HTML page, much in the same way an image is included in a

An applet is a program written in the Java programming language that can be included in an HTML page, much in the same way an image is included in a CBOP3203 An applet is a program written in the Java programming language that can be included in an HTML page, much in the same way an image is included in a page. When you use a Java technology-enabled

More information

390 Object-Based Programming Chapter 8. Copyright 2002 by Deitel & Associates, Inc. and Prentice Hall. All Rights Reserved.

390 Object-Based Programming Chapter 8. Copyright 2002 by Deitel & Associates, Inc. and Prentice Hall. All Rights Reserved. temp.fm Page 390 Tuesday, September 25, 2001 3:46 PM 390 Object-Based Programming Chapter 8 Software Engineering Observation 8.11 The class designer need not provide set and/or get methods for each private

More information

HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS

HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS INTRODUCTION A program written in a computer language, such as C/C++, is turned into executable using special translator software.

More information

Page 1 of 7. public class EmployeeAryAppletEx extends JApplet

Page 1 of 7. public class EmployeeAryAppletEx extends JApplet CS 209 Spring, 2006 Lab 9: Applets Instructor: J.G. Neal Objectives: To gain experience with: 1. Programming Java applets and the HTML page within which an applet is embedded. 2. The passing of parameters

More information

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline 2 T U T O R I A L Objectives In this tutorial, you will learn to: Navigate Visual Studio.NET s Start Page. Create a Visual Basic.NET solution. Use the IDE s menus and toolbars. Manipulate windows in the

More information

II. Compiling and launching from Command-Line, IDE A simple JAVA program

II. Compiling and launching from Command-Line, IDE A simple JAVA program Contents Topic 01 - Java Fundamentals I. Introducing JAVA II. Compiling and launching from Command-Line, IDE A simple JAVA program III. How does JAVA work IV. Review - Programming Style, Documentation,

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

CS 201 Software Development Methods Spring Tutorial #1. Eclipse

CS 201 Software Development Methods Spring Tutorial #1. Eclipse CS 201 Software Development Methods Spring 2005 Tutorial #1 Eclipse Written by Matthew Spear and Joseph Calandrino Edited by Christopher Milner and Benjamin Taitelbaum ECLIPSE 3.0 DEVELOPING A SIMPLE PROGRAM

More information

3. Hello World! for IDEA. Java. Summer 2008 Instructor: Dr. Masoud Yaghini

3. Hello World! for IDEA. Java. Summer 2008 Instructor: Dr. Masoud Yaghini 3. Java Summer 2008 Instructor: Dr. Masoud Yaghini Outline Java IDEs Creating A Project Making A Java Class Building the Project Running the Project References Java IDEs Java IDEs Integrated Development

More information

Università degli Studi di Bologna Facoltà di Ingegneria. Principles, Models, and Applications for Distributed Systems M

Università degli Studi di Bologna Facoltà di Ingegneria. Principles, Models, and Applications for Distributed Systems M Università degli Studi di Bologna Facoltà di Ingegneria Principles, Models, and Applications for Distributed Systems M tutor Isam M. Al Jawarneh, PhD student isam.aljawarneh3@unibo.it Mobile Middleware

More information

The NetBeans IDE is a big file --- a minimum of around 30 MB. After you have downloaded the file, simply execute the file to install the software.

The NetBeans IDE is a big file --- a minimum of around 30 MB. After you have downloaded the file, simply execute the file to install the software. Introduction to Netbeans This document is a brief introduction to writing and compiling a program using the NetBeans Integrated Development Environment (IDE). An IDE is a program that automates and makes

More information

JSF Tools Reference Guide. Version: M5

JSF Tools Reference Guide. Version: M5 JSF Tools Reference Guide Version: 3.3.0.M5 1. Introduction... 1 1.1. Key Features of JSF Tools... 1 2. 3. 4. 5. 1.2. Other relevant resources on the topic... 2 JavaServer Faces Support... 3 2.1. Facelets

More information

Visual Studio.NET. Although it is possible to program.net using only the command OVERVIEW OF VISUAL STUDIO.NET

Visual Studio.NET. Although it is possible to program.net using only the command OVERVIEW OF VISUAL STUDIO.NET Chapter. 03 9/17/01 6:08 PM Page 35 Visual Studio.NET T H R E E Although it is possible to program.net using only the command line compiler, it is much easier and more enjoyable to use Visual Studio.NET.

More information

7 The Integrated Debugger

7 The Integrated Debugger 7 The Integrated Debugger Your skill set for writing programs would not be complete without knowing how to use a debugger. While a debugger is traditionally associated with finding bugs, it can also be

More information

ICOM 4015 Advanced Programming Laboratory. Chapter 1 Introduction to Eclipse, Java and JUnit

ICOM 4015 Advanced Programming Laboratory. Chapter 1 Introduction to Eclipse, Java and JUnit ICOM 4015 Advanced Programming Laboratory Chapter 1 Introduction to Eclipse, Java and JUnit University of Puerto Rico Electrical and Computer Engineering Department by Juan E. Surís 1 Introduction This

More information

'phred dist acd.tar.z'

'phred dist acd.tar.z' Phred is free for academic use but does require registration and for you to obtain a licence. Please visit http://www.phrap.org/consed/consed.html#howtoget and follow the instructions. A copy of the Phred

More information

DOMAIN TECHNOLOGIES. Getting Started Guide Version 1.1. BoxView IDE. Integrated Development Environment

DOMAIN TECHNOLOGIES. Getting Started Guide Version 1.1. BoxView IDE. Integrated Development Environment Getting Started Guide Version 1.1 BoxView IDE Integrated Development Environment Table of Contents INTRODUCTION...3 System Requirements...3 INSTALLATION...4 License Server...4 Registration...5 Node Locked

More information

NetBeans IDE Java Quick Start Tutorial

NetBeans IDE Java Quick Start Tutorial NetBeans IDE Java Quick Start Tutorial Welcome to NetBeans IDE! This tutorial provides a very simple and quick introduction to the NetBeans IDE workflow by walking you through the creation of a simple

More information

Dive Into Visual C# 2008 Express

Dive Into Visual C# 2008 Express 1 2 2 Dive Into Visual C# 2008 Express OBJECTIVES In this chapter you will learn: The basics of the Visual Studio Integrated Development Environment (IDE) that assists you in writing, running and debugging

More information

Impossible Solutions, Inc. JDF Ticket Creator & DP2 to Indigo scripts Reference Manual Rev

Impossible Solutions, Inc. JDF Ticket Creator & DP2 to Indigo scripts Reference Manual Rev Impossible Solutions, Inc. JDF Ticket Creator & DP2 to Indigo scripts Reference Manual Rev. 06.29.09 Overview: This reference manual will cover two separate applications that work together to produce a

More information

Tutorials. Tutorials* for the jgrasp TM 1.7 Integrated Development Environment

Tutorials. Tutorials* for the jgrasp TM 1.7 Integrated Development Environment The Tutorials Tutorials* for the jgrasp TM 1.7 Integrated Development Environment James H. Cross II and Larry A. Barowski Copyright 2004 Auburn University All Rights Reserved June 1, 2004 DRAFT *These

More information

Quick Start Guide for Windows

Quick Start Guide for Windows for Windows The Eudora 5.1 User Manual for Windows is on the Eudora CD included in the product box. If you prefer a printed and bound copy, you can purchase one from www.eudora.com or call 1-800-2-EUDORA

More information

Introduction to IntelliJ

Introduction to IntelliJ Introduction to IntelliJ IntelliJ is a large software package used by professional software developers. This document will give you a brief introduction but is by no means exhaustive. If you have questions

More information

Getting Started with Eclipse/Java

Getting Started with Eclipse/Java Getting Started with Eclipse/Java Overview The Java programming language is based on the Java Virtual Machine. This is a piece of software that Java source code is run through to produce executables. The

More information

Introduction to Windows XP

Introduction to Windows XP 1 Introduction to Windows XP 1.1 INTRODUCTION The windows operating system started with the introduction of Windows OS and Windows for work group for networking. Since then it has come a long way and Windows

More information

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE 1 Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE Outline 2.1 Test-Driving the Welcome Application 2.2 Overview of the Visual Studio.NET 2003 IDE 2.3 Creating a Project for the

More information

Zend Studio 3.0. Quick Start Guide

Zend Studio 3.0. Quick Start Guide Zend Studio 3.0 This walks you through the Zend Studio 3.0 major features, helping you to get a general knowledge on the most important capabilities of the application. A more complete Information Center

More information

Just Enough Eclipse What is Eclipse(TM)? Why is it important? What is this tutorial about?

Just Enough Eclipse What is Eclipse(TM)? Why is it important? What is this tutorial about? Just Enough Eclipse What is Eclipse(TM)? Eclipse is a kind of universal tool platform that provides a feature-rich development environment. It is particularly useful for providing the developer with an

More information

HOW TO BUILD YOUR FIRST ROBOT

HOW TO BUILD YOUR FIRST ROBOT Kofax Kapow TM HOW TO BUILD YOUR FIRST ROBOT INSTRUCTION GUIDE Table of Contents How to Make the Most of This Tutorial Series... 1 Part 1: Installing and Licensing Kofax Kapow... 2 Install the Software...

More information

A Guided Tour of Doc-To-Help

A Guided Tour of Doc-To-Help A Guided Tour of Doc-To-Help ii Table of Contents Table of Contents...ii A Guided Tour of Doc-To-Help... 1 Converting Projects to Doc-To-Help 2005... 1 Using Microsoft Word... 10 Using HTML Source Documents...

More information

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs 2 TUTORIAL This chapter contains the following topics. Overview on page 2-1 Exercise One: Building and Running a C Program on page 2-3 Exercise Two: Calling an Assembly Routine and Creating an LDF on page

More information

WinView. Getting Started Guide

WinView. Getting Started Guide WinView Getting Started Guide Version 4.3.12 June 2006 Copyright 2006 Mincom Limited All rights reserved. No part of this document may be reproduced, transferred, sold or otherwise disposed of without

More information

DesignPro Tools for Xerox Elixir Technologies Corporation. All rights reserved.

DesignPro Tools for Xerox Elixir Technologies Corporation. All rights reserved. Follow the Crop Marks DesignPro Tools for Xerox Getting Started Guide C 1998-2008 Elixir Technologies Corporation. All rights reserved. Elixir Technologies Corporation 721 East Main Street Ventura, CA

More information

Relativity Designer Installation Guide

Relativity Designer Installation Guide Liant Software Corporation Relativity Designer Installation Guide Version 5 Copyright 1994-2003 by Liant Software Corporation. All rights reserved. Printed in U.S.A. No part of this publication may be

More information

NetBeans IDE Field Guide

NetBeans IDE Field Guide NetBeans IDE Field Guide Copyright 2004 Sun Microsystems, Inc. All rights reserved. Debugging Java Applications Table of Contents Starting a Debugging Session...2 Debugger Windows...3 Attaching the Debugger

More information

ActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015

ActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015 ActiveSpaces Transactions Quick Start Guide Software Release 2.5.0 Published May 25, 2015 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED

More information

Eng. Mohammed Alokshiya

Eng. Mohammed Alokshiya Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Computer Programming Lab (ECOM 2114) Lab 1 Introduction to Java Eng. Mohammed Alokshiya September 28, 2014 Java Programming

More information

Series 40 6th Edition SDK, Feature Pack 1 Installation Guide

Series 40 6th Edition SDK, Feature Pack 1 Installation Guide F O R U M N O K I A Series 40 6th Edition SDK, Feature Pack 1 Installation Guide Version Final; December 2nd, 2010 Contents 1 Legal Notice...3 2 Series 40 6th Edition SDK, Feature Pack 1...4 3 About Series

More information

3. NetBeans IDE 6.0. Java. Fall 2009 Instructor: Dr. Masoud Yaghini

3. NetBeans IDE 6.0. Java. Fall 2009 Instructor: Dr. Masoud Yaghini 3. NetBeans IDE 6.0 Java Fall 2009 Instructor: Dr. Masoud Yaghini Outline Installing the NetBeans IDE First NetBeans IDE Project IDE Windows Source Editor Customizing the IDE References Installing the

More information

Conventions in this tutorial

Conventions in this tutorial This document provides an exercise using Digi JumpStart for Windows Embedded CE 6.0. This document shows how to develop, run, and debug a simple application on your target hardware platform. This tutorial

More information

Software Installation for CS121

Software Installation for CS121 Software Installation for CS121 Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University August 26, 2005 1 Installation of Java J2SE 5 SDK 1. Visit Start Settings Control Panel

More information

ADOBE DREAMWEAVER CS4 BASICS

ADOBE DREAMWEAVER CS4 BASICS ADOBE DREAMWEAVER CS4 BASICS Dreamweaver CS4 2 This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site layout,

More information

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java)

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java) Goals - to learn how to compile and execute a Java program - to modify a program to enhance it Overview This activity will introduce you to the Java programming language. You will type in the Java program

More information

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved. Assoc. Prof. Dr. Marenglen Biba (C) 2010 Pearson Education, Inc. All rights reserved. Course: Object-Oriented Programming with Java Instructor : Assoc. Prof. Dr. Marenglen Biba Office : Faculty building

More information

Fairfield University Using Xythos for File Storage

Fairfield University Using Xythos for File Storage Fairfield University Using Xythos for File Storage Version 7.0 Table of Contents I: Accessing your Account...2 II: Uploading Files via the Web...2 III: Manage your Folders and Files via the Web...4 IV:

More information

Tutorial 1: Unix Basics

Tutorial 1: Unix Basics Tutorial 1: Unix Basics To log in to your ece account, enter your ece username and password in the space provided in the login screen. Note that when you type your password, nothing will show up in the

More information

Working with Mailbox Manager

Working with Mailbox Manager Working with Mailbox Manager A user guide for Mailbox Manager supporting the Message Storage Server component of the Avaya S3400 Message Server Mailbox Manager Version 5.0 February 2003 Copyright 2003

More information

Creating a new CDC policy using the Database Administration Console

Creating a new CDC policy using the Database Administration Console Creating a new CDC policy using the Database Administration Console When you start Progress Developer Studio for OpenEdge for the first time, you need to specify a workspace location. A workspace is a

More information

There are six main steps in creating web pages in FrontPage98:

There are six main steps in creating web pages in FrontPage98: This guide will show you how to create a basic web page using FrontPage98 software. These instructions are written for IBM (Windows) computers only. However, FrontPage is available for Macintosh users

More information

For live Java EE training, please see training courses at

For live Java EE training, please see training courses at Java with Eclipse: Setup & Getting Started Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/java.html For live Java EE training, please see training courses

More information

TOF-Watch SX Monitor

TOF-Watch SX Monitor TOF-Watch SX Monitor User manual Version 1.2 Organon (Ireland) Ltd. Drynam Road Swords Co. Dublin Ireland Contents General information... 3 Getting started... 3 File Window... 7 File Menu... 10 File Open

More information

JSF Tools Reference Guide. Version: beta1

JSF Tools Reference Guide. Version: beta1 JSF Tools Reference Guide Version: 3.0.0.beta1 1. Introduction... 1 1.1. Key Features of JSF Tools... 1 1.2. Other relevant resources on the topic... 2 2. JavaServer Faces Support... 3 2.1. Facelets Support...

More information

1) Installing Bluetooth software for Windows (A) Place installation CD into PC and setup should launch automatically.

1) Installing Bluetooth software for Windows (A) Place installation CD into PC and setup should launch automatically. 1) Installing Bluetooth software for Windows (A) Place installation CD into PC and setup should launch automatically. If setup does not launch, use Windows Explorer to navigate to the appropriate CD- ROM

More information

Read Me First! Start Here. Read Me First! Start Here.

Read Me First! Start Here. Read Me First! Start Here. Getting Started with for Mac OS JAVA Welcome! Hardware Software Disk Space B A S I C S Y S T E M R E Q U I R E M E N T S Classic Mac OS development PowerPC 601 or greater processor (no 68K support), 64

More information

The NetBeans Debugger: A Brief Tutorial

The NetBeans Debugger: A Brief Tutorial The NetBeans Debugger: A Brief Tutorial Based on a tutorial by Anousha Mesbah from the University of Georgia NetBeans provides a debugging tool that lets you trace the execution of a program step by step.

More information

AndeSight. User Manual. Working with AndESLive. Version 1.0

AndeSight. User Manual. Working with AndESLive. Version 1.0 AndeSight User Manual Working with AndESLive Version 1.0 Table of Contents AndeSight User Manual PREFACE... 2 CHAPTER 1 INTRODUCTION AND OVERVIEW... 3 1.1 ANDESIGHT OVERVIEW... 4 1.2 IDE OVERVIEW... 4

More information

Methods (Deitel chapter 6)

Methods (Deitel chapter 6) Methods (Deitel chapter 6) 1 Plan 2 Introduction Program Modules in Java Math-Class Methods Method Declarations Argument Promotion Java API Packages Random-Number Generation Scope of Declarations Methods

More information

Test/Debug Guide. Reference Pages. Test/Debug Guide. Site Map Index

Test/Debug Guide. Reference Pages. Test/Debug Guide. Site Map Index Site Map Index HomeInstallationStartAuthoringStreamSQLTest/DebugAPI GuideAdminAdaptersSamplesStudio GuideReferences Current Location: Home > Test/Debug Guide Test/Debug Guide The following topics explain

More information

Prerequisites for Eclipse

Prerequisites for Eclipse Prerequisites for Eclipse 1 To use Eclipse you must have an installed version of the Java Runtime Environment (JRE). The latest version is available from java.com/en/download/manual.jsp Since Eclipse includes

More information

LearnMate Standalone Content. User Manual

LearnMate Standalone Content. User Manual LearnMate Standalone Content User Manual Catalog # 200018 Rev. C July 2005 Copyright 2005 intelitek Inc. LEARNMATE V3 STANDALONE USER MANUAL Catalog # 200018 Rev. C July 2005 Every effort has been made

More information

Introduction to Computation and Problem Solving

Introduction to Computation and Problem Solving Class 3: The Eclipse IDE Introduction to Computation and Problem Solving Prof. Steven R. Lerman and Dr. V. Judson Harward What is an IDE? An integrated development environment (IDE) is an environment in

More information

Workstation Configuration

Workstation Configuration Workstation Configuration December 15, 2017 - Version 9.3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

More information

ActiveBPEL Fundamentals

ActiveBPEL Fundamentals Unit 22: Simulation ActiveBPEL Fundamentals This is Unit #22 of the BPEL Fundamentals course. In past Units we ve looked at ActiveBPEL Designer, Workspaces and Projects, created the Process itself and

More information

Eng. Mohammed S. Abdualal

Eng. Mohammed S. Abdualal Islamic University of Gaza Faculty of Engineering Computer Engineering Department Computer Programming Lab (ECOM 2124) Created by Eng: Mohammed Alokshiya Modified by Eng: Mohammed Abdualal Lab 1 Introduction

More information

Top Producer for Palm Handhelds

Top Producer for Palm Handhelds Top Producer for Palm Handhelds Quick Setup Top Producer Systems Phone number: 1-800-830-8300 Email: support@topproducer.com www.topproducer.com Fax: 604.270.6365 Top Producer for Palm handhelds Quick

More information

Workstation Configuration

Workstation Configuration Workstation Configuration September 22, 2015 - Version 9 & 9.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

More information

Imperative and Object Oriented Programming. Tutorial 1. Charlie Abela Department of Artificial Intelligence

Imperative and Object Oriented Programming. Tutorial 1. Charlie Abela Department of Artificial Intelligence Imperative and Object Oriented Programming Tutorial 1 Department of Artificial Intelligence charlie.abela@um.edu.mt Tutorial 1 In this tutorial you will be using the BlueJ IDE to develop java classes.

More information

Get Started. Estimating Explorer

Get Started. Estimating Explorer Get Started Estimating Explorer NOTICE This document and the Sage Timberline Office software may be used only in accordance with the accompanying Sage Timberline Office End User License Agreement. You

More information

Optimizing ImmuNet. In this chapter: Optimizing Browser Performance Running Reports with Adobe Acrobat Reader Efficient Screen Navigation

Optimizing ImmuNet. In this chapter: Optimizing Browser Performance Running Reports with Adobe Acrobat Reader Efficient Screen Navigation Optimizing ImmuNet In this chapter: Optimizing Browser Performance Running Reports with Adobe Acrobat Reader Efficient Screen Navigation Optimizing Browser Performance Unless instructed to do otherwise,

More information

FrontPage 2000 Tutorial -- Advanced

FrontPage 2000 Tutorial -- Advanced FrontPage 2000 Tutorial -- Advanced Shared Borders Shared Borders are parts of the web page that share content with the other pages in the web. They are located at the top, bottom, left side, or right

More information

download instant at

download instant at CHAPTER 1 - LAB SESSION INTRODUCTION TO EXCEL INTRODUCTION: This lab session is designed to introduce you to the statistical aspects of Microsoft Excel. During this session you will learn how to enter

More information

GreenFolders User Manual

GreenFolders User Manual GreenFolders User Manual Welcome! Welcome to GreenFolders the Electronic Records Management Solution. GreenFolders allows you to store and retrieve files with many easy-to-use features for working with

More information

Chapter 5 - Methods Prentice Hall, Inc. All rights reserved.

Chapter 5 - Methods Prentice Hall, Inc. All rights reserved. 1 Chapter 5 - Methods 2003 Prentice Hall, Inc. All rights reserved. 2 Introduction Modules Small pieces of a problem e.g., divide and conquer Facilitate design, implementation, operation and maintenance

More information

LobbyGuard Assist Installation Guide

LobbyGuard Assist Installation Guide LobbyGuard Assist Installation Guide Installation Instructions... 3 Step 1: Installation Checklist... 4 Step 2: Install the LobbyGuard Assist Software... 5 Step 3: Install your Hardware... 6 LobbyGuard

More information

Outline. Introduction to Java. What Is Java? History. Java 2 Platform. Java 2 Platform Standard Edition. Introduction Java 2 Platform

Outline. Introduction to Java. What Is Java? History. Java 2 Platform. Java 2 Platform Standard Edition. Introduction Java 2 Platform Outline Introduction to Java Introduction Java 2 Platform CS 3300 Object-Oriented Concepts Introduction to Java 2 What Is Java? History Characteristics of Java History James Gosling at Sun Microsystems

More information