SlideShare a Scribd company logo
2
Most read
19
Most read
20
Most read
Shrey Goswami


What is an IDE?

IDE(Integrated Development Environment) is a programming environment
integrated into a software application that provides a GUI builder, a text or code
editor, a compiler and/or interpreter and a debugger. Visual Studio,Netbeans
and DreamWeaver are all examples of IDEs.



What is java?

java is a object oriented programming language which enables you to create
applications.



Install JAVA JDK.
Install Netbeans IDE.
Introduction to java netbeans
Introduction to java netbeans


Navigate to File>New Project.
Select java in categories and java Applications
in projects.



Give project name and uncheck create main
class and click Finish.




You can finally see Your Project in Projects.
In next step, we will create jFrame in it.
Introduction to java netbeans




A jFrame Form acts as a container to place other components
like the button,text field and text area etc.
We can create as many forms we want in a Netbeans Project.

A jFrame containing jLabel,
jTextField and jButton.


To Create a new jFrame click project name in projects and
right click>New>jframe Form..


To Create a new jFrame click project name in projects and
right click>New>jframe Form.. And then dialog will open
where you have to give name and click on Finish.




Now your jFrame is created and now you can add components
like Label,Button,TextField etc.
You can see The jFrame is indicated with red indicator in
Project Folder as well as in Design view.




Now you can add swing components from Palette by draging
on to the design view and arranging according to your idea.
The Palette is indicated with red border.



Now I have added jlabel,jTextField and Button to the jFrame.
The jTextField is indicated with Red indicator,jButton with
Blue and jlabel with brown indicator.




As we have now added the components we can edit the
variable name,text of the components by just selecting them
in the jFrame and right click.
As you can see we can edit the text,change variable
name,properties and so on.






Now as a example we can make a application where user will enter the name
in jTextField and will get the name back in jLabel after clicking on the
jButton.
To achieve it we have already designed the layout but have to add
functionality by adding code in the jButton as all the task will be done after
clicking the button.
To add Code double click on button and you will be switched automatically
to Source Code.


Adding the Following code written in Red Block.









Before you complete, check the component names as it may be different in
your and my case.
In My Case: jLabel1,jTextField1.
You can change the component name by going to Design and selecting
component then right click and navigate to change variable name.
Now its done, and you can run it by holding Shift key and F6 together.
Wait and the Application will run like the screenshot below.
Just test it by Typing your name and clicking “CLICK ME”. You should get the
text you written in jLabel.


Thats All done from the Introduction. In Next Slide you will learn about
different Components of Java like jLabel,jTextField etc that we used in this
example.

THANK YOU
Ad

Recommended

Swing
Swing
Jaydeep Viradiya
 
GUI components in Java
GUI components in Java
kirupasuchi1996
 
java swing
java swing
Waheed Warraich
 
Variables and Data Types
Variables and Data Types
Infoviaan Technologies
 
Java layoutmanager
Java layoutmanager
Arati Gadgil
 
Swing and AWT in java
Swing and AWT in java
Adil Mehmoood
 
Installing JDK and first java program
Installing JDK and first java program
sunmitraeducation
 
JAVA ENVIRONMENT
JAVA ENVIRONMENT
josemachoco
 
Java Introduction
Java Introduction
sunmitraeducation
 
Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Javascript basics
Javascript basics
shreesenthil
 
Introduction to asp.net
Introduction to asp.net
shan km
 
Introduction to HTML5
Introduction to HTML5
Gil Fink
 
Introduction to java
Introduction to java
Java Lover
 
Introduction to .net framework
Introduction to .net framework
Arun Prasad
 
Introduction to Selenium Web Driver
Introduction to Selenium Web Driver
Return on Intelligence
 
Core Java
Core Java
NA
 
User interface (UI) for mobile applications
User interface (UI) for mobile applications
Aashish Uppal
 
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Edureka!
 
Genesis and Overview of Java
Genesis and Overview of Java
Ravi_Kant_Sahu
 
Java Swing
Java Swing
Arkadeep Dey
 
Html5 tutorial for beginners
Html5 tutorial for beginners
Singsys Pte Ltd
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
sandeep54552
 
Basic Java Programming
Basic Java Programming
Math-Circle
 
core java
core java
Roushan Sinha
 
Test Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
Introduction to java
Introduction to java
Sandeep Rawat
 
Servlets
Servlets
Sasidhar Kothuru
 
Basic of Java Netbeans
Basic of Java Netbeans
Shrey Goswami
 
Netbeans IDE & Platform
Netbeans IDE & Platform
Aatul Palandurkar
 

More Related Content

What's hot (20)

Java Introduction
Java Introduction
sunmitraeducation
 
Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Javascript basics
Javascript basics
shreesenthil
 
Introduction to asp.net
Introduction to asp.net
shan km
 
Introduction to HTML5
Introduction to HTML5
Gil Fink
 
Introduction to java
Introduction to java
Java Lover
 
Introduction to .net framework
Introduction to .net framework
Arun Prasad
 
Introduction to Selenium Web Driver
Introduction to Selenium Web Driver
Return on Intelligence
 
Core Java
Core Java
NA
 
User interface (UI) for mobile applications
User interface (UI) for mobile applications
Aashish Uppal
 
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Edureka!
 
Genesis and Overview of Java
Genesis and Overview of Java
Ravi_Kant_Sahu
 
Java Swing
Java Swing
Arkadeep Dey
 
Html5 tutorial for beginners
Html5 tutorial for beginners
Singsys Pte Ltd
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
sandeep54552
 
Basic Java Programming
Basic Java Programming
Math-Circle
 
core java
core java
Roushan Sinha
 
Test Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
Introduction to java
Introduction to java
Sandeep Rawat
 
Servlets
Servlets
Sasidhar Kothuru
 
Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Introduction to asp.net
Introduction to asp.net
shan km
 
Introduction to HTML5
Introduction to HTML5
Gil Fink
 
Introduction to java
Introduction to java
Java Lover
 
Introduction to .net framework
Introduction to .net framework
Arun Prasad
 
Core Java
Core Java
NA
 
User interface (UI) for mobile applications
User interface (UI) for mobile applications
Aashish Uppal
 
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Edureka!
 
Genesis and Overview of Java
Genesis and Overview of Java
Ravi_Kant_Sahu
 
Html5 tutorial for beginners
Html5 tutorial for beginners
Singsys Pte Ltd
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
sandeep54552
 
Basic Java Programming
Basic Java Programming
Math-Circle
 
Test Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
Introduction to java
Introduction to java
Sandeep Rawat
 

Viewers also liked (20)

Basic of Java Netbeans
Basic of Java Netbeans
Shrey Goswami
 
Netbeans IDE & Platform
Netbeans IDE & Platform
Aatul Palandurkar
 
GUI Programming In Java
GUI Programming In Java
yht4ever
 
Introduction To NetBeans IDE
Introduction To NetBeans IDE
Muhammad Ghazali
 
Netbeans gui tutorial
Netbeans gui tutorial
stephan EL'wiin Shaarawy
 
GUI Programming in JAVA (Using Netbeans) - A Review
GUI Programming in JAVA (Using Netbeans) - A Review
Fernando Torres
 
CBSE XII Communication And Network Concepts
CBSE XII Communication And Network Concepts
Guru Ji
 
BASIC CONCEPTS OF COMPUTER NETWORKS
BASIC CONCEPTS OF COMPUTER NETWORKS
Kak Yong
 
Notes netbeans
Notes netbeans
poonamchopra7975
 
Web Application and HTML Summary
Web Application and HTML Summary
Fernando Torres
 
Simple Unit Testing With Netbeans 6.1
Simple Unit Testing With Netbeans 6.1
Kiki Ahmadi
 
Eclipse Vs Netbeans
Eclipse Vs Netbeans
SiliconExpert Technologies
 
GUI programming
GUI programming
Vineeta Garg
 
Developing Java EE applications with NetBeans and Payara
Developing Java EE applications with NetBeans and Payara
Payara
 
Eclipse
Eclipse
hackmakati
 
12 installing eclipse
12 installing eclipse
Zeeshan-Shaikh
 
Screenshot of Desktop System Application Complete
Screenshot of Desktop System Application Complete
Hendrawan Hendrawan
 
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
ZeroTurnaround
 
Java swings
Java swings
Alisha Korpal
 
A Short Java RMI Tutorial
A Short Java RMI Tutorial
Guo Albert
 
Basic of Java Netbeans
Basic of Java Netbeans
Shrey Goswami
 
GUI Programming In Java
GUI Programming In Java
yht4ever
 
Introduction To NetBeans IDE
Introduction To NetBeans IDE
Muhammad Ghazali
 
GUI Programming in JAVA (Using Netbeans) - A Review
GUI Programming in JAVA (Using Netbeans) - A Review
Fernando Torres
 
CBSE XII Communication And Network Concepts
CBSE XII Communication And Network Concepts
Guru Ji
 
BASIC CONCEPTS OF COMPUTER NETWORKS
BASIC CONCEPTS OF COMPUTER NETWORKS
Kak Yong
 
Web Application and HTML Summary
Web Application and HTML Summary
Fernando Torres
 
Simple Unit Testing With Netbeans 6.1
Simple Unit Testing With Netbeans 6.1
Kiki Ahmadi
 
Developing Java EE applications with NetBeans and Payara
Developing Java EE applications with NetBeans and Payara
Payara
 
Screenshot of Desktop System Application Complete
Screenshot of Desktop System Application Complete
Hendrawan Hendrawan
 
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
ZeroTurnaround
 
A Short Java RMI Tutorial
A Short Java RMI Tutorial
Guo Albert
 
Ad

Similar to Introduction to java netbeans (20)

Gui programming a review - mixed content
Gui programming a review - mixed content
Yogesh Kumar
 
Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892
renuka gavli
 
Chap 1 - Introduction GUI.pptx
Chap 1 - Introduction GUI.pptx
TadeseBeyene
 
L11cs2110sp13
L11cs2110sp13
karan saini
 
AWT stands for Abstract Window Toolkit. AWT is collection of classes and int...
AWT stands for Abstract Window Toolkit. AWT is collection of classes and int...
Prashant416351
 
14a-gui.ppt
14a-gui.ppt
DrDGayathriDevi
 
ch20.pptx
ch20.pptx
EnriqueMartinezTelle2
 
PraveenKumar A T AWS
PraveenKumar A T AWS
Praveen Kumar
 
GUI.pdf
GUI.pdf
AbuSufyan82
 
chapter 3 GUI Netbean graphic user .pptx
chapter 3 GUI Netbean graphic user .pptx
cawilyare9885
 
Getting started with GUI programming in Java_1
Getting started with GUI programming in Java_1
Muhammad Shebl Farag
 
Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1
PRN USM
 
Gui
Gui
Sardar Alam
 
Java_gui_with_AWT_and_its_components.ppt
Java_gui_with_AWT_and_its_components.ppt
JyothiAmpally
 
Session 9_AWT in java with all demonstrations.pdf
Session 9_AWT in java with all demonstrations.pdf
tabbu23
 
Chap1 1 1
Chap1 1 1
Hemo Chella
 
Chap1 1.1
Chap1 1.1
Hemo Chella
 
Creating GUI.pptx Gui graphical user interface
Creating GUI.pptx Gui graphical user interface
pikachu02434
 
Java GUI Programming for beginners-graphics.pdf
Java GUI Programming for beginners-graphics.pdf
PBMaverick
 
CORE JAVA-2
CORE JAVA-2
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
Gui programming a review - mixed content
Gui programming a review - mixed content
Yogesh Kumar
 
Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892
renuka gavli
 
Chap 1 - Introduction GUI.pptx
Chap 1 - Introduction GUI.pptx
TadeseBeyene
 
AWT stands for Abstract Window Toolkit. AWT is collection of classes and int...
AWT stands for Abstract Window Toolkit. AWT is collection of classes and int...
Prashant416351
 
PraveenKumar A T AWS
PraveenKumar A T AWS
Praveen Kumar
 
chapter 3 GUI Netbean graphic user .pptx
chapter 3 GUI Netbean graphic user .pptx
cawilyare9885
 
Getting started with GUI programming in Java_1
Getting started with GUI programming in Java_1
Muhammad Shebl Farag
 
Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1
PRN USM
 
Java_gui_with_AWT_and_its_components.ppt
Java_gui_with_AWT_and_its_components.ppt
JyothiAmpally
 
Session 9_AWT in java with all demonstrations.pdf
Session 9_AWT in java with all demonstrations.pdf
tabbu23
 
Creating GUI.pptx Gui graphical user interface
Creating GUI.pptx Gui graphical user interface
pikachu02434
 
Java GUI Programming for beginners-graphics.pdf
Java GUI Programming for beginners-graphics.pdf
PBMaverick
 
Ad

Recently uploaded (20)

Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 

Introduction to java netbeans

  • 2.  What is an IDE? IDE(Integrated Development Environment) is a programming environment integrated into a software application that provides a GUI builder, a text or code editor, a compiler and/or interpreter and a debugger. Visual Studio,Netbeans and DreamWeaver are all examples of IDEs.  What is java? java is a object oriented programming language which enables you to create applications.
  • 7. Select java in categories and java Applications in projects. 
  • 8.  Give project name and uncheck create main class and click Finish.
  • 9.   You can finally see Your Project in Projects. In next step, we will create jFrame in it.
  • 11.   A jFrame Form acts as a container to place other components like the button,text field and text area etc. We can create as many forms we want in a Netbeans Project. A jFrame containing jLabel, jTextField and jButton.
  • 12.  To Create a new jFrame click project name in projects and right click>New>jframe Form..
  • 13.  To Create a new jFrame click project name in projects and right click>New>jframe Form.. And then dialog will open where you have to give name and click on Finish.
  • 14.   Now your jFrame is created and now you can add components like Label,Button,TextField etc. You can see The jFrame is indicated with red indicator in Project Folder as well as in Design view.
  • 15.   Now you can add swing components from Palette by draging on to the design view and arranging according to your idea. The Palette is indicated with red border.
  • 16.   Now I have added jlabel,jTextField and Button to the jFrame. The jTextField is indicated with Red indicator,jButton with Blue and jlabel with brown indicator.
  • 17.   As we have now added the components we can edit the variable name,text of the components by just selecting them in the jFrame and right click. As you can see we can edit the text,change variable name,properties and so on.
  • 18.    Now as a example we can make a application where user will enter the name in jTextField and will get the name back in jLabel after clicking on the jButton. To achieve it we have already designed the layout but have to add functionality by adding code in the jButton as all the task will be done after clicking the button. To add Code double click on button and you will be switched automatically to Source Code.
  • 19.  Adding the Following code written in Red Block.
  • 20.       Before you complete, check the component names as it may be different in your and my case. In My Case: jLabel1,jTextField1. You can change the component name by going to Design and selecting component then right click and navigate to change variable name. Now its done, and you can run it by holding Shift key and F6 together. Wait and the Application will run like the screenshot below. Just test it by Typing your name and clicking “CLICK ME”. You should get the text you written in jLabel.
  • 21.  Thats All done from the Introduction. In Next Slide you will learn about different Components of Java like jLabel,jTextField etc that we used in this example. THANK YOU