Designing menus Viewing a file 1 Double-click a
Designing menus Viewing a file 1 Double-click a Java file in the project pane. The file opens in the source editor in the content pane. 2 Select the Design tab at the bottom of the content pane. The file changes to the design view, or the designer. The component palette and the Inspector become available. Adding and manipulating components Click a component in the component palette to select it. Click either in the designer or on the component s parent in the structure pane to drop the chosen component into the designer. Use the component tree in the structure pane to keep track of where your UI components are in relation to each other. Cut and paste components in the component tree to stack and nest them the way you want them. Select the container you want to apply a layout manager to, then select layout in the Inspector to choose and apply the desired layout manager. Double-click the right column fields of the Inspector to view available values or activate text fields. Note JBuilder keeps the designer and the Java source code synchronized. When you change the design in the UI designer, JBuilder automatically updates the source code, and when you change the source code, the change is reflected in the UI designer. For more information, see JBuilder s visual design tools in Designing a user interface in Building Applications with JBuilder. Designing menus JBuilder includes a menu designer that makes it easy to create menus. You can visually design both drop-down and pop-up menus. To access JBuilder s menu designer, 1 Double-click a Java file in the project pane to open it. 2 Select the Design tab at the bottom of the content pane to change to the designer. 3 Add a menu component by clicking a menu component from the component palette then clicking in your design. 4 Double-click the new menu component in the component tree to activate the menu designer. Building a user interface 6-3
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services