Jformdesigner 5.1 Documentation

Total Page:16

File Type:pdf, Size:1020Kb

Jformdesigner 5.1 Documentation 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
Recommended publications
  • Single-Window Integrated Development Environment
    Московский государственный университет имени М.В. Ломоносова Факультет вычислительной математики и кибернетики Кафедра автоматизации систем вычислительных комплексов Лаборатория вычислительных комплексов Курсовая работа на тему: «Однооконный интерфейс среды разработки программ» Студент 422 группы Ручкин И.Д. Научный руководитель Прус В.В. Москва 2010 Аннотация В данной работе описывается подход к решению проблем сложности графического интерфейса пользователя для интегрированных сред разработки программ, заключающийся в создании однооконного интерфейса. Этот подход предполагает удаление инструментальных окон – дополнительных окон среды разработки – и перенесение их функциональности в окно текстового редактора. Создание однооконного интерфейса включает обзор существующих интегрированных сред разработки программ, построение проекта однооконного интерфейса и частичную реализацию построенного проекта. Обзор сред разработки описывает организацию инструментальных окон и сами инструментальные окна популярных сред разработки программ. Результатом обзора является модель инструментальных окон, описывающая классы инструментальных окон, обобщенные инструментальные окна и их функциональность. За счет этой модели дальнейшие рассуждения абстрагируются от конкретных сред разработки программ. Далее в рамках полученной модели инструментальных окон создается проект однооконного интерфейса. Для этого рассматривается каждое обобщенное инструментальное окно и предлагается способ замены его функциональности. Предложенный проект однооконного интерфейса частично
    [Show full text]
  • Q1 Where Do You Use C++? (Select All That Apply)
    2021 Annual C++ Developer Survey "Lite" Q1 Where do you use C++? (select all that apply) Answered: 1,870 Skipped: 3 At work At school In personal time, for ho... 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ANSWER CHOICES RESPONSES At work 88.29% 1,651 At school 9.79% 183 In personal time, for hobby projects or to try new things 73.74% 1,379 Total Respondents: 1,870 1 / 35 2021 Annual C++ Developer Survey "Lite" Q2 How many years of programming experience do you have in C++ specifically? Answered: 1,869 Skipped: 4 1-2 years 3-5 years 6-10 years 10-20 years >20 years 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ANSWER CHOICES RESPONSES 1-2 years 7.60% 142 3-5 years 20.60% 385 6-10 years 20.71% 387 10-20 years 30.02% 561 >20 years 21.08% 394 TOTAL 1,869 2 / 35 2021 Annual C++ Developer Survey "Lite" Q3 How many years of programming experience do you have overall (all languages)? Answered: 1,865 Skipped: 8 1-2 years 3-5 years 6-10 years 10-20 years >20 years 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ANSWER CHOICES RESPONSES 1-2 years 1.02% 19 3-5 years 12.17% 227 6-10 years 22.68% 423 10-20 years 29.71% 554 >20 years 34.42% 642 TOTAL 1,865 3 / 35 2021 Annual C++ Developer Survey "Lite" Q4 What types of projects do you work on? (select all that apply) Answered: 1,861 Skipped: 12 Gaming (e.g., console and..
    [Show full text]
  • License Agreement for Intellij Idea
    LICENSE AGREEMENT FOR APPCODE (Classroom License) Version 11, Effective as of 16 May 2013 IMPORTANT! READ CAREFULLY: THIS IS A LEGAL AGREEMENT. BY DOWNLOADING, INSTALLING, COPYING, SAVING ON YOUR COMPUTER, OR OTHERWISE USING THIS SOFTWARE, YOU (LICENSEE, AS DEFINED BELOW) ARE BECOMING A PARTY TO THIS AGREEMENT AND YOU ARE CONSENTING TO BE BOUND BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT, YOU SHOULD NOT DOWNLOAD, INSTALL AND USE THE SOFTWARE. 1. PARTIES (a) "Licensor" means JetBrains s.r.o., having its principal place of business at Na hřebenech II 1718/10, Prague, 14700, Czech Republic, registered with Commercial Register kept by the Municipal Court of Prague, Section C, file 86211, ID.Nr.: 265 02 275. (b) "Licensee" means a public or private school, college, training courses, university and other post secondary educational establishment specified in the License Certificate, exercising rights under, and complying with the terms of this Agreement. 2. DEFINITIONS (a) "Authorized User" means any student, faculty or staff member authorized by Licensee to use the Software while performing duties within the scope of their employment or assignment. (b) "Software" means software program known as JetBrains AppCode in binary form, including its documentation, upgrades provided pursuant to Section 7 of this Agreement, and any third party software programs that are owned and licensed pursuant to Section 6 of this Agreement by parties other than Licensor and that either integrated with or made part of JetBrains AppCode (collectively, "Third Party Software"). (c) "License Certificate" means evidence of a license provided by Licensor to Licensee in electronic or printed form.
    [Show full text]
  • Ratan Sunder Parai
    Ratan Sunder Parai SOFTWARE ENGINEER Kallyanpur, Dhaka, Bangladesh (+880) 1771-998817 | [email protected] | ratanparai.wordpress.com | ratanparai | ratan-parai | ratanparai “Never memorize something that you can look up.” ― Albert Einstein Objective Super nerd who loves Vim and customize all of the development environment. Love to take challenge for devising a better problem-solving method while learning new technologies and tools as needed. Skills PHP, Node.JS, JavaScript, Python, JAVA, Android, C# .NET, C/C++, iOS (Objective-C), HTML5, Programming Typescript, Pug, CSS3, SASS, LESS, Regex, Swift 2 Database MySQL, MariaDB, MongoDB, SQLite, Redis Development Architecture MVC, MVW, REST API, Publish-Subscribe Express.JS, Socket.IO, AngularJS, Angular4, Gulp, Grunt, Codeigniter, Laravel, Slim Framework, Framework and Platform ASP.NET MVC, Entity Framework, Bootstrap, Foundation, SemanticUI, 960 Grid, Mocha, Chai, CMAKE, Bower, Composer, OAuth 1.0a, oAuth 2.0 VIM, Emacs, Xcode, Eclipse, WebStorm, Visual Studio, Visual Studio Code, Android Studio, Sublime Development Tool Text, IntelliJ IDEA, Code::Blocks, Geany, PyCharm, QT Creator Operating System Windows 98 – Windows 10, MacOS 10.4.4(Tiger) – 10.11(El Capitan), Ubuntu (8.04 – 15.10), Fedora Web Server Apache, Nginx, Lighttpd, Tor Hidden Service Languages Bengali, English Experience Leads Corporation Ltd. Dhaka, Bangladesh SOFTWARE ENGINEER INTERN May. 2017 - PRESENT • Developed Anti-skimming software (Terminal + Client) for Prime Bank in JAVA • Develop Customize Message Format
    [Show full text]
  • How Intellij IDEA Helps Your Business
    How IntelliJ IDEA Helps Your Business JetBrains IntelliJ IDEA is a capable and er- their overall productivity), IntelliJ IDEA can Remarkable Return on Investment (ROI) gonomic IDE for web, enterprise and mobile be an equally valuable asset for your busi- Java development. In addition to the bene- ness. It can save you money and resources Designed for productivity fits it provides to developers (such as saving by reducing software development and main- their time by automating routine tasks, locat- tenance costs, help you keep release sched- Code quality matters ing and fixing errors, taking advantage of in- ules, and even boost revenues by improving telligent support from the IDE, and increasing the quality of your software products. The power of IntelliJ Platform Facilitating workflow for the entire team Comprehensive and fast customer support Flexible licensing policy and bulk discounts Industry recognition Contact us Remarkable Return on Investment (ROI) At least 30% of the time, developers work According to our internal research, IntelliJ Compared to the labor cost, a price on fixing code issues that could be avoided IDEA users report a 23% to 35% increase of IntelliJ IDEA is only $ 1.9 per business altogether if the right development tools in their productivity when using IntelliJ IDEA, day (calculated based on 260 business were used. Newly hired developers spend in comparison with other IDEs or text edi- days per year). Not to mention the cumu- up to 70% of their time just getting up to tors. Considering that Java developers earn lative productivity boost for your whole speed with the existing codebase.
    [Show full text]
  • Watchdog for Intellij: an IDE Plugin to Analyze Software Testing Practices
    WatchDog For IntelliJ: An IDE Plugin To Analyze Software Testing Practices Master’s Thesis Igor Levaja WatchDog For IntelliJ: An IDE Plugin To Analyze Software Testing Practices THESIS submitted in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE in COMPUTER SCIENCE by Igor Levaja born in Pozarevac, Serbia Software Engineering Research Group Department of Software Technology Faculty EEMCS, Delft University of Technology Delft, the Netherlands www.ewi.tudelft.nl c 2016 Igor Levaja. All rights reserved. WatchDog For IntelliJ: An IDE Plugin To Analyze Software Testing Practices Author: Igor Levaja Student id: 4318110 Email: [email protected] Abstract Software testing is as old as software development itself – they could not exist one without the other. However, are they equally important? Do software develop- ers devote an equivalent amount of time to both produce software and to test it? An ongoing study of the TestRoots project aims to examine and improve the state of the art of software testing and answer those questions, by observing developers’ everyday behavior. In order to support this effort, we evolved WatchDog, a single-platform software, to become the scalable, multi-platform and production-ready tool which assesses de- veloper testing activities in multiple integrated development environments (IDEs). We further used WatchDog platform to perform a small-scale study in which we examined testing habits of developers who use IntelliJ IDEA and compared them to those of the Eclipse IDE users. Finally, we were able to confirm that IntelliJ users, similarly to the Eclipse users, do not actively practice testing inside their IDEs.
    [Show full text]
  • Introduction to Java and Eclipse 1 / 22
    Introduction to Java and Eclipse 1 / 22 Introduction to Java and Eclipse Mustafa Haddara Department of Computing and Software McMaster University Week 1: Sept 12 - 16 Mustafa Haddara Introduction to Java and Eclipse 1 / 22 Introduction to Java and Eclipse 2 / 22 Outline Outline 1 Getting Started Getting Java Integrated Development Environments (IDEs) Setting Up IntelliJ Idea Downloading IntelliJ Idea Installing IntelliJ Idea Setting Up Eclipse Downloading Eclipse Installing Eclipse 2 Hello, World! 3 Examining a Program 4 Further Reading Mustafa Haddara Introduction to Java and Eclipse 2 / 22 Introduction to Java and Eclipse 3 / 22 Getting Started Getting Java Getting Java 1 Visit http://www.oracle.com/technetwork/java/ javase/downloads/index.html 2 Download and install the correct version of Java Platform (JDK) 8 for your system. Any version of Java 8 (ex 8u20, 8u72, 8u102, etc.) is acceptable for this course. Mustafa Haddara Introduction to Java and Eclipse 3 / 22 Introduction to Java and Eclipse 4 / 22 Getting Started Integrated Development Environments (IDEs) What is an IDE? What is an IDE? Mustafa Haddara Introduction to Java and Eclipse 4 / 22 Introduction to Java and Eclipse 5 / 22 Getting Started Integrated Development Environments (IDEs) What is an IDE? IDE = Integrated Development Environment Software application Usually includes: source code editor build automation tools debugger Mustafa Haddara Introduction to Java and Eclipse 5 / 22 Introduction to Java and Eclipse 6 / 22 Getting Started Integrated Development Environments (IDEs) Java IDEs Some popular Java IDEs: 1 Eclipse 2 IntelliJ 3 NetBeans 4 BlueJ Mustafa Haddara Introduction to Java and Eclipse 6 / 22 Introduction to Java and Eclipse 7 / 22 Getting Started Setting Up IntelliJ Idea Downloading IntelliJ Idea 1 Visit https://www.jetbrains.com/idea IntelliJ 16 comes in Community (ie.
    [Show full text]
  • Setup for Programming – Intellij Cosc 330, Computer Systems
    Setup for programming – IntelliJ CoSc 330, Computer Systems Assignment 2 requires you to write a program in Java. To complete the assignment you will need to (1) install aJavacompiler,(2)installaJavaintegrateddevelopmentenvironment(IDE),(3)completetheassignmentby writing the Java code, and (4) turn in the assignment electronically. In addition to these steps, this document provides (5) a troubleshooting guide for IntelliJ projects for this course. 1. Install a Java compiler. We will be using Java 11 from AdoptOpenJDK, which supplies a free Java Development Kit (JDK) with an open-source license. Click on the following link. https://adoptopenjdk.net For the version, select OpenJDK 11 (LTS), which stands for Long Term Support. For the JVM (Java Virtual Machine), select HotSpot. Follow the usual procedure for your platform – Mac, Windows, or Linux – to install the JDK. 2. Install a Java Integrated Development Environment (IDE). We will use an IDE from JetBrains called IntelliJ IDEA. Here is a link to the JetBrains IntelliJ IDEA page. https://www.jetbrains.com/idea/ Click the Downloads button to get to the downloads page for your platform. The page shows two versions of IntelliJ IDEA – Ultimate for enterprise development and Community for free open-source. Select the Community version, download it, and install it on your machine. The app will be named ”IntelliJ IDEA CE”. NOTE: There is a third version of IntelliJ IDEA for education that you might encounter on the JetBrains site. Do not install the edu version. 3. Complete Assignment 2. To write the Java program with IntelliJ: a. Download the file Prob0357.zip from the course web site.
    [Show full text]
  • Why Intellij IDEA? Developer Ergonomics
    Why IntelliJ IDEA? Developer ergonomics After IntelliJ IDEA’s indexed the source code, it offers Every aspect of IntelliJ IDEA is designed with ergonom- the developer blazing fast and intelligent experience ics in mind. IntelliJ IDEA is built on a principle that every Capable & ergonomic by giving relevant suggestions in every context: instant minute a developer spends in the flow is a good minute, and clever code completion, on-the-fly code analysis and things that break developers out of that flow are bad IDE for enterprise, and reliable refactoring tools. Mission-critical tools such and should be avoided. Most of the time the editor (and web & mobile as integrated version control systems and a wide variety the code) is the only thing visible on the screen, and the of supported languages and frameworks are at hand — developer doesn’t need to leave it to do something that Java development no plugin hassle included. isn’t coding-related. IntelliJ IDEA offers dedicated key- board shortcuts for nearly everything. Key features Built-in tools Enterprise frameworks Mobile development Web development • Smart code completion Version control Spring Android JavaScript HTTP Client Jakarta EE React Native TypeScript • Data flow analysis Build tools Micronaut Cordova HTML and CSS Cross-language refactorings • Profiling tools Quarkus Ionic Node.js • Inspections and quick-fixes Decompiler Helidon Angular • Shortcuts for everything Terminal Grails React Database tools Vue.js • First-class support for top frameworks • Rich plugin ecosystem Headquarters System requirements and International Sales Americas Sales: • Windows 8,10, macOS 10.13 or higher, JetBrains s.r.o. East Coast West Coast Linux using GNOME or KDE Na hřebenech II 1718 / 10, 10 Lake Center Dr #203 989 East Hillsdale Blvd.
    [Show full text]
  • How Does Pycharm Match up Against Competing Tools? Pycharm Is an IDE for Python Developed by We Tried to Make It As Comprehensive and Competitors Jetbrains
    How does PyCharm match up against competing tools? PyCharm is an IDE for Python developed by We tried to make it as comprehensive and Competitors JetBrains. PyCharm is built for professional Py- neutral as we possibly can. Although we have thon developers, and comes with many features taken care to ensure the data in this docu- Compatibility to deal with large code bases: code navigation, ment was accurate at the time of writing, the automatic refactoring, and other productivity products mentioned in the document are be- Feature Comparison tools, in a single unified interface. JetBrains has ing actively developed and their functionality extensively researched various tools to come changes on a regular basis. Pricing up with a comparison table below. Community Comparison Platform More Information To learn more about the product, please visit our website at jetbrains.com/pycharm Competitors We will compare PyCharm Professional There are other Python IDEs available: Wing and Eclipse are the biggest by market share. Edition with 2 competitors: IDE, Komodo, Spyder, and more. JetBrains For Eclipse we assume that only the PyDev internal research indicates that the vast ma- plugin is installed, though additional func- • Microsoft Visual Studio 2015 Enterprise jority of Python developers who use an IDE tionality may be available in other plugins. with Python Tools for Visual Studio are using PyCharm. After PyCharm, Sublime As some Eclipse plugins have compatibility Text and Vim are the most commonly used issues with each other, we are unable to ver- • Eclipse with PyDev installed editors, pure text editors to be more pre- ify whether configurations with more plugins cise.
    [Show full text]
  • Using an IDE
    Using an IDE Tools are a big part of being a productive developer on OpenJFX and we aim to provide excellent support for all three major IDEs: NetBeans, IntelliJ IDEA, and Eclipse. Regardless of which development environment you prefer, you should find it easy to get up and running with OpenJFX. We hope you will return the favor by submitting patches and bug reports! This section assumes that you have already succeeded in Building OpenJFX. A gradle build must complete before IDE support will fully work (otherwise your IDE will just be a glorified text editor with lots of red squiggles!). Specific instructions for using each IDE is provided below, followed by a discussion on Developer Workflow, Using Mercurial, and Communication with other members of the team. Further information on how we work can be found under Co de Style Rules. IDE Pre-Requirements Get a build of the latest JDK Get an IDE that supports the latest JDK JDK-8 Only: Delete jfxrt.jar (or move it to a different directory) Using NetBeans (JDK-8) Invoke NetBeans Add the JDK8 Platform Import the NetBeans Projects Rebuild Run Sample Code Run Sample Code with gradle built shared libraries Using IntelliJ IDEA Open the IntelliJ Project Make Run Sample Code Run Sample Code with Gradle Built Shared Libraries Using Eclipse Import the Eclipse Projects Configure Eclipse to use the latest JDK JUnit tests Running a dependent project Run Sample Code (NOTE: old) Using Gradle Run Sample Code with Gradle Built Shared Libraries (Note: old) IDE Pre-Requirements Despite the fact that most of the major IDE's support gradle directly, we have decided to provide pre-generated IDE configuration files in order to make using an IDE smooth and painless.
    [Show full text]
  • Fortify Static Code Analyzer (SCA) Static Application Security Testing
    Data Sheet Security Fortify Static Code Analyzer (SCA) Static Application Security Testing Micro Focus® Fortify Static Code Analyzer (SCA) pinpoints the root cause of security vulnerabilities in the source code, prioritizes the most serious issues, and provides detailed guidance on how to fix them so developers can resolve issues in less time with centralized software security management. Static Testing Helps Build of multiple specialized analyzers, uses secure Integration Ecosystem Includes: coding rules to analyze the code base for viola‑ Better Code ■ Integrated Development Environments (IDE): Static Application Security Testing identifies tions of secure coding practices. Fortify SCA Eclipse, Visual Studio, IntelliJ IDEA also provides a rules builder to extend and ex‑ security vulnerabilities during early stages of Build Servers: Jenkins, Bamboo, Visual Studio, pand static analysis capabilities and be able to ■ development when they are least expensive to Gradle, and more fix. It reduces security risks in applications by include custom rules. Results are viewed in a ■ Issue Trackers: Bugzilla, Jira, ALM Octane providing immediate feedback to developers number of ways depending on the audience on issues introduced into code during devel‑ and task. ■ Open Source Security Management: opment. Static Application Security Testing Sonatype, Snyk, WhiteSource, BlackDuck also helps educate developers about security Managing Results with Fortify ■ Code Repositories: GitHub, Bitbucket while they work, enabling them to create more Software Security Center (SSC) ■ Swaggerized API for unlimited customization secure software. Fortify Software Security Center (SSC) is a centralized management repository providing Fortify Static Code Analyzer (SCA) uses mul‑ visibility to an organization’s entire application tiple algorithms and an expansive knowledge security program to help resolve security vul‑ base of secure coding rules to analyze an ap‑ nerabilities across the software portfolio.
    [Show full text]