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