0% found this document useful (0 votes)
14 views9 pages

What Is Gui

The document discusses what an integrated development environment (IDE) is and provides examples of popular IDEs like Visual Studio, NetBeans, and Eclipse. It then focuses on describing the NetBeans IDE in more detail, outlining its features and how to install both NetBeans and Java Development Kit (JDK) on Windows.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views9 pages

What Is Gui

The document discusses what an integrated development environment (IDE) is and provides examples of popular IDEs like Visual Studio, NetBeans, and Eclipse. It then focuses on describing the NetBeans IDE in more detail, outlining its features and how to install both NetBeans and Java Development Kit (JDK) on Windows.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

What is IDE?

 An integrated development environment (IDE) is a software application that


provides comprehensive facilities for software development. An IDE normally
consists of at least a source-code editor, build automation tools, and a debugger.

 An integrated development environment or IDE is a software platform that


facilitates the creation of other software applications by providing a space to write,
compile, and debug code, sometimes with value-adding tools that reduce
development efforts.

Example of IDE
 Visual Studio
 NetBeans
 Eclipse
 Dev-C++
 Android Studio kotlin
 Xcode Swift

NetBeans IDE

NetBeans IDE is a free, open source, integrated development environment (IDE)


that enables you to develop desktop, mobile and web applications. The IDE supports
application development in various languages, including Java, JavaScript, PHP and
C++.
How to install JDK on Windows:

1. Download JDK installer from


https://www.oracle.com/ph/java/technologies/downloads/
2. Run the downloaded JDK installer.

Setup for Windows OS

3. Go to "System Properties" (Can be found on Control Panel > System and


Security > System > Advanced System Settings)
4. Click on the "Environment variables" button under the "Advanced" tab
5. Then, select the "Path" variable in System variables and click on the "Edit" button
6. Click on the "New" button and add the path where Java is installed, followed
by \bin. By default, Java is installed in C:\Program Files\Java\jdk-11.0.1 (If
nothing else was specified when you installed it). In that case, You will have to
add a new path with: C:\Program Files\Java\jdk-11.0.1\bin
Then, click "OK", and save the settings
7. At last, open Command Prompt (cmd.exe) and type java -version to see if Java
is running on your machine

How to Install NetBeans on Windows


Step 0: Install JDK

To use NetBeans for Java programming, you need to first install Java Development Kit
(JDK).

Step 1: Download

Download "NetBeans IDE" installer from


https://netbeans.apache.org/front/main/download/index.html
Step 2: Run the Installer

Run the downloaded installer.

What is GUI?
• Graphical User Interface (GUI) is a visual way of interacting with the computer
using the components like windows, icons, labels, text-boxes, radio buttons, etc.
• GUI is a program interface that takes the advantage of the computer graphics
capabilities to make the program easier to use.
• GUI uses windows, icons and menus to carry out commands such as opening
files, deleting files and moving files.
• It refers to the graphical user interface of a computer that allows users to click
and drag objects with a mouse instead of entering text at a command line.

Character User Interface/Character Based Interface


DOS prompts and Command Line
Example of GUI

Graphical
• Relating to visual art or computer graphics.
User
• A person who uses or operates something, especially a computer or other
machine.
Interface
• A point where two systems, subjects, organizations, etc. meet and interact.
In Java, GUI-based programs are implemented by using classes from the javax.swing
and java.awt packages.

The Swing classes provide greater compatibility across different operating systems.
They are fully implemented in Java, and behave the same on different operating
systems.

1. Component: are elementary GUI entities, such as Button, Label, and TextField.
2. Container: such as Frame/JFrame and Panel/JPanel, are used to hold
components in a specific layout (such as FlowLayout or GridLayout). A container
can also hold sub-containers.
Java Swing class Hierarchy Diagram

Java AWT Tutorial


 Java AWT (Abstract Window Toolkit) is an application-programming interface
(API) to develop Graphical User Interface (GUI) or windows-based applications in
Java.

 Java AWT components are platform-dependent i.e. components are displayed


according to the view of operating system. AWT is heavy weight i.e. its
components are using the resources of underlying operating system (OS).

 The java.awt package provides classes for AWT API such as TextField, Label,
TextArea, RadioButton, CheckBox, Choice, List etc.
NetBeans IDE

Title Bar
It typically displays the title of the window or the name of the application, along with other
controls such as minimize, maximize, and close buttons.

Menu Bar
It contains a series of menus, each of which contains a list of commands or options that
the user can choose from. These commands or options are usually organized into
categories such as "File," "Edit," "View," "Tools," "Help," and so on.

Toolbar
Toolbars are commonly found in software applications and are used to provide quick
access to frequently used commands, tools, or functions.

Project Window
A project window typically refers to a specific view or area within a software application
where users manage and organize their projects, files, or assets.
Navigator
Its primary function is to provide users with an overview or navigation aid for accessing
different sections, elements, or components within the application.

Design Area
It refers to a workspace within a design application where users create and manipulate
visual elements, such as graphics, layouts, or prototypes.

Source Code Area


It refers to a specific section or window within a software development environment where
programmers write, edit, and view the source code of a program.

Palette
It refers to a feature that provides a collection of components or controls that developers
can drag and drop onto their GUI (Graphical User Interface) forms or panels.

When you're designing a graphical interface for a Java application using NetBeans, you
often need to add components like buttons, text fields, labels, checkboxes, etc. Instead of
writing code to create and position these components manually, you can use the palette
to easily add them to your GUI design.

Properties Window
It is a feature that provides developers with an interface for viewing and editing the
properties of various elements within their projects.

Output Window
It is a feature that provides developers with a centralized location to view various types of
output generated during the development and execution of their projects.

This window is particularly useful for viewing messages, errors, warnings, and other
diagnostic information produced by the compiler, debugger, or runtime environment.

You might also like