Book Image

NetBeans IDE 8 Cookbook

By : David Salter, Rhawi Dantas
Book Image

NetBeans IDE 8 Cookbook

By: David Salter, Rhawi Dantas

Overview of this book

<p>From the start to the end of a Java project's lifecycle, this book will show you how to perform many key tasks with the NetBeans IDE, uncovering more about mobile, desktop, and enterprise Java along the way.</p> <p>You will start by creating Java projects and learning how to refactor and use NetBeans tools to increase developer efficiency. You will then get a walkthrough of how to create a desktop application before covering JavaFX and mobile applications and how to use external services within them. Having seen how to create many different types of applications, you will then be shown how to test and profile them before storing them in revision control systems such as Git or Subversion. Finally, you will learn how to extend NetBeans itself by adding new features to the IDE.</p>
Table of Contents (19 chapters)
NetBeans IDE 8 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Using the Chrome Connector


The Chrome Connector allows an additional level of integration between NetBeans and the Google Chrome browser.

Two way DOM querying is provided such that if a DOM element is clicked within the browser, it is shown within NetBeans and in the same way if the user clicks on a DOM element in NetBeans, that element is selected within the browser.

The Chrome Connector can change the size of the browser window to help developers when writing applications for multiple platforms. For example, the browser can be set to the size of a tablet or a smartphone so that the layout of a web application can be examined for different devices.

For HTML 5 projects, the Chrome Connector allows changes to be automatically updated within the browser so whenever changes are made and saved within NetBeans, they are automatically updated in the browser. Unfortunately, this functionality is not present for JSF pages.

Getting ready

To complete this recipe, we need to have a valid installation of...