Cover image for NetBeans IDE 7 Cookbook.
NetBeans IDE 7 Cookbook.
Title:
NetBeans IDE 7 Cookbook.
Author:
Dantas, Rhawi.
ISBN:
9781849512510
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (300 pages)
Contents:
NetBeans IDE 7 Cookbook -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. NetBeans Head First -- Introduction -- Creating a Java Project Using Wizard -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating libraries -- Getting ready -- How to do it... -- How it works... -- There's more... -- Sharing libraries -- Getting ready -- How to do it... -- How it works... -- There's more... -- File Structure or Project Structure? -- What is the advantage of a separate ANT build file? -- Importing Projects from Eclipse -- Getting ready -- How to do it... -- How it works... -- There's more... -- Synchronizing Eclipse -- More error dialogs -- Importing existing Maven Projects -- Getting ready -- How to do it... -- How it works... -- 2. Basic IDE Usage -- Introduction -- Creating a Java Project using Maven support -- Getting ready -- How to do it... -- How it works... -- There's more... -- Speeding Maven development -- Editing POM -- See also -- Creating a package -- How to do it... -- How it works... -- There's more... -- The Files tab -- Automatic creation of packages -- Creating a class -- Getting ready -- How to do it... -- How it works... -- There's more... -- Other file types -- Running the main class -- How to do it... -- How it works... -- There's more... -- Run class shortcut -- Run project shortcut -- Debugging a class -- Getting ready -- How to do it... -- How it works... -- There's more... -- Conditional breakpoints -- Other ways to check variable content.

Different kinds of debuggable applications -- Creating constructors -- Getting ready -- How to do it... -- How it works... -- There's more... -- Default constructor creation -- Generating toString(), equals(), and hashCode() -- Getting ready -- How to do it... -- How it works... -- There's more... -- hashCode() and equals() rules -- Generating getters and setters -- Getting ready -- How to do it... -- There's more... -- Addition of newer get/set methods -- 3. Designing Desktop GUI Applications -- Introduction -- Creating a Java Desktop Application -- How to do it... -- How it works... -- There's more... -- Check the source for the Mars Rover Viewer -- Preview Design -- See also -- Creating a Frame -- Getting ready -- How to do it... -- How it works... -- There's more... -- Changing the look and feel of your application -- Checking the generated code -- Where to find the default closing behavior -- Creating a Panel -- Getting ready -- How to do it... -- How it works... -- There's more... -- Reusing JPanels -- Editing text label of components -- Adding Event Listeners -- Getting ready -- How to do it... -- How it works... -- There's more... -- Components Properties Window -- Connecting your Application to a Database -- Getting ready -- How to do it... -- How it works... -- There's more... -- Registering a new database -- Checking the contents of Customer.java -- Using the Inspector to check for Binding -- Creating a customized icon for your application -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding a Splash screen -- Application Properties and About box -- Making executable Java Desktop Applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- Executing the JAR file -- Contents of the JAR file -- 4. JDBC and NetBeans -- Introduction -- Setting up with MySQL -- Getting ready.

How to do it... -- How it works... -- There's more... -- Creating Databases -- Running the Administration Tool -- Setting up with PostgreSQL -- Getting ready -- How to do it... -- How it works... -- There's more... -- Connecting and disconnecting -- Setting up with Apache Derby/Java DB -- Getting ready -- How to do it... -- How it works... -- There's more... -- Viewing data -- Setting up with Oracle -- Getting ready -- How to do it... -- How it works... -- Built-in SQL editor -- Getting ready -- How to do it... -- How it works... -- There's more... -- Select connection on editor -- Insert record button -- 5. Building Web Applications -- Introduction -- Creating a web project using the wizard -- Getting ready -- How to do it... -- How it works... -- There's more... -- HTTP Server Monitor -- Introduction to Java EE 6 using NetBeans -- Getting ready -- How to do it... -- How it works... -- There's more... -- Writing JUnit tests to your EJB -- Deployment descriptor is optional when creating servlets -- Deploy on Save -- Adding JSF as a web framework -- Getting ready -- How to do it... -- How it works... -- There's more... -- Running index.xhtml -- Using JSF as a web framework -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating your own template -- Using Apache Struts as a web framework -- How to do it... -- How it works... -- Using GWT as a web framework -- Getting ready -- How to do it... -- How it works... -- 6. Using JavaFX -- Introduction -- Creating a JavaFX Project -- Getting ready -- How to do it... -- How it works... -- There's more... -- Available samples -- Build UI with NetBeans JavaFX Composer -- Getting ready -- How to do it... -- How it works... -- There's more... -- Changing the name of the application -- Changing the font of the labels -- Connecting JavaFX Application to Web Service -- Getting ready.

How to do it... -- How it works... -- Connecting JavaFX Application to Database -- Getting ready -- How to do it... -- How it works... -- Application States in JavaFX -- Getting ready -- How to do it... -- How it works... -- 7. EJB Application -- Introduction -- Creating EJB project -- Getting ready -- How to do it... -- How it works... -- Adding JPA support -- Getting ready -- How to do it... -- How it works... -- Creating Stateless Session Bean -- Getting ready -- How to do it... -- How it works... -- Creating Stateful Session Beans -- Getting ready -- How to do it... -- How it works... -- There's more... -- GlassFish and sessions -- Sharing a service through Web Service -- How to do it... -- How it works... -- There's more... -- Testing the web service -- Creating a web service client -- Getting ready -- How to do it... -- How it works... -- There's more... -- Other services -- 8. Mobile Development -- Introduction -- Creating CLDC/MIDP applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- Deploying applications on different device models -- Adding more Platforms -- Creating CDC applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- Running the project -- Using the Visual Mobile Designer -- Getting ready -- How to do it... -- How it works... -- There's more... -- Organizing the Layout -- Beautifying your mobile application -- Getting ready -- How to do it... -- How it works... -- 9. Java Refactoring -- Introduction -- Renaming elements -- How to do it... -- How it works... -- Moving elements -- Getting ready -- How to do it... -- How it works... -- Extracting a superclass -- Getting ready -- How to do it... -- How it works... -- There's more... -- Implementing parent class methods -- Extracting an interface -- Getting ready -- How to do it... -- How it works...

There's more... -- Creating interfaces for classes that already implement interfaces -- Undoing interface exctraction -- Refactoring options -- Encapsulating fields -- Getting ready -- How to do it... -- How it works... -- There's more... -- Understanding encapsulate fields options -- 10. Extending the IDE -- Introduction -- Creating a new project Wizard -- Getting ready -- How to do it... -- How it works... -- There's more... -- Different wizard behavior -- Adding an icon -- Creating a new file wizard -- Getting ready -- How to do it... -- How it works... -- Creating options panels -- Getting ready -- How to do it... -- How it works... -- There's more... -- Saving parameters -- Loading parameters -- Secondary panel -- Keywords -- 11. Profiling and Testing -- Introduction -- Profiling Java code -- Getting ready -- How to do it... -- How it works... -- There's more... -- Profiler calibration -- VM telemetry overview -- Comparing profiling snapshots -- Creating unit tests -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using SQE for improved code quality -- Getting ready -- How to do it... -- How it works... -- There's more... -- Monitoring HTTP connections -- Getting ready -- How to do it... -- How it works... -- There's more... -- Editing HTTP requests from within NetBeans -- Using the JMeter load generator -- Getting ready -- How to do it... -- How it works... -- There's more... -- JMeter+NetBeans profiler -- Editing the JMX file -- 12. Version Control -- Introduction -- Adding a project to Subversion -- Getting ready -- How to do it... -- How it works... -- Checking in modifications -- Getting ready -- How to do it... -- How it works... -- There's more... -- Show changes -- Diff window -- Working with a Subversion branch -- Getting ready -- How to do it... -- How it works... -- There's more... -- Merging branches.

Resolving conflicts in Subversion.
Abstract:
Over 70 highly focused practical recipes to maximize your output with NetBeans.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: