![]() Anchors show the point of origin for measuring component positions within a form. Figure 2 shows alignment and anchor suggestions that the GUI builder thinks are appropriate for a sample form. As you drag and drop, rearrange, align, and anchor graphical components onto a form, the GUI builder provides visual feedback and layout hints that help you create the perfect UI. This frees you to design an appealing UI without spending needless time tweaking every detail of the layout implementation. However, the GUI builder itself handles the low-level details of component positioning, sizing, resizing, and spacing. In fact, NetBeans IDE uses a new layout manager called GroupLayout to implement layout designs that you specify when you move components around a form. NetBeans IDE GUI Builder provides the Free Design mode of operation, which allows you to move UI components around a panel or frame without concern for the underlying layout manager. Support for Java Platform, Standard Edition 6 (Java SE 6) code layout.Custom component support in the palette.Some of the benefits and features of using NetBeans IDE 5.5 with the NetBeans IDE GUI Builder include the following: Not only does NetBeans IDE GUI Builder simplify GUI creation by providing immediate visual updates to your GUI design, it also helps you create a better-looking GUI by solving some of the most important, difficult problems that UI designers face. This and other images in this article show screen captures of the GUI builder interacting with a demonstration address panel. Figure 1 shows a sample screen capture of NetBeans IDE 5.5. ![]() This GUI builder, introduced as "Matisse" as early as NetBeans IDE 5.0, provides you the power and freedom to spend more time designing your application UI instead of dealing with the low-level details of specific layout managers. NetBeans IDE 5.5 has a feature called the NetBeans IDE GUI Builder. It is not just a tool that allows you to visually set the various properties of layout managers, although that certainly is possible. If you are a GUI guru who avoids that type of IDE, you'll be thrilled that NetBeans IDE 5.5 provides significantly more value. Unfortunately, many integrated development environments (IDEs) are little more than a thin wrapper around the various properties available from a layout manager. ![]() In many situations, you can save time and effort by using a visual development environment to design and implement graphical forms. Although the ability to lay out a GUI form by hand might win you the right to brag at the office, it is not always the best use of your time. If you are a very skilled user interface (UI) developer who enjoys a challenge, you can write code manually to use a combination of layout managers to control precisely how components use their container space. ![]() A Visual Guide to Layout Managers, which is part of The Swing Tutorial, provides an excellent review of all the standard layout managers. You might already be familiar with some of the common layout managers, which include FlowLayout, BorderLayout, and GridBagLayout, among others. Several layout managers help you specify the position and size of GUI components. The Java platform provides support for creating a graphical user interface (GUI) for your desktop applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |