Netbeans/C2/Introduction-to-Netbeans/English-timed
From Script | Spoken-Tutorial
Revision as of 11:37, 12 July 2016 by Sandhya.np14 (Talk | contribs)
Time | Narration |
00:01 | Hello everyone. |
00:02 | Welcome to the tutorial on Introduction to Netbeans IDE. |
00:06 | In this tutorial, I will introduce you to the basics of getting started with Netbeans. |
00:13 | Netbeans is a free and open-source Integrated Developement Environment, available at www.netbeans.org. |
00:23 | It allows for integration of various components. |
00:27 | Supports various scripting languages and advanced text editors. |
00:31 | It also provides a 'GUI' to create and design projects and also supports databases. |
00:39 | To finish this tutorial, basic knowledge in the Java programming language is necessary. |
00:47 | Standard programming terminologies have been used in this tutorial. |
00:52 | To get started with Netbeans- |
00:55 | I am using the Linux operating system Ubuntu, version 11.04 |
01:00 | and Netbeans IDE version 7.1.1. |
01:05 | In this tutorial, we will: * look at the installation of Netbeans |
01:11 | * get familiarized with the interface of Netbeans and |
01:16 | * create a sample Java project. |
01:19 | Let us first look at installing the 'IDE'. |
01:22 | Netbeans can be downloaded from netbeans.org. |
01:27 | It is official main site. |
01:31 | Click on the "Download" link on the main page of the site. |
01:36 | On the next page which loads, |
01:39 | click on the 'Download' link in the last column which includes the download of all the supported technologies that is required by the IDE including the Glassfish Server. |
01:53 | The installation of 'Netbeans' also requires the installation of the Java Development Kit (JDK) which can be downloaded from java.sun.com. |
02:05 | Click on the Get Java link here and select the link to download both the Netbeans and 'JDK' Bundle. |
02:15 | In the next page which loads, |
02;19 | select the setup file which is compatible with your operating system. |
02:24 | On Ubuntu, the setup-file is downloaded as a '.sh' (dot sh) file |
02:29 | i.e as a shell script file. |
02:33 | Run this file by going to the Terminal. |
02:38 | Navigate to the window or directory which contains the downloaded setup file and at the prompt, |
02:46 | type "sh" followed by the name of the downloaded file and press Enter. |
02:54 | This will start the installer which will take a few moments. |
03:04 | The installer appears on the screen. |
03:06 | You can follow the onscreen instructions to install the IDE on your system. |
03:13 | I will exit the installer now. |
03:17 | Let us now look at the Netbeans window. |
03:21 | To open or launch Netbeans on your Ubuntu Operating System- |
03:25 | Go to the menu item Applications >> Programming and click on the Netbeans IDE icon. |
03:34 | When you first launch the IDE, it opens the Netbeans start page. |
03:41 | The IDE window contains |
03:43 | menus in the menu bar, |
03:46 | toolbars and |
03:48 | workspaces like the file system window, |
03:52 | the run time window and the |
03:53 | output window. |
03:57 | The main menu provides most of the commands you need to use Netbeans with, including- |
04:03 | creating, editing, compiling, running and debugging your projects. |
04:10 | The tool bar which is present below the menu bar provides buttons for several frequently used commands on the menu bar. |
04:18 | Workspace is a collection of windows that are used for performing certain types of operations |
04:23 | such as editing in the workspace window , execution, output or debugging- which is present below the workspace. |
04:35 | Let us next create a Sample Java Project. |
04:40 | To create a java project, go to the File menu, click on New Project. |
04:47 | In the 'New project' Wizard box, under Categories , |
04:51 | select Java. Under Projects, select Java Applications and click Next. |
04:58 | In the Name and Location page of the wizard, |
05:02 | give your Project Name as "KeyboardReader". |
05:08 | Set the Set as Main Project check-box selected and |
05:12 | click Finish. |
05:15 | The project is created and opened in the IDE. |
05:20 | Once the project is created, you should be able to see the Projects window on the left side of the IDE windows |
05:27 | which contains a tree view of the components of the project including the source files, Libraries that your code depends on. |
05:36 | The Source Editor is on the right with a file called as KeyboardReader.java opened. |
05:43 | Now, in the main class, let us enter a sample java code. |
05:49 | This code reads input from the keyboard and gives an output indicating if the input is a whole number or a floating point number. |
05:58 | I am now copying this code onto my clipboard and pasting it over the existing code in the IDE workspace. |
06:11 | The next step is to run our project. |
06:14 | To run any project on the Netbeans IDE, there are 3 methods. |
06:20 | The first method is- you can click on the project node in the Projects window and choose Run from the contextual menu. |
06:29 | Or, You can go to the toolbar and click on the Run Project button. |
06:34 | Or, you can also press the F6 key on your keyboard to run the project. |
06:40 | Let me right-click on the Project node and select the Run option. |
06:45 | When you run a Java application, the 'IDE' builds and compiles the application code and runs the program in the output window which appears below the Workspace. |
06:57 | The IDE has now prompted me to "Enter any Number". |
07:01 | Let me enter a random number and press Enter. |
07:06 | It says if the input is a whole number or a floating point number. |
07:11 | Now, to the assignment- |
07:15 | As an extension to the "KeyboardInputReader" project, |
07:19 | convert another project i.e. a temperatures converter application which takes an input temperature, |
07:27 | converts into Fahrenheit from Celsius and vice-versa. |
07:31 | And, displays the converted temperature in the output window. |
07:36 | I have already constructed the assignment. |
07:40 | Let us run the assignment. |
07:47 | The program has prompted me to enter the input temperature in the output window. |
07:52 | Let me enter a sample temperature, -40, in Fahrenheit and it shows me the converted temperature in Celsius. |
08:07 | Watch the video available at the link shown on the screen. |
08:10 | It summarizes the Spoken Tutorial project. |
08:14 | If you do not have good bandwidth, you can download and watch the videos. |
08:20 | The Spoken Tutorial project team: * conduct workshops using Spoken Tutorials. |
08:27 | * Gives certificates to those pass an online test. |
08:31 | For more details, write to:
contact@spoken-tutorial.org |
08:38 | Spoken Tutorial project is a part of the Talk to a Teacher project, |
08:43 | supported by the National Mission on education through ICT, MHRD, Government of India. |
08:49 | More information on this mission is available at:
spoken-tutorial.org/NMEICT-Intro. |
09:00 | This tutorial has been contributed by IT for Change. |
09:05 | Thank you for joining us and enjoy exploring Netbeans. |