Difference between revisions of "Netbeans/C2/Introduction-to-Netbeans/English-timed"
From Script | Spoken-Tutorial
Sandhya.np14 (Talk | contribs) |
Sandhya.np14 (Talk | contribs) |
||
Line 21: | Line 21: | ||
|- | |- | ||
| 00:23 | | 00:23 | ||
− | | It allows for integration of various components. | + | | It allows for '''integration''' of various components. |
|- | |- | ||
|00:27 | |00:27 | ||
− | |Supports various scripting languages and advanced text | + | |Supports various scripting languages and advanced '''text editor'''s. |
|- | |- | ||
Line 33: | Line 33: | ||
|- | |- | ||
| 00:39 | | 00:39 | ||
− | |To finish this tutorial, basic knowledge in the Java | + | |To finish this tutorial, basic knowledge in the Java programming language is necessary. |
|- | |- | ||
Line 53: | Line 53: | ||
|- | |- | ||
|01:05 | |01:05 | ||
− | |In this tutorial , we will: * look at the installation of Netbeans | + | |In this tutorial, we will: * look at the installation of Netbeans |
|- | |- | ||
Line 61: | Line 61: | ||
|- | |- | ||
|01:16 | |01:16 | ||
− | |* create a sample Java | + | |* create a sample Java project. |
|- | |- | ||
Line 69: | Line 69: | ||
|- | |- | ||
| 01:22 | | 01:22 | ||
− | |Netbeans can be downloaded from '''netbeans.org. ''' | + | |Netbeans can be downloaded from '''netbeans.org.''' |
|- | |- | ||
Line 89: | Line 89: | ||
|- | |- | ||
|01:53 | |01:53 | ||
− | |The installation of Netbeans also requires the | + | |The installation of 'Netbeans' also requires the installation of the '''Java Development Kit (JDK)''' which can be downloaded from '''java.sun.com. ''' |
|- | |- | ||
|02:05 | |02:05 | ||
− | |Click on the Get Java link here and select the link to download both the Netbeans and JDK Bundle. | + | |Click on the '''Get Java link here''' and select the link to download both the '''Netbeans''' and 'JDK' Bundle. |
|- | |- | ||
|02:15 | |02:15 | ||
− | |In the next page which loads | + | |In the next page which loads, |
|- | |- | ||
|02;19 | |02;19 | ||
− | | | + | |select the '''setup''' file which is compatible with your operating system. |
|- | |- | ||
|02:24 | |02:24 | ||
− | |On Ubuntu, the setup file is downloaded as a '''.sh | + | |On Ubuntu, the setup-file is downloaded as a ''''.sh' (dot sh)''' file |
|- | |- | ||
| 02:29 | | 02:29 | ||
− | |i.e as a shell script file. | + | |i.e as a '''shell script''' file. |
|- | |- | ||
|02:33 | |02:33 | ||
− | |Run this file by going to the Terminal. | + | |'''Run''' this file by going to the '''Terminal'''. |
|- | |- | ||
|02:38 | |02:38 | ||
− | |Navigate to the window | + | |Navigate to the window or directory which contains the downloaded setup file and at the prompt, |
|- | |- | ||
|02:46 | |02:46 | ||
− | | | + | | type "sh" followed by the name of the downloaded file and press '''Enter'''. |
|- | |- | ||
Line 129: | Line 129: | ||
|- | |- | ||
| 03:04 | | 03:04 | ||
− | |The installer appears on screen | + | |The '''installer''' appears on screen. |
|- | |- | ||
| 03:06 | | 03:06 | ||
− | |You can follow the onscreen instructions to install the IDE on your system | + | |You can follow the onscreen instructions to install the IDE on your system. |
|- | |- | ||
| 03:13 | | 03:13 | ||
− | |I will exit the installer now | + | |I will exit the '''installer''' now. |
|- | |- | ||
| 03:17 | | 03:17 | ||
− | |Let us now look at the Netbeans | + | |Let us now look at the '''Netbeans window'''. |
|- | |- | ||
|03:21 | |03:21 | ||
− | | To open or launch Netbeans on your Ubuntu Operating System | + | | To open or launch Netbeans on your Ubuntu Operating System- |
|- | |- | ||
|03:25 | |03:25 | ||
− | | Go to the menu item | + | | Go to the menu item '''Applications >> Programming''' and click on the '''Netbeans IDE''' icon. |
|- | |- | ||
|03:34 | |03:34 | ||
− | |When you first launch the IDE it opens the Netbeans start page | + | |When you first launch the IDE, it opens the Netbeans start page. |
|- | |- | ||
|03:41 | |03:41 | ||
− | |The IDE window contains | + | |The '''IDE window''' contains |
|- | |- | ||
| 03:43 | | 03:43 | ||
− | |menus in the menu bar | + | |menus in the menu bar, |
|- | |- | ||
Line 169: | Line 169: | ||
|- | |- | ||
| 03:48 | | 03:48 | ||
− | | | + | |'''workspace'''s like the '''file system window''' |
|- | |- | ||
|03:52 | |03:52 | ||
− | | | + | |the '''run time''' window and the |
|- | |- | ||
| 03:53 | | 03:53 | ||
− | |output window | + | |'''output window'''. |
|- | |- | ||
| 03:57 | | 03:57 | ||
− | |The ''' main menu''' provides most of the commands you need to use Netbeans with , including | + | |The ''' main menu''' provides most of the commands you need to use Netbeans with, including- |
|- | |- | ||
|04:03 | |04:03 | ||
− | | | + | |creating, editing, compiling, running and debugging your projects. |
|- | |- | ||
Line 197: | Line 197: | ||
|- | |- | ||
| 04:23 | | 04:23 | ||
− | | such as | + | | such as editing in the workspace window , execution, output, or debugging- which is present below the workspace. |
|- | |- | ||
|04:35 | |04:35 | ||
− | |Let us next create a | + | |Let us next create a Sample Java Project. |
|- | |- | ||
|04:40 | |04:40 | ||
− | |To create a java project go to the '''File''' menu | + | |To create a java project, go to the '''File''' menu, click on '''New Project'''. |
|- | |- | ||
|04:47 | |04:47 | ||
− | |In the | + | |In the ''''New project' Wizard box''', under '''Categories ''', |
|- | |- | ||
|04:51 | |04:51 | ||
− | | | + | |select '''Java'''. Under '''Projects''', select '''Java Applications''' and click '''Next'''. |
|- | |- | ||
|04:58 | |04:58 | ||
− | |In the | + | |In the '''Name and Location''' page of the wizard, |
|- | |- | ||
| 05:02 | | 05:02 | ||
− | | | + | |give your '''Project Name''' as "KeyboardReader". |
|- | |- | ||
| 05:08 | | 05:08 | ||
− | |Set the Set as Main Project | + | |Set the '''Set as Main Project''' check-box selected and |
|- | |- | ||
|05:12 | |05:12 | ||
− | | | + | |click '''Finish'''. |
|- | |- | ||
Line 237: | Line 237: | ||
|- | |- | ||
| 05:20 | | 05:20 | ||
− | |Once the project is created you should be able to see the | + | |Once the project is created, you should be able to see the '''Projects''' window on the left side of the IDE windows |
|- | |- | ||
| 05:27 | | 05:27 | ||
− | | which contains a tree view of the components of the project | + | | which contains a '''tree view''' of the components of the '''project''' including the '''source''' files, Libraries, that your code depends on. |
|- | |- | ||
| 05:36 | | 05:36 | ||
− | |The Source Editor | + | |The '''Source Editor''' is on the right with a file called as '''KeyboardReader.java ''' opened. |
|- | |- | ||
| 05:43 | | 05:43 | ||
− | |Now in the main class, | + | |Now, in the '''main class''', let us enter a sample '''java code'''. |
|- | |- | ||
| 05:49 | | 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 | + | | 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 | | 05:58 | ||
− | |I am now copying this code onto my clipboard | + | |I am now copying this code onto my clipboard and pasting it over the existing code in the '''IDE workspace'''. |
|- | |- | ||
| 06:11 | | 06:11 | ||
− | |The next step is to run our project. | + | |The next step is to '''run''' our project. |
|- | |- | ||
| 06:14 | | 06:14 | ||
− | | To run any project on the Netbeans IDE there are 3 methods | + | | To run any project on the Netbeans IDE, there are 3 methods. |
|- | |- | ||
| 06:20 | | 06:20 | ||
− | |The first method is you can click on the project node in the Projects window | + | |The first method is- you can click on the '''project node''' in the '''Projects window''' and choose '''Run''' from the contextual menu. |
|- | |- | ||
| 06:29 | | 06:29 | ||
− | | Or You can go to the toolbar and click on '''Run Project''' button | + | | Or, You can go to the toolbar and click on '''Run Project''' button. |
|- | |- | ||
| 06:34 | | 06:34 | ||
− | |Or you can also press the F6 key on your keyboard to run the | + | |Or, you can also press the '''F6''' key on your keyboard to run the project. |
|- | |- | ||
| 06:40 | | 06:40 | ||
− | | Let me | + | | Let me right-click on the '''Project node''' and select the '''Run''' Option. |
|- | |- | ||
| 06:45 | | 06:45 | ||
− | | When you | + | | 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 | | 06:57 | ||
− | | The IDE has now prompted me to Enter any Number | + | | The IDE has now prompted me to "Enter any Number". |
|- | |- | ||
| 07:01 | | 07:01 | ||
− | | Let me | + | | Let me enter a random number and press '''Enter'''. |
|- | |- | ||
| 07:06 | | 07:06 | ||
− | | It says if the input | + | | It says if the input is a whole number or a floating point number. |
|- | |- | ||
| 07:11 | | 07:11 | ||
− | |Now to the | + | |Now, to the assignment- |
|- | |- | ||
| 07:15 | | 07:15 | ||
− | |As an extension to the KeyboardInputReader project, | + | |As an extension to the "KeyboardInputReader" project, |
|- | |- | ||
| 07:19 | | 07:19 | ||
− | |convert another project i.e a temperatures converter application which takes an input temperature | + | |convert another project i.e. a temperatures converter application which takes an input temperature, |
|- | |- | ||
| 07:27 | | 07:27 | ||
− | | | + | |converts into Fahrenheit from Celsius and vice-versa. |
|- | |- | ||
Line 325: | Line 325: | ||
|- | |- | ||
| 07:40 | | 07:40 | ||
− | |Let us run the assignment | + | |Let us '''run''' the assignment. |
|- | |- | ||
| 07:47 | | 07:47 | ||
− | |The program has prompted me to enter the input temperature in the output window | + | |The program has prompted me to enter the input temperature in the output window. |
|- | |- | ||
| 07:52 | | 07:52 | ||
− | |Let me enter a sample temperature -40 in Fahrenheit and it shows me the converted temperature in | + | |Let me enter a sample temperature, -40, in Fahrenheit and it shows me the converted temperature in Celsius. |
|- | |- | ||
Line 349: | Line 349: | ||
|- | |- | ||
| 08:20 | | 08:20 | ||
− | |The Spoken Tutorial project team conduct workshops using Spoken Tutorials. | + | |The Spoken Tutorial project team: * conduct workshops using Spoken Tutorials. |
|- | |- | ||
| 08:27 | | 08:27 | ||
− | |Gives certificates to those pass an online test. | + | |* Gives certificates to those pass an online test. |
|- | |- | ||
| 08:31 | | 08:31 | ||
− | |For more details write to contact@spoken-tutorial.org | + | |For more details, write to: |
+ | contact@spoken-tutorial.org | ||
|- | |- | ||
| 08:38 | | 08:38 | ||
− | |Spoken Tutorial | + | |'''Spoken Tutorial''' project is a part of the '''Talk to a Teacher''' project, |
|- | |- | ||
| 08:43 | | 08:43 | ||
− | | | + | |supported by the National Mission on education through ICT, MHRD, Government of India. |
|- | |- | ||
| 08:49 | | 08:49 | ||
− | |More information on this mission is available at spoken-tutorial.org/NMEICT-Intro | + | |More information on this mission is available at: |
+ | spoken-tutorial.org/NMEICT-Intro. | ||
|- | |- | ||
| 09:00 | | 09:00 | ||
− | |This tutorial has been contributed by | + | |This tutorial has been contributed by '''IT for Change'''. |
|- | |- | ||
| 09:05 | | 09:05 | ||
− | |Thank you for joining us and | + | |Thank you for joining us and enjoy exploring Netbeans. |
Revision as of 21:23, 24 October 2015
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 '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 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 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. |