Chapter 3: Using (Free web hosts) the Basic Building Blocks 69

Chapter 3: Using the Basic Building Blocks 69 12. From the menu bar, choose Build.Compile Project. If you typed everything correctly, you see the comforting Process completedmessage, with no error messages, at the bottom of JCreator s work area. The text appears in JCreator s Build Output pane, which now covers up the old General Output pane. (See Figure 3-15.) Figure 3-15: The result of a successful compilation. When you choose Build.Compile Project, JCreator compiles whichever project is currently active. Only one project at a time is active. So if your workspace contains several projects, make sure that the project you want to compile is currently the active project. 13. Check for error messages at the bottom of JCreator s work area. If, in Step 11, you didn t type the code exactly as it s shown in Listing 3-1, you see some error messages in the Task List pane. (Like so many other things, the Task List pane appears at the bottom of JCreator s work area.) Each error message refers to a specific place in your Java code. To jump the cursor to that place in the Editor pane, double-click the message in the Task List pane. Compare everything you see, character by character, with my code in Listing 3-1. Don t miss a single detail, including spelling, punctuation, and uppercase versus lowercase. 14. Make any changes or corrections to the code in the Editor pane. Then repeat Steps 12 and 13. When at last you see the Process completedmessage with no error messages, you re ready to run the program. 15. From the menu bar choose Build.Execute Project. That does the trick. Your new Java program runs in JCreator s General Output pane. If you re running the code in Listing 3-1, you see the You ll love Java!message in Figure 3-1. And believe me; messages like this are never wrong.
Our company is website hosting provider which offers web hosting services for php, java, mysql, frontpage, dreamweaver and domain name registration. Check more about us on website hosting provider part.

Leave a Reply