Jformdesigner 5.1 Documentation
Total Page:16
File Type:pdf, Size:1020Kb
JFormDesigner 5.1 Documentation JFormDesigner 5.1 Documentation Version: 5.1 Copyright © 2004-2012 FormDev Software GmbH. All rights reserved. Contents 1 Introduction .......................................................................................................................................... 2 2 User Interface ....................................................................................................................................... 3 2.1 Menus ............................................................................................................................................ 4 2.2 Toolbars ......................................................................................................................................... 7 2.3 Design View .................................................................................................................................... 8 2.3.1 Headers .................................................................................................................................. 10 2.3.2 In-place-editing ........................................................................................................................ 13 2.3.3 Keyboard Navigation ................................................................................................................. 13 2.3.4 Menu Designer ......................................................................................................................... 13 2.3.5 Button Groups .......................................................................................................................... 15 2.3.6 JTabbedPane ............................................................................................................................ 16 2.3.7 Events ..................................................................................................................................... 17 2.4 Palette .......................................................................................................................................... 19 2.5 Structure View ............................................................................................................................... 22 2.6 Properties View .............................................................................................................................. 23 2.6.1 Layout Manager Properties ......................................................................................................... 25 2.6.2 Layout Constraints Properties ..................................................................................................... 25 2.6.3 Client Properties ....................................................................................................................... 26 2.6.4 Code Generation Properties ........................................................................................................ 26 2.6.5 Property Editors ........................................................................................................................ 28 2.7 Bindings View ................................................................................................................................ 39 2.8 Error Log View ............................................................................................................................... 40 3 Localization ......................................................................................................................................... 41 4 Beans Binding (JSR 295) ...................................................................................................................... 47 5 Projects .............................................................................................................................................. 52 6 Preferences ......................................................................................................................................... 54 7 IDE Integrations .................................................................................................................................. 72 7.1 Eclipse plug-in ............................................................................................................................... 73 7.2 NetBeans plug-in ............................................................................................................................ 77 7.3 IntelliJ IDEA plug-in ........................................................................................................................ 80 7.4 JBuilder plug-in .............................................................................................................................. 83 8 Layout Managers ................................................................................................................................. 86 8.1 BorderLayout ................................................................................................................................. 88 8.2 BoxLayout ..................................................................................................................................... 89 8.3 CardLayout .................................................................................................................................... 90 8.4 FlowLayout .................................................................................................................................... 91 8.5 FormLayout (JGoodies) ................................................................................................................... 92 8.5.1 Column/Row Templates ............................................................................................................. 93 8.5.2 Column/Row Groups ................................................................................................................. 94 8.6 GridBagLayout ............................................................................................................................... 97 8.7 GridLayout .................................................................................................................................. 100 8.8 GroupLayout (Free Design) ............................................................................................................ 101 8.9 HorizontalLayout (SwingX) ............................................................................................................. 105 8.10 IntelliJ IDEA GridLayout ............................................................................................................... 106 8.11 null Layout ................................................................................................................................. 108 8.12 TableLayout ............................................................................................................................... 110 8.13 VerticalLayout (SwingX) .............................................................................................................. 112 9 Java Code Generator .......................................................................................................................... 113 9.1 Nested Classes ............................................................................................................................. 114 9.2 Code Templates ........................................................................................................................... 116 10 Command Line Tool .......................................................................................................................... 117 11 Runtime Library ............................................................................................................................... 120 12 JavaBeans ....................................................................................................................................... 122 13 Annotations ..................................................................................................................................... 125 14 JGoodies Forms & Looks .................................................................................................................... 127 15 Examples & Redistributables .............................................................................................................. 128 - 1 - JFormDesigner 5.1 Documentation 1 Introduction JFormDesigner is a professional GUI designer for Java Swing user interfaces. Its outstanding support for JGoodies FormLayout, GroupLayout (Free Design), TableLayout and GridBagLayout makes it easy to create professional looking forms. Why use JFormDesigner? JFormDesigner makes Swing GUI design a real pleasure. It decreases the time you spend on hand coding forms, giving you more time to focus on the real tasks. You'll find that JFormDesigner quickly pays back its cost in improved GUI quality and increased developer productivity. Even non-programmers can use it, which makes it also ideal for prototyping. Editions JFormDesigner is available in five editions: as stand-alone application and as IDE plug-ins for Eclipse, NetBeans, IntelliJ IDEA and JBuilder. This documentation covers all editions. If there are functional differences between the editions, then they are marked with: Stand-alone, Eclipse plug-in, NetBeans plug-in, IntelliJ IDEA plug-in, JBuilder plug-in or IDE plug-ins. Key features Easy and intuitive to use, powerful and productive IDE plug-ins