Graphical Java Development Tools JBuilder 9.0 (2)

xiaoxiao2021-03-06  179

Third, JBuilder 9 Integrated Development Environment

Figure 10

As we can see from the above Figure 10, the JBuilder9 integrated development environment is a single window interface, set editing, managing files, engineering, visual interface design, browsing, compiling, commissioning, and other operations. platform. The following is the name of each portion and its function description. 1. Main Men Menu main menu is very important for writing programs, such as users can open, save projects, and files, load stored files, find text, compile and debug programs in the file, etc. . 2. Main Toolbar Main Toolbar Follow its function to divide a number of gadgets, the button above provides a quick access to the menu command. 3. Project PANE Project window can display the contents of the selected project for browsing and operating the project. 4. Project Bar Engineering Toolbar contains a list of currently opened engineering and some buttons, which are used to delete files, shut down, and update project files in the project window. 5. Structure PANE Structure Window is used to display the structure of the current file in the content window. For a Java file, the window shows all methods, attributes and events in the form of a tree. The structural window has a downward function, double-click a class or interface, you can view its ancestors, which is very convenient for users to find relevant information. 6, content window (Content PANE) can view the open file in the content window. Each open file has a label showing its file name and a variety of view tags located at the bottom. 7. File View Tabs File View Tags For Various views of the file in the content window, such as Source, Design, Bean, DOC, or History view. 8. File Tabs file tags are used to display open file names. JBuilder9 shows only the file tag of the active engineering. To view an open file, select its file tag. Note that when a file is modified, the X symbol on its label is disconnected, otherwise, for the X symbol that is disconnected. 9. Status Bar Enables the latest information about the process and its results in the status bar. The above parts are most commonly used when using JBuilder programming, and mastered their functions, it will have a more in-depth understanding of the programming environment of JBuilder 9. Below, the contents of the JBuilder9 integrated development environment are introduced. One) The menu bar of the menu bar JBuilder9 is constructed from some submenu, and the user can select the desired menu item by mouse or shortcut. The following will be introduced for some common and compare menu items. 1, File (File) Menu 1) New menu item Click the File-> New menu item, open the Object Gallery dialog, as shown in Figure 11.

Figure 11

In this dialog, users can create files, projects, applications, web applications, XML applications, CORBA, Build, Enterprise applications, and test processing. There are 8 labels in this dialog, which is a brief description of the main projects in some major labels. · General Tags: Users can create multiple types of files through the General tag, for example, to create an application file, just double-click on the corresponding Application icon. • ProIect Tags: You can create new projects in the ProIect tag. · Web Tags: In the Web Tag, you can create and web-related applications and files. • XML Tags: In the XML tag, you can create and XML-related applications and files. · CORBA Tags: In the CORBA tag, you can create and apply interfaces and applications for server and client-related multi-level applications related to CORBA. · Enterprise Tags: Enterprise Tags, you can create interfaces and application objects related to Enterprise applications, which only have Enterprise's JBuilder9. · Build Tags: Build Tags, you can create tasks used to generate code and engineering creation. · TEST Tag: In the Test Tag, you can create an application framework and class object for testing. In addition, the Obiect Gallery dialog includes tags such as Web Services and Micro, but because its application range is not very wide, it is no longer described here. If you are interested, you can refer to the relevant help information. 2) The main function of the NOW Project menu NEW Projiect menu item is to create a JBuilder project file. Click this menu item to create a wizard dialog for creating a JBuilder project file, follow the wizard's prompt, you can create a JBuilder project file. 3) New class menu NEW CLASS menu item is primarily used to create a Java Class object. Click this menu item to create a Wizard dialog for creating a Java Class object, follow the wizard to create a Javaclass object file. 4) The function of the Open Project menu item open project menu item is to open an existing project. JBuilder9 can open multiple projects at the same time, and the system can also open multiple AppBrowser to display multiple different projects. 5) OPEN FILE menu items Used to open an existing JBuilder file, JBuilder engineering file, jbuilder package, C and C files, SQL files, HTML files, batch files, text files, and type files, etc. The shortcut is Ctrl O. Click the menu item, a standard Open File dialog box will appear. With this dialog, you can select files under different paths. If the file is an engineering file, the project will be opened in an integrated development environment. If you are another file, you can view the file in the code editor and edit it. Different types of files can be filtered with file filters. 6) The Reopen menu item Reopen menu item is used to open the most recently used engineering or module. JBuilder 9 has a memory function on the recently opened project file. When you click on the menu, its cascade menu, which lists the recently opened files. 7) Close All Except "frame1.java" menu item This menu item is the main function of this menu. It is to turn off all other files outside the project file that is open in the current integrated development environment. If you want to close the file, if you want to close the file has changed There will be a dialog that prompts whether to save your modifications.

8) REVERT "frame1.java" menu item This menu item is used to restore the Java file that is now open in the currently integrated development environment. If the current file has changed, there will be a restore to modify the file before modifying, which will be activated. 9) Page Layout Menu item This menu item is set to page settings for the print code. Click the menu item to open a page settings dialog to modify the various parameter settings when printing. 2, Edit menu "Edit" menu is used to manage text and controls in the user design phase. 3, the main function of the View menu "menu is to determine which content is displayed in the current IDE window. The menu item in this menu is an important tool for the user according to its own needs and hobbies. In" View " Many important tools are provided in the menu, such as Toolbars, Project, Content (Content Window), Structure (Structure Window), Messages, Statusbar (Status), and Hideall (hidden all Window, etc., Where to use Toolbars can choose the toolbar you need to display, mainly File, Editing, Search, Build, Run / Debug, Navigation, and Help, etc. 4. Project (Project) menu in the Project Menu In JBuilder, JBuilder provides a series of menu items for engineering processing, including:. Make ProIECT menu items can compile and link all files in the current project; Rebuild ProIECT menu items can re-re-all files Compilation and links; Make menu items can compile the current project files; Rebuild menu items can be recompiled and linking the current project files;. Add Files / Packages menu items to add files and packages to the current project; New Folder Menu items are used to add new folders in the current project; Remove from ProIect menu items are used to remove files from the current project; the refresh menu item is used to refresh the current engineering window:. Rename menu item Renown to the file in the current project; the ProIect Properties menu item is used to set the properties of the current project; the DEFAULT ProIect Properties menu item is used to set the properties of the system default project. In the menu items described above, make projiect, All menu items such as Rebuild Project, Make and Rebuild are the engine menu items that are often used. 5, the Run "Run" menu provides a variety of running and debug menu items. Users often use these menu items, these Menu items are especially important when running programs and debug programs. The menu items are briefly introduced below. Run Proiect menu items and Debug Project menu items are essential, mainly for running Engineering and commissioning works. Configurations Configuration) Menu item You can open the Prpject Properties dialog and display in the RUN page to allow the user to select the main program you want to run (this is related to the Application program and Applet applet in Java). STEP OVER menu item and Run to Cursor menu items are related to the debugger, ie, single-step execution, and execution to the cursor.

Use of menu items such as Add Watch and Add Breakpoint and other menu items. 6. Team menu "Team" menu is mainly used to complete team development and coordination work. The Select Project VCS menu item is primarily configured to configure the team development version control system, and click the menu item to pop up the Select Project VCS dialog. 7. Wizards menu The Wizard menu provides a series of menu items for the wizard. • The Implement Interface menu item is primarily used to open a wizard that can create an executable frame interface. When JBuilder creates a frame interface, you need to give the actual code of the executable method under this interface. • Override Methods menu item is primarily used to open a wizard for the overload class method. · The EJB menu item is mainly used to process the EJB guidewhere, including three submenu items, which are EJB1.X Interface Generator, EJB1.X Bean Generator, and Use EJB Test Client. • The USE DATAMODULE menu item is primarily used to open a DataModule's wizard, which can select only data modules that have been established and compiled, and users can select an existing data module with the wizard and add it to their own project. . • The USE CORBA interface menu item is primarily used to open a Corba Client Interface Object from IDL wizard, generate CORBA customers from an IDL file. • The Resource Strings menu item is primarily used to open the Resource Strings Wizard, bind the resource to some separate classes. · The Archive Builder menu item is mainly distributing applications after development. Archive Builder can collect all files required by the program, distribute in accordance with the selected archive type, for example, these files can be filed as JAR files. This menu command and the role of Archive Builder in the New Wizard are the same. · The Native Executable Builder menu item is primarily to make local executable code distribution processing after the development of the previously finished application. JBuilder9 can generate local code used on multiple operating system platforms such as Windows, Linux, Solaris, and Mac OS X. This menu item will open a Native Executable Builder Wizard equivalent to the New Wizard. · The Javadoc menu item is primarily open to the Javadoc wizard, which can create a document file in an HTML format for a variety of API source files. • The External Build Task menu item is primarily opened to open the External Build Task Wizard to create an extended build task program that is used when compiling links. 8, Tools menu "Tool" menu mainly provides options for various environments, users can customize these options to set the programming environment that suits you. It mainly includes IDE Options, Editor Options, Configure Libraries, Configure Servers, Configure Palette, Configure Palette, and Configure JDKs (JDK Add and configured) the menu items.

In addition, it also provides Enterprise Setup, Enterprise Deployment, Create EJB Client JAR, Beanlnsight and Package Migration and other related to the Borland Enterprise Server configuration tools, and JDBC Monitor, DatabasePilot, JDataStore Explorer JDataStore Server and database configuration, etc. and related tools. Menu items such as Configure Tools, Configure File Associations, and RMIREGISTRY are used for configuration work of other objects such as file associations. 2) The control bar is in any visual programming, the control bar is the most common tool for the user to use the control library, but also provides quick and convenient for programming. Each of the control libraries is actually an object, and the user can increase and improve its function, and thus form a new control. In addition, the new control formed can be added to the control library and is called by the program. Click on the Design option in Figure 10, the content displayed in the content window is a user interface designer. The control bar appears above, the control bar is in the lower right of the main menu, according to the control function Different divisions are 14 groups. 1. Swing page Swing is an important part of the Java Basic Class Library (JFC), which implements a new set of GUI (Graphics User Interface, Graphic User Interface) control, plug-in feeling effect (plugable) The appearance effect is that users only need to design a GUI control set, and they can automatically get an appearance effect with any OS platform (such as Windows, Solaris, Macintosh). Swing is achieved with 100% pure Java, and JDK (Java DevelopmentKit, Java Development Kit) Lightweight UI Framework is based. Figure 12

In addition to the pure Java versions containing two existing AWT (Abstract Window Toolkit, Abstract Window Toolkit, Abstract Window Toolkit) controls, such as buttons, scroll bars, labels, etc., have added a complete set of advanced controls (such as tree View, list box, etc.). 2, Swing Containers page As shown in Figure 13, the Swing Containers page mainly contains some container appearances such as Swing controls, etc., so that the layout of the Swing control is more reasonable.

Figure 13

3. The controls included in the DataExpress page DataExpress page are designated for database processing, as shown in Figure 14.

Figure 14

4, dbswing pages and moredbswing pages DBSWING page (see Figure 15) and more dbswing pages are also a collection of controls in database processing in Borland.

Figure 15

5, DBSWING MODELS Page DBSWING MODELS page is also the collection of controls in database processing in Borland, as shown in Figure 16.

Figure 16

6, EJB Page EJB (Enterprise Javabean) is very useful in enterprise-class application design, is an important part of J2EE. The control therebetween is shown in Figure 17.

Figure 17

7. AWT page AWT is an important part of the Java underlying class library. It is a very powerful feature in Java in earlier window tools, including:. Rich user interface control; Powerful event processing model; Graphics and image tools include shapes, colors, and font classes:. The layout manager can perform a flexible window layout and is independent of the size and screen resolution of a particular window; Data transfer classes can cut and paste them through a clipboard of the local platform. The control of the AWT page is shown in Figure 18. Figure 18

In addition, the XML page, the InternetBeans page, CORBA page, MIDP, and MIDP Screens, etc. InjBUILDER, and the advanced programming function controls used in JBuilder. Not much here.