Using the UI designer Table 6.1 JBuilder s visual
Using the UI designer Table 6.1 JBuilder s visual design tools Design tools Description UI designer Provides a surface for placing and editing panels and other UI components. To access the UI designer for an open file, select the Design tab at the bottom of the content pane. Component palette Contains visual and nonvisual Java components. Components on the palette vary by JBuilder edition. Component tree Displays a structured view of all the components in your source file and their relationships. This is shown in the structure pane at the lower left of the AppBrowser. Inspector Used to inspect and set the values of component properties and to attach methods to component events. Changes made in the Inspector are reflected visually in your design. Menu designer Used to design menus on the design surface. To invoke it while in the UI designer, double-click a JMenuBar or JPopupMenu component in the component tree, or select the component and press Enter. Available in JBuilder Column designer Allows you to work visually with data set components. To Professional and Enterprise invoke it, double-click a data set. For more information, see Chapter 16, Building an application and Chapter 19, Building a Java text editor. You can also see the online tutorial Creating a UI with nested layouts. For more information, see Designing a user interface in Building Applications with JBuilder. Using the UI designer JBuilder provides tools for visually designing and programming Java classes, allowing you to produce new compound or complex components. To use the visual design tools, a file must meet the following requirements: It must be a Java file (excluding Inner and Anonymous classes). It must be free from syntax errors. It must contain a class whose name matches the file name. Note The class cannot be an Inner class or an Anonymous class. The UI designer is used to manipulate JavaBeans that extend java.awt.Container. For example, the JavaBean can extend any of the following classes: JFrame JPanel JDialog JApplet Note These requirements are all met when you create files with the Application wizard or the Applet wizard. 6-2 Learning Java with JBuilder
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services