{"id":38636,"date":"2016-06-27T11:00:11","date_gmt":"2016-06-27T08:00:11","guid":{"rendered":"http:\/\/examples.javacodegeeks.com\/?p=38636"},"modified":"2019-04-09T13:00:57","modified_gmt":"2019-04-09T10:00:57","slug":"netbeans-vaadin-example","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/","title":{"rendered":"Netbeans Vaadin Example"},"content":{"rendered":"<p>Netbeans is a well known open source Java IDE, that supports development of all Java application types out of the box. It has an Ant-based project system and supports, Maven, refactoring, version control and has a lot of useful features to help you in your Java development.<\/p>\n<h2>1. The tools<\/h2>\n<ul>\n<li>Java JDK 8<\/li>\n<li>Latest Netbeans<\/li>\n<li>Vaadin 7.6.6<\/li>\n<li>Tomcat Server 8<\/li>\n<\/ul>\n<h2>2. Introduction<\/h2>\n<p>You can create Vaadin projects in Netbeans using the plugin. In this example we are going to see how to download and install Netbeans, install the plugin, create a Vaadin project and run it on Tomcat.\n<\/p>\n<h2>3. Prerequisites<\/h2>\n<ul>\n<li>JDK installed<\/li>\n<\/ul>\n<h2>3. Download NetBeans<\/h2>\n<p>Open your browser and go to the page <a href=\"https:\/\/netbeans.org\/downloads\/\" target=\"_blank\" rel=\"noopener noreferrer\">Download Netbeans<\/a> and download the NetBeans Ide for JavaEE.<\/p>\n<p><figure id=\"attachment_38638\" aria-describedby=\"caption-attachment-38638\" style=\"width: 893px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/01-Download-Netbeans.png\"><img decoding=\"async\" class=\"size-full wp-image-38638\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/01-Download-Netbeans.png\" alt=\"1 Download Netbeans\" width=\"893\" height=\"424\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/01-Download-Netbeans.png 893w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/01-Download-Netbeans-300x142.png 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/01-Download-Netbeans-768x365.png 768w\" sizes=\"(max-width: 893px) 100vw, 893px\" \/><\/a><figcaption id=\"caption-attachment-38638\" class=\"wp-caption-text\">1 Download Netbeans<\/figcaption><\/figure><\/p>\n<h2>4. Install NetBeans<\/h2>\n<p>When the download is finished, double click on the file.&nbsp;Select the application servers to be installed and hit next.<\/p>\n<p><figure id=\"attachment_38641\" aria-describedby=\"caption-attachment-38641\" style=\"width: 601px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/2-Select-servers.png\"><img decoding=\"async\" class=\"size-full wp-image-38641\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/2-Select-servers.png\" alt=\"2 Select servers\" width=\"601\" height=\"499\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/2-Select-servers.png 601w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/2-Select-servers-300x249.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/a><figcaption id=\"caption-attachment-38641\" class=\"wp-caption-text\">2 Select servers<\/figcaption><\/figure><\/p>\n<p>Accept the terms in the license.<\/p>\n<p><figure id=\"attachment_38642\" aria-describedby=\"caption-attachment-38642\" style=\"width: 596px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/3-Accept-license.png\"><img decoding=\"async\" class=\"size-full wp-image-38642\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/3-Accept-license.png\" alt=\"3 Accept license\" width=\"596\" height=\"497\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/3-Accept-license.png 596w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/3-Accept-license-300x250.png 300w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/a><figcaption id=\"caption-attachment-38642\" class=\"wp-caption-text\">3 Accept license<\/figcaption><\/figure><\/p>\n<p>Choose the destination directory and the JDK. Then press next.<\/p>\n<p><figure id=\"attachment_38643\" aria-describedby=\"caption-attachment-38643\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/4-Destination-directory.png\"><img decoding=\"async\" class=\"size-full wp-image-38643\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/4-Destination-directory.png\" alt=\"4 Destination directory\" width=\"600\" height=\"501\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/4-Destination-directory.png 600w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/4-Destination-directory-300x251.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-38643\" class=\"wp-caption-text\">4 Destination directory<\/figcaption><\/figure><\/p>\n<p>Choose the directory for the GlassFish application server and press next.<\/p>\n<p><figure id=\"attachment_38644\" aria-describedby=\"caption-attachment-38644\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/5-GlassFish-Directory.png\"><img decoding=\"async\" class=\"size-full wp-image-38644\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/5-GlassFish-Directory.png\" alt=\"5 GlassFish Directory\" width=\"600\" height=\"502\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/5-GlassFish-Directory.png 600w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/5-GlassFish-Directory-300x251.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-38644\" class=\"wp-caption-text\">5 GlassFish Directory<\/figcaption><\/figure><\/p>\n<p>Choose the directory for the Tomcat server and then press next.<\/p>\n<p><figure id=\"attachment_38645\" aria-describedby=\"caption-attachment-38645\" style=\"width: 598px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/6-Tomcat-Directory.png\"><img decoding=\"async\" class=\"size-full wp-image-38645\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/6-Tomcat-Directory.png\" alt=\"6 Tomcat Directory\" width=\"598\" height=\"498\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/6-Tomcat-Directory.png 598w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/6-Tomcat-Directory-300x250.png 300w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/><\/a><figcaption id=\"caption-attachment-38645\" class=\"wp-caption-text\">6 Tomcat Directory<\/figcaption><\/figure><\/p>\n<p>Review the settings and press install.<\/p>\n<p><figure id=\"attachment_38666\" aria-describedby=\"caption-attachment-38666\" style=\"width: 598px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/7-Review-the-settings-1.png\"><img decoding=\"async\" class=\"size-full wp-image-38666\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/7-Review-the-settings-1.png\" alt=\"7 Review the settings\" width=\"598\" height=\"499\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/7-Review-the-settings-1.png 598w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/7-Review-the-settings-1-300x250.png 300w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/><\/a><figcaption id=\"caption-attachment-38666\" class=\"wp-caption-text\">7 Review the settings<\/figcaption><\/figure><\/p>\n<h2>5. Install The Vaadin plugin<\/h2>\n<p>Start up NetBeans and from the menu Tools choose Plugins:<\/p>\n<p><figure id=\"attachment_38647\" aria-describedby=\"caption-attachment-38647\" style=\"width: 388px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/8-Install-Vaadin-plugin.png\"><img decoding=\"async\" class=\"size-full wp-image-38647\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/8-Install-Vaadin-plugin.png\" alt=\"8 Install Vaadin plugin\" width=\"388\" height=\"375\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/8-Install-Vaadin-plugin.png 388w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/8-Install-Vaadin-plugin-300x290.png 300w\" sizes=\"(max-width: 388px) 100vw, 388px\" \/><\/a><figcaption id=\"caption-attachment-38647\" class=\"wp-caption-text\">8 Install Vaadin plugin<\/figcaption><\/figure><\/p>\n<p>Select the available plugins tab. From the list choose Vaadin Plug-in for NetBeans and then press install.<\/p>\n<p><figure id=\"attachment_38648\" aria-describedby=\"caption-attachment-38648\" style=\"width: 901px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/9-Plugins-Menu.png\"><img decoding=\"async\" class=\"size-full wp-image-38648\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/9-Plugins-Menu.png\" alt=\"9 Plugins Menu\" width=\"901\" height=\"558\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/9-Plugins-Menu.png 901w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/9-Plugins-Menu-300x186.png 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/9-Plugins-Menu-768x476.png 768w\" sizes=\"(max-width: 901px) 100vw, 901px\" \/><\/a><figcaption id=\"caption-attachment-38648\" class=\"wp-caption-text\">9 Plugins Menu<\/figcaption><\/figure><\/p>\n<p>Review the plugins to install and then press next.<\/p>\n<p><figure id=\"attachment_38649\" aria-describedby=\"caption-attachment-38649\" style=\"width: 548px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/10-Review-the-plugins.png\"><img decoding=\"async\" class=\"size-full wp-image-38649\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/10-Review-the-plugins.png\" alt=\"10 Review the plugins\" width=\"548\" height=\"485\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/10-Review-the-plugins.png 548w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/10-Review-the-plugins-300x266.png 300w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><\/a><figcaption id=\"caption-attachment-38649\" class=\"wp-caption-text\">10 Review the plugins<\/figcaption><\/figure><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>Accept the terms of the license and press install.<\/p>\n<p><figure id=\"attachment_38650\" aria-describedby=\"caption-attachment-38650\" style=\"width: 547px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/11-Plugin-license.png\"><img decoding=\"async\" class=\"size-full wp-image-38650\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/11-Plugin-license.png\" alt=\"11 Plugin license\" width=\"547\" height=\"488\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/11-Plugin-license.png 547w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/11-Plugin-license-300x268.png 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/a><figcaption id=\"caption-attachment-38650\" class=\"wp-caption-text\">11 Plugin license<\/figcaption><\/figure><\/p>\n<p>Once the plugin is installed choose restart IDE now and press finish. In order to use the plugin we need to restart the IDE.<\/p>\n<p><figure id=\"attachment_38651\" aria-describedby=\"caption-attachment-38651\" style=\"width: 547px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/12-Restart-Netbeans.png\"><img decoding=\"async\" class=\"size-full wp-image-38651\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/12-Restart-Netbeans.png\" alt=\"12 Restart Netbeans\" width=\"547\" height=\"486\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/12-Restart-Netbeans.png 547w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/12-Restart-Netbeans-300x267.png 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/a><figcaption id=\"caption-attachment-38651\" class=\"wp-caption-text\">12 Restart Netbeans<\/figcaption><\/figure><\/p>\n<h2>6. Check for updates<\/h2>\n<p>From the help menu choose &#8220;Check for Updates&#8221;<\/p>\n<p><figure id=\"attachment_38657\" aria-describedby=\"caption-attachment-38657\" style=\"width: 368px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/13-Check-updates.png\"><img decoding=\"async\" class=\"size-full wp-image-38657\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/13-Check-updates.png\" alt=\"13 Check updates\" width=\"368\" height=\"291\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/13-Check-updates.png 368w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/13-Check-updates-300x237.png 300w\" sizes=\"(max-width: 368px) 100vw, 368px\" \/><\/a><figcaption id=\"caption-attachment-38657\" class=\"wp-caption-text\">13 Check updates<\/figcaption><\/figure><\/p>\n<p>When the proccess is done press finish.<\/p>\n<p><figure id=\"attachment_38658\" aria-describedby=\"caption-attachment-38658\" style=\"width: 546px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/14-No-updates-available.png\"><img decoding=\"async\" class=\"size-full wp-image-38658\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/14-No-updates-available.png\" alt=\"14 No updates available\" width=\"546\" height=\"487\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/14-No-updates-available.png 546w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/14-No-updates-available-300x268.png 300w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/><\/a><figcaption id=\"caption-attachment-38658\" class=\"wp-caption-text\">14 No updates available<\/figcaption><\/figure><\/p>\n<h2>7. Create the Vaadin project<\/h2>\n<p>In the file menu choose New project.<\/p>\n<p><figure id=\"attachment_38654\" aria-describedby=\"caption-attachment-38654\" style=\"width: 369px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/13-New-Project.png\"><img decoding=\"async\" class=\"size-full wp-image-38654\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/13-New-Project.png\" alt=\"15 New Project\" width=\"369\" height=\"272\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/13-New-Project.png 369w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/13-New-Project-300x221.png 300w\" sizes=\"(max-width: 369px) 100vw, 369px\" \/><\/a><figcaption id=\"caption-attachment-38654\" class=\"wp-caption-text\">15 New Project<\/figcaption><\/figure><\/p>\n<p>From the categories choose Vaadin and in projects choose &#8220;Vaadin Web Application project&#8221; and press the next button.<\/p>\n<p><figure id=\"attachment_38655\" aria-describedby=\"caption-attachment-38655\" style=\"width: 738px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/14-Vaadin-Project.png\"><img decoding=\"async\" class=\"size-full wp-image-38655\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/14-Vaadin-Project.png\" alt=\"16 Vaadin Project\" width=\"738\" height=\"506\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/14-Vaadin-Project.png 738w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/14-Vaadin-Project-300x206.png 300w\" sizes=\"(max-width: 738px) 100vw, 738px\" \/><\/a><figcaption id=\"caption-attachment-38655\" class=\"wp-caption-text\">16 Vaadin Project<\/figcaption><\/figure><\/p>\n<p>Write the name of the project and press finish.<\/p>\n<p><figure id=\"attachment_38656\" aria-describedby=\"caption-attachment-38656\" style=\"width: 738px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/15-Name-the-project.png\"><img decoding=\"async\" class=\"size-full wp-image-38656\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/15-Name-the-project.png\" alt=\"17 Name the project\" width=\"738\" height=\"506\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/15-Name-the-project.png 738w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/15-Name-the-project-300x206.png 300w\" sizes=\"(max-width: 738px) 100vw, 738px\" \/><\/a><figcaption id=\"caption-attachment-38656\" class=\"wp-caption-text\">17 Name the project<\/figcaption><\/figure><\/p>\n<p>Now NetBeans is going to use maven to download all needed dependencies.<\/p>\n<h2>8. Review the created project<\/h2>\n<p>When NetBeans finish the project creation task, you should get a project structure like the following image:<\/p>\n<p><figure id=\"attachment_38660\" aria-describedby=\"caption-attachment-38660\" style=\"width: 405px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/18-Project-structure.png\"><img decoding=\"async\" class=\"size-full wp-image-38660\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/18-Project-structure.png\" alt=\"18 Project structure\" width=\"405\" height=\"447\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/18-Project-structure.png 405w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/18-Project-structure-272x300.png 272w\" sizes=\"(max-width: 405px) 100vw, 405px\" \/><\/a><figcaption id=\"caption-attachment-38660\" class=\"wp-caption-text\">18 Project structure<\/figcaption><\/figure><\/p>\n<p>Open the file MyUI.java.<\/p>\n<p><figure id=\"attachment_38661\" aria-describedby=\"caption-attachment-38661\" style=\"width: 404px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/19-MyUI-java-file.png\"><img decoding=\"async\" class=\"size-full wp-image-38661\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/19-MyUI-java-file.png\" alt=\"19 MyUI java file\" width=\"404\" height=\"438\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/19-MyUI-java-file.png 404w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/19-MyUI-java-file-277x300.png 277w\" sizes=\"(max-width: 404px) 100vw, 404px\" \/><\/a><figcaption id=\"caption-attachment-38661\" class=\"wp-caption-text\">19 MyUI java file<\/figcaption><\/figure><\/p>\n<p>And you can see the code generated by NetBeans.&nbsp;Lets examine the <code>init<\/code> method<\/p>\n<p><span style=\"text-decoration: underline;\"><em>MyUI.java<\/em><\/span><\/p>\n<pre class=\"brush:java\">public class MyUI extends UI {\n\n    @Override\n    protected void init(VaadinRequest vaadinRequest) {\n        final VerticalLayout layout = new VerticalLayout();\n        \n        final TextField name = new TextField();\n        name.setCaption(\"Type your name here:\");\n\n        Button button = new Button(\"Click Me\");\n        button.addClickListener( e -&gt; {\n            layout.addComponent(new Label(\"Thanks \" + name.getValue() + \", it works!\"));\n        });\n        \n        layout.addComponents(name, button);\n        layout.setMargin(true);\n        layout.setSpacing(true);\n        \n        setContent(layout);\n    }\n}\n<\/pre>\n<p><code>final VerticalLayout layout = new VerticalLayout();<\/code> Creates a vertical layout.<br \/>\n<code>final TextField name = new TextField();<\/code> Creates a text field.<br \/>\n<code>name.setCaption(\"Type your name here:\");<\/code> sets the caption of the text field.<br \/>\n<code>Button button = new Button(\"Click Me\");<\/code> creates a button.<br \/>\n<code>button.addClickListener<\/code> adds a click listener.<br \/>\n<code>layout.addComponent(new Label(\"Thanks \" + name.getValue() + \", it works!\"));<\/code> the click listener adds a label every time the button is clicked<br \/>\n<code>layout.addComponents(name, button);<\/code> adds the text field and the button to the layout.<br \/>\n<code>layout.setMargin(true);<\/code> sets the margin of the layout.<br \/>\n<code>layout.setSpacing(true);<\/code> sets the spacing of the layout.<br \/>\n<code>setContent(layout);<\/code> sets the vertical layout as a main layout.[ulp id=&#8217;YBvYYzEYBUrADqmI&#8217;]<\/p>\n<h2>9. Run the application<\/h2>\n<p>Right click on the project and choose run<\/p>\n<p><figure id=\"attachment_38662\" aria-describedby=\"caption-attachment-38662\" style=\"width: 327px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/20-Run-project.png\"><img decoding=\"async\" class=\"size-full wp-image-38662\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/20-Run-project.png\" alt=\"20 Run project\" width=\"327\" height=\"289\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/20-Run-project.png 327w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/20-Run-project-300x265.png 300w\" sizes=\"(max-width: 327px) 100vw, 327px\" \/><\/a><figcaption id=\"caption-attachment-38662\" class=\"wp-caption-text\">20 Run project<\/figcaption><\/figure><\/p>\n<p>Choose the server and press OK.<\/p>\n<p><figure id=\"attachment_38663\" aria-describedby=\"caption-attachment-38663\" style=\"width: 519px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/21-Choose-server.png\"><img decoding=\"async\" class=\"size-full wp-image-38663\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/21-Choose-server.png\" alt=\"21 Choose server\" width=\"519\" height=\"333\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/21-Choose-server.png 519w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/21-Choose-server-300x192.png 300w\" sizes=\"(max-width: 519px) 100vw, 519px\" \/><\/a><figcaption id=\"caption-attachment-38663\" class=\"wp-caption-text\">21 Choose server<\/figcaption><\/figure><\/p>\n<p>The first time you run the project, NetBeans will compile the widgetset and you get an output log like the following.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>NetBeans compile widgetset<\/em><\/span><\/p>\n<pre class=\"brush:bash; wrap-lines:false\">   Adding '1' new generated units\n      [WARN] Warnings in 'C:\\devel\\Java\\JEE\\VaadinNetbeans\\target\\.generated\\com\\vaadin\\client\\metadata\\ConnectorBundleLoaderImpl.java'\n         [WARN] Line 4342: Referencing deprecated class 'com.vaadin.shared.ui.progressindicator.ProgressIndicatorState'\n         [WARN] Line 4345: Referencing deprecated class 'com.vaadin.shared.ui.progressindicator.ProgressIndicatorState'\n         [WARN] Line 4348: Referencing deprecated class 'com.vaadin.shared.ui.progressindicator.ProgressIndicatorState'\n   Computing all possible rebind results for 'com.vaadin.client.ui.dd.VAcceptCriterionFactory'\n      Rebinding com.vaadin.client.ui.dd.VAcceptCriterionFactory\n         Invoking generator com.vaadin.server.widgetsetutils.AcceptCriteriaFactoryGenerator\n            Detecting available criteria ...\n            creating mapping for com.vaadin.event.dd.acceptcriteria.AcceptAll\n            creating mapping for com.vaadin.event.dd.acceptcriteria.And\n            creating mapping for com.vaadin.event.dd.acceptcriteria.ContainsDataFlavor\n            creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIs\n            creating mapping for com.vaadin.ui.AbstractSelect.TargetItemIs\n            creating mapping for com.vaadin.ui.AbstractSelect.AcceptItem\n            creating mapping for com.vaadin.ui.Table.TableDropCriterion\n            creating mapping for com.vaadin.ui.Tree.TreeDropCriterion\n            creating mapping for com.vaadin.event.dd.acceptcriteria.Not\n            creating mapping for com.vaadin.event.dd.acceptcriteria.Or\n            creating mapping for com.vaadin.event.dd.acceptcriteria.ServerSideCriterion\n            creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIsTarget\n            creating mapping for com.vaadin.event.dd.acceptcriteria.TargetDetailIs\n            creating mapping for com.vaadin.ui.Tree.TargetInSubtree\n            Done. (0seconds)\n   Compiling 1 permutation\n      Compiling permutation 0...\n   Compile of permutations succeeded\n   Compilation succeeded -- 158,081s\nLinking into C:\\devel\\Java\\JEE\\VaadinNetbeans\\target\\classes\\VAADIN\\widgetsets\\com.mycompany.vaadinnetbeans.MyAppWidgetset\n   Link succeeded\n   Linking succeeded -- 0,889s\n<\/pre>\n<p>If your application compiles whitout errors you get the log.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>Tomcat log<\/em><\/span><\/p>\n<pre class=\"brush:bash\">=================================================================\nVaadin is running in DEBUG MODE.\nAdd productionMode=true to web.xml to disable debug features.\nTo show debug window, add ?debug to your application URL.\n=================================================================\n<\/pre>\n<h2>10. The results<\/h2>\n<p><figure id=\"attachment_38664\" aria-describedby=\"caption-attachment-38664\" style=\"width: 329px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/22-Results.png\"><img decoding=\"async\" class=\"size-full wp-image-38664\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/22-Results.png\" alt=\"22 Results\" width=\"329\" height=\"253\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/22-Results.png 329w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/22-Results-300x231.png 300w\" sizes=\"(max-width: 329px) 100vw, 329px\" \/><\/a><figcaption id=\"caption-attachment-38664\" class=\"wp-caption-text\">22 Results<\/figcaption><\/figure><\/p>\n<p>We get the text field with the caption, the button and it works as expected.<\/p>\n<h2>11. Complete source code<\/h2>\n<p><span style=\"text-decoration: underline;\"><em>MyUI.java<\/em><\/span><\/p>\n<pre class=\"brush:java\">package com.mycompany.vaadinnetbeans;\n\nimport javax.servlet.annotation.WebServlet;\n\nimport com.vaadin.annotations.Theme;\nimport com.vaadin.annotations.VaadinServletConfiguration;\nimport com.vaadin.annotations.Widgetset;\nimport com.vaadin.server.VaadinRequest;\nimport com.vaadin.server.VaadinServlet;\nimport com.vaadin.ui.Button;\nimport com.vaadin.ui.Label;\nimport com.vaadin.ui.TextField;\nimport com.vaadin.ui.UI;\nimport com.vaadin.ui.VerticalLayout;\n\n\/**\n * This UI is the application entry point. A UI may either represent a browser window \n * (or tab) or some part of a html page where a Vaadin application is embedded.\n *<\/pre>\n<p>* The UI is initialized using {@link #init(VaadinRequest)}. This method is intended to be * overridden to add component to the user interface and initialize non-component functionality. *\/ @Theme(&#8220;mytheme&#8221;) @Widgetset(&#8220;com.mycompany.vaadinnetbeans.MyAppWidgetset&#8221;) public class MyUI extends UI { @Override protected void init(VaadinRequest vaadinRequest) { final VerticalLayout layout = new VerticalLayout(); final TextField name = new TextField(); name.setCaption(&#8220;Type your name here:&#8221;); Button button = new Button(&#8220;Click Me&#8221;); button.addClickListener( e -&gt; { layout.addComponent(new Label(&#8220;Thanks &#8221; + name.getValue() + &#8220;, it works!&#8221;)); }); layout.addComponents(name, button); layout.setMargin(true); layout.setSpacing(true); setContent(layout); } @WebServlet(urlPatterns = &#8220;\/*&#8221;, name = &#8220;MyUIServlet&#8221;, asyncSupported = true) @VaadinServletConfiguration(ui = MyUI.class, productionMode = false) public static class MyUIServlet extends VaadinServlet { } }<\/p>\n<h2>12. Download the Source Code<\/h2>\n<p>This was an example of: Using Vaadin in the NetBeans IDE.<\/p>\n<div class=\"download\"><strong>Download<\/strong><br \/>\nYou can download the NetBeans project here:&nbsp;<strong><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/06\/VaadinNetbeans.zip\">VaadinNetbeans<\/a><br \/>\n<\/strong><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Netbeans is a well known open source Java IDE, that supports development of all Java application types out of the box. It has an Ant-based project system and supports, Maven, refactoring, version control and has a lot of useful features to help you in your Java development. 1. The tools Java JDK 8 Latest Netbeans &hellip;<\/p>\n","protected":false},"author":77,"featured_media":33079,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1358],"tags":[563],"class_list":["post-38636","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vaadin","tag-netbeans"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netbeans Vaadin Example - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Netbeans is a well known open source Java IDE, that supports development of all Java application types out of the box. It has an Ant-based project system\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netbeans Vaadin Example - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Netbeans is a well known open source Java IDE, that supports development of all Java application types out of the box. It has an Ant-based project system\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-27T08:00:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-09T10:00:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jesus Boadas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@jboadas\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jesus Boadas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/\"},\"author\":{\"name\":\"Jesus Boadas\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/506f9c2b38156c7f94bba77757206dd7\"},\"headline\":\"Netbeans Vaadin Example\",\"datePublished\":\"2016-06-27T08:00:11+00:00\",\"dateModified\":\"2019-04-09T10:00:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/\"},\"wordCount\":848,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg\",\"keywords\":[\"Netbeans\"],\"articleSection\":[\"Vaadin\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/\",\"name\":\"Netbeans Vaadin Example - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg\",\"datePublished\":\"2016-06-27T08:00:11+00:00\",\"dateModified\":\"2019-04-09T10:00:57+00:00\",\"description\":\"Netbeans is a well known open source Java IDE, that supports development of all Java application types out of the box. It has an Ant-based project system\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java Development\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/enterprise-java\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Vaadin\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/enterprise-java\/vaadin\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Netbeans Vaadin Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/506f9c2b38156c7f94bba77757206dd7\",\"name\":\"Jesus Boadas\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/10\/Jesus-Boadas_avatar_1476120926-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/10\/Jesus-Boadas_avatar_1476120926-96x96.jpg\",\"caption\":\"Jesus Boadas\"},\"description\":\"I'm a self taught programmer, I began programming back in 1991 using an IBM A10 mainframe with Pascal an Assembler IBM 360\/70 emulator and Turbo C on a X86 PC, since that I work for the banking industry with emerging technologies like Fox Pro, Visual Fox Pro, Visual Basic, Visual C++, Borland C++, lately I moved out to the Airline industry, leading designing and programming in-house web applications with Flex, Actionscript, PHP, Python and Rails and in the last 7 years I focused all my work in Java, working on Linux servers using GlassFish, TomCat, Apache and MySql.\",\"sameAs\":[\"http:\/\/www.javacodegeeks.com\/\",\"https:\/\/ve.linkedin.com\/in\/jesus-boadas\",\"https:\/\/x.com\/jboadas\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/jesus-boadas\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netbeans Vaadin Example - Java Code Geeks","description":"Netbeans is a well known open source Java IDE, that supports development of all Java application types out of the box. It has an Ant-based project system","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/","og_locale":"en_US","og_type":"article","og_title":"Netbeans Vaadin Example - Java Code Geeks","og_description":"Netbeans is a well known open source Java IDE, that supports development of all Java application types out of the box. It has an Ant-based project system","og_url":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2016-06-27T08:00:11+00:00","article_modified_time":"2019-04-09T10:00:57+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg","type":"image\/jpeg"}],"author":"Jesus Boadas","twitter_card":"summary_large_image","twitter_creator":"@jboadas","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Jesus Boadas","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/"},"author":{"name":"Jesus Boadas","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/506f9c2b38156c7f94bba77757206dd7"},"headline":"Netbeans Vaadin Example","datePublished":"2016-06-27T08:00:11+00:00","dateModified":"2019-04-09T10:00:57+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/"},"wordCount":848,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg","keywords":["Netbeans"],"articleSection":["Vaadin"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/","url":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/","name":"Netbeans Vaadin Example - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg","datePublished":"2016-06-27T08:00:11+00:00","dateModified":"2019-04-09T10:00:57+00:00","description":"Netbeans is a well known open source Java IDE, that supports development of all Java application types out of the box. It has an Ant-based project system","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/vaadin-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/enterprise-java\/vaadin\/netbeans-vaadin-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java Development","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/enterprise-java\/"},{"@type":"ListItem","position":4,"name":"Vaadin","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/enterprise-java\/vaadin\/"},{"@type":"ListItem","position":5,"name":"Netbeans Vaadin Example"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/506f9c2b38156c7f94bba77757206dd7","name":"Jesus Boadas","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/10\/Jesus-Boadas_avatar_1476120926-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/10\/Jesus-Boadas_avatar_1476120926-96x96.jpg","caption":"Jesus Boadas"},"description":"I'm a self taught programmer, I began programming back in 1991 using an IBM A10 mainframe with Pascal an Assembler IBM 360\/70 emulator and Turbo C on a X86 PC, since that I work for the banking industry with emerging technologies like Fox Pro, Visual Fox Pro, Visual Basic, Visual C++, Borland C++, lately I moved out to the Airline industry, leading designing and programming in-house web applications with Flex, Actionscript, PHP, Python and Rails and in the last 7 years I focused all my work in Java, working on Linux servers using GlassFish, TomCat, Apache and MySql.","sameAs":["http:\/\/www.javacodegeeks.com\/","https:\/\/ve.linkedin.com\/in\/jesus-boadas","https:\/\/x.com\/jboadas"],"url":"https:\/\/examples.javacodegeeks.com\/author\/jesus-boadas\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/38636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=38636"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/38636\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/33079"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=38636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=38636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=38636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}