Since the installation directory is read-only, you should copy the tutorial folder to one of your personal folders (e.g., in your My Documents folder) so that you will be able to edit, compile, etc. The jgrasp Virtual Desktop 2-2ģ 2.2 Quick Start - Opening a Program, Compiling, and Running Example programs are available in the jgrasp folder in the directory where it was installed (e.g., c:\program Files\jgrasp\examples\Tutorials). Browse, Debug, Find, and Workbench Tabbed Pane CSD, Canvas, and UML Windows To Resize Pane, Select and Drag Partition or Click Arrowheads to open or close Messages, Run I/O, and Interactions Tabbed Pane Figure 2-1. You can also click the arrowheads on the partition to open and close the pane. The panes can be resized by selecting the partition with the mouse (left-click and hold down) then dragging the partition. The lower pane has tabs for jgrasp Messages, Compile Messages, Run I/O, and Interactions. The large right pane is for CSD, Canvas, and UML Windows. The Browse tab, which is the default when jgrasp is started, lists the files in the current directory. The left pane has tabs for Browse, Debug, Find, and Workbench. The jgrasp virtual Desktop, shown below, is composed of a Control Panel with a menu and toolbar across the top and three resizable panes. Depending on the speed of your computer, jgrasp may take between 10 and 30 seconds to start up. If you don t see the jgrasp icon on the desktop, try the following: click Start > All Programs > jgrasp (folder) > jgrasp. 2.1 Starting jgrasp 2.2 Quick Start - Opening a Program, Compiling, and Running 2.3 Creating a New File 2.4 Saving a File 2.5 Building Java Programs - Recap 2.6 Generating a Control Structure Diagram 2.7 Using Line Numbers 2.8 Using the Debugger (Java only) 2.9 Using Interactions (Java only) 2.10 Using Viewers and the Viewer Canvas (Java only) 2.11 Creating and Using Projects 2.12 Generating and Using a UML Class Diagram (Java only) 2.13 Opening a File Additional Options 2.14 Closing a File 2.15 Exiting jgrasp 2.16 Review and Preview of What s Ahead 2.17 Exercises 2-1Ģ 2.1 Starting jgrasp jgrasp If you are working in a Microsoft Windows environment, you can start jgrasp by double clicking its icon on your Windows desktop. The details of these objectives are captured in the hyperlinked topics listed below. In addition, you should be familiar with the pedagogical features provided by jgrasp, including using interactions, generating the CSD, folding your source code, numbering the lines, stepping through the program in the integrated debugger, and using the dynamic viewers and canvas. Objectives When you have completed this tutorial, you should be comfortable with editing, compiling, and running Java programs in jgrasp. ![]() ![]() Also note that for Ada, C, and C++, you ll need to compile and link (rather than just compile ) in order to run your program. ![]() For example, in the Creating a New File below, you may select C++ as the language instead of Java, and then enter a C++ example. However, much of the information in sections, 2.11, and applies to other operating systems and supported languages for which you have installed a compiler (e.g., Ada, C, C++, and Python) unless noted otherwise. For the examples in this section, Microsoft Windows and Java will be used. 1 2 Getting Started with jgrasp 2.0 After you have successfully installed the Java JDK and jgrasp, you are ready to get started.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |