
NetBeans 11, a beginner-friendly crash course, teaches Java installation, environment setup, code snippets, and debugging while building an electric car project, with cloning from GitHub.
Download the JDK for 64-bit Windows from Oracle, install it for use with NetBeans 11, configure the PATH to the JDK, restart the command prompt, and verify with java -version.
Install NetBeans 11.1 on Windows by downloading and running the installer, accepting terms and the default location, checking for updates, then open NetBeans to create a hello world project.
Fix the NetBeans 11 scaling issue by adjusting the compatibility and high DPI settings in the desktop shortcut properties and applying the changes.
Learn to set up NetBeans 11, create a Java SE Hello World project, write the main method, print Hello World, build and run the application.
Navigate NetBeans 11 windows and views, including project, files, favorites, navigator, hierarchy view, services view, and output, plus properties, action items, and tasks for workflow mastery.
Configure NetBeans editor with customizable themes, key bindings, and profiles, including eclipse key bindings, fonts and colors, dark theme, indentation options, and expand tabs to spaces for preferred coding style.
Split the editor in NetBeans 11 to view and edit two source files side by side, using horizontal splits and tab options to scroll separately.
Use NetBeans 11's diff tool to compare two files, view before and after versions, and apply changes by pushing edits with the arrow, then undo if needed.
NetBeans 11 code snippets auto-generate a constructor, a logger, a toString method, and properties from the UI; Alt+Enter adds a property or getter for quick code generation.
Clone a GitHub repository in NetBeans 11 using the built-in team git clone workflow, track local and remote changes with git, and run the project to implement the required output.
Learn to implement drivable and chargeable interfaces in a NetBeans Java project by extending the car class and instantiating the electric car to use drive, start, charge, and stop.
Learn how to import and fix class dependencies in NetBeans by extending Car, implementing chargeable, correcting the spelling, and using the IDE to auto-import and resolve remaining errors.
Override the abstract charge method in a concrete electric car, implementing charge and using editor shortcuts (light bulb) to insert code and remove the unsupported operation exception.
Implement a charge method that uses if statements to verify the car is on and the amount is greater than zero and valid, then update fuel and print charging status.
Learn how to use javadocs to document methods, describe parameters with @param, specify return values with @return, and help developers understand how to use the code.
Learn project debugging in NetBeans 11 by setting breakpoints, running the project, and stepping into and over drive logic while inspecting fuel and miles.
NetBeans 11: The Essential Crash Course
This course is designed to introduce Apache NetBeans 11 as an IDE with realistic projects. Students can expect to learn the basics of the IDE in less than an hour with this essential crash course.
Course Outline:
Introduction will help you setup the JDK and NetBeans to run on your computer. You will find this process is quick and easy, so you will be up-and-running fast.
Hello World Project will introduce the IDE's interface, windows, and views. This first project will show you how to create a project and add content to it.
Electric Car Project will dive a little deeper and allow you to clone an unfinished GitHub repository to finish adding functionality using NetBeans features and shortcuts. Debugging will also be introduced in this section.
Course Features:
Screencasts are of high quality resolution. The entire IDE is on display so you don't miss anything while watching the course.
The project repository is located on GitHub. A link is included in the Electric Car Project section. This will be where course code is uploaded and maintained. Each project has a solutions file.
Any questions you have will be answered promptly. Please go to the author's profile for contact.