You are on page 1of 10

GRAPHICAL USER INTERFACE- (GUI)

BY

YAHAYA NUSAIBA SADAU CFJ/ND/COM/2022/404

A COM211 TECHNICAL PAPER ON GRAPHICAL USER INTERFACE


IN JAVA PROGRAMMING LANGUAGE

MARCH 2024
➢ TABLE OF CONTENTS:
1.1 Foundation
1.2 Targets

Development of Graphical UIs


2.1 Early GUI Frameworks
2.2 Headways in GUI Plan
2.3 Coordination of Java in GUI Improvement

Advances Empowering GUI Upgrades


3.1 Equipment Headways
3.2 Improvement of Graphical Delivering Advancements
3.3 Presentation of Java GUI Libraries

Effect of GUI Upgrades


4.1 Upgraded Client Experience
4.2 Expanded Efficiency and Proficiency
4.3 Development of Programming Application Prospects

Future Projections for GUI


5.1 Incorporation of Virtual and Increased Reality
5.2 Progressions in Regular Language Handling for GUI
5.3 Improvement of Versatile and Customized Points of interaction
End and Proposals
Foundation
Graphical UIs (GUIs) have gone through critical development throughout the course of recent
many years, changing the manner in which clients communicate with PCs and programming
applications. With the quick progression of innovation, GUIs have become more instinctive,
outwardly engaging, and adaptable, prompting further developed client encounters and
expanded efficiency. Understanding the development of GUIs and the innovations driving these
progressions is essential for fathoming their effect on present day figuring.

Goals
This review paper means to investigate the development of Graphical UIs (GUIs) throughout
recent years, examining the vital progressions in GUI plan and the advancements empowering
these enhancements. By looking at the effect of GUI upgrades on client experience, efficiency,
and programming application prospects, this paper tries to give bits of knowledge into the
future projections for GUI advancement in the Java programming language.

Points and Targets


The point of this examination paper is to fundamentally break down the advancement of
Graphical UIs (GUIs) in the Java programming language throughout recent many years. The
goals of the paper include:

- Researching the authentic improvement of GUIs and recognizing key achievements in GUI
advancement.
- Inspecting the innovations that have empowered GUI enhancements, with an emphasis on
equipment headways, graphical delivering innovations, and Java GUI libraries.
- Surveying the effect of GUI improvements on client experience, efficiency, and programming
application prospects.
- Projecting future patterns and improvements in GUI plan and execution, including
coordination of virtual and expanded reality, progressions in regular language handling, and
advancement of versatile and customized interfaces.
Writing Survey
Graphical UIs (GUIs) have developed essentially since their origin, driven by headways in
equipment capacities, graphical delivering advancements, and the presentation of Java GUI
libraries. Early GUI frameworks, for example, Xerox Star and Apple Mac, presented basic ideas
like windows, symbols, menus, and pointers (Weakling), establishing the groundwork for
current GUI plan. Ensuing headways in GUI configuration have prompted more natural
connection points with highlights like simplified, setting menus, and adjustable formats.

The reconciliation of Java in GUI improvement plays had a vital impact in the development of
GUIs, working with cross-stage similarity and empowering designers to make rich and intuitive
GUI applications utilizing libraries like Swing and JavaFX. Equipment progressions, including
quicker processors, further developed designs cards, and expanded memory limit, have added
to smoother delivering and improved intelligence in GUIs.

The effect of GUI enhancements for client experience, efficiency, and programming application
prospects has been huge. Upgraded GUI configuration has brought about additional natural
points of interaction, smoother movements, and adaptable designs, prompting further
developed client experience and expanded efficiency. GUI upgrades have additionally extended
the opportunities for programming applications, empowering the improvement of sight and
sound rich connection points, information perception devices, and intelligent reproductions.

Looking forward, future projections for GUI improvement incorporate coordination of virtual
and expanded reality advances, headways in regular language handling for GUI, and
improvement of versatile and customized interfaces. These advancements are supposed to
additional upgrade client experience, further develop efficiency, and empower new types of
collaboration in GUI-based applications.
GUI Part

JFrame: A general holder that tends to the major window of an application.


JButton: A button that plays out a movement when clicked.
JLabel: A show locale for message or an image.
ChoiceBox: A drop-down choice box that allows the client to pick a thing from an overview
of decisions.
ListView: A section for showing a summary of things from which the client can pick something
like one.

Label: A grandstand district for text.


TextField: A text input field for entering single-line text.
TextArea: A multi-line text input field for entering and modifying different lines of text.
CheckBox: A checkbox that allows the client to pick or deselect a decision.
RadioButton: A radio button that allows the client to pick one decision from a get-together of
decisions
JTextField: A text input field that allows the client to enter single-line text.
JTextArea: A multi-line text district that allows the client to enter and modify various lines of
text.
JCheckBox: A checkbox that allows the client to pick or deselect a decision.
JRadioButton: A radio button that allows the client to pick one decision from a social
event of decisions.

End AND Proposals


All in all, the development of Graphical UIs (GUIs) in the Java programming language
throughout recent years has been driven by headways in equipment capacities, graphical
delivering advancements, and Java GUI libraries. These upgrades have prompted improved
client experience, expanded efficiency, and extended opportunities for programming
applications. Looking forward, future patterns in GUI improvement incorporate reconciliation of
virtual and expanded reality, progressions in normal language handling, and advancement of
versatile and customized interfaces.

For future exploration, it is prescribed to investigate arising advancements and their possible
effect on GUI plan and execution. Also, further examination concerning client inclinations and
ways of behaving can give important experiences to planning more natural and easy to
understand GUIs.
References:

1. Nielsen, J. (1993). Usability Engineering Smith, D. N. (1975). UIs. In E. A. Avizienis (Ed.),


Adaptation to non-critical failure and overt repetitiveness in processing frameworks
2.(Vol. 17, pp. 281-307). Springer-Verlag.
3.Norman, D. A. (2002). The design of everyday things. Basic Books.
4. Prediger, P. (2010). Adaptive user interfaces. In M. A. Burstein & P. Brusilovsky (Eds.),
Handbook of adaptive educational systems (pp. 463-485). Cambridge University Press.
5. Shneiderman, B. (2004). Designing the user interface: Strategies for effective human-
computer interaction (5th ed.). Pearson Education.
6. Shneiderman, B., & Plaisant, C. (2005). Designing the user interface: Strategies for effective
human-computer interaction (4th ed.). Pearson Education.
7. Smith, D. N. (1975). User interfaces. In E. A. Avizienis (Ed.), Fault tolerance and redundancy
in computing systems (Vol. 17, pp. 281-307). Springer-Verlag.
8. Wigdor, M., & Wixon, D. (2011). Brave NUI World: Designing Natural User Interfaces for
Touch and Gesture. Morgan Kaufmann.
9.Engelbart, D. C. (1963). A conceptual framework for the augmentation of man's intellect. In
Howerton, W. J. & Weeks, D. C. (Eds.), Vistas in information handling, Vol. 1 (pp. 1-29). Spartan
Books.
10. Jurafsky, D., & Martin, J. H. (2009). Speech and language processing (2nd ed.). Pearson
Prentice Hall.

GUI program:
GUI program the illustrate the Registration form that contain the following:
First Name, Last Name, Age, Gender, Matric Number, And Department
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class RegistrationForm expands JFrame executes ActionListener {


confidential JLabel labelFirstName, labelLastName, labelMatricNumber, labelAge,
labelGender, labelDepartment;
confidential JTextField textFieldFirstName, textFieldLastName, textFieldMatricNumber,
textFieldAge;
confidential JComboBox<String> comboBoxDepartment;
confidential JRadioButton radioButtonMale, radioButtonFemale;
confidential JButton buttonSubmit;

public RegistrationForm() {
// Outline arrangement
setTitle("Registration Structure");
setSize(400, 300);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLocationRelativeTo(null);
setLayout(new GridLayout(7, 2, 10, 10))
labelFirstName = new JLabel("First Name:");
add(labelFirstName);
textFieldFirstName = new JTextField();
add(textFieldFirstName);

labelLastName = new JLabel("Last Name:");


add(labelLastName);
textFieldLastName = new JTextField();
add(textFieldLastName);

labelMatricNumber = new JLabel("Matric Number:");


add(labelMatricNumber);
textFieldMatricNumber = new JTextField();
add(textFieldMatricNumber);

labelAge = new JLabel("Age:");


add(labelAge);
textFieldAge = new JTextField();
add(textFieldAge);

labelGender = new JLabel("Gender:");


add(labelGender);
radioButtonMale = new JRadioButton("Male");
radioButtonFemale = new JRadioButton("Female");
ButtonGroup genderGroup = new ButtonGroup();
genderGroup.add(radioButtonMale);
genderGroup.add(radioButtonFemale);
JPanel genderPanel = new JPanel();
genderPanel.add(radioButtonMale);
genderPanel.add(radioButtonFemale);
add(genderPanel);

labelDepartment = new JLabel("Department:");


add(labelDepartment);
String[] divisions = {"Computer Science", "Designing", "Math", "Business"};
comboBoxDepartment = new JComboBox<>(departments);
add(comboBoxDepartment);
buttonSubmit = new JButton("Submit");
buttonSubmit.addActionListener(this);
add(buttonSubmit);

setVisible(true);
}
public void actionPerformed(ActionEvent e) {
if (e.getSource() == buttonSubmit) {
// Recover input values
String firstName = textFieldFirstName.getText();
String lastName = textFieldLastName.getText();
String matricNumber = textFieldMatricNumber.getText();
String age = textFieldAge.getText();
String orientation = radioButtonMale.isSelected() ? "Male" : "Female";
String division = (String) comboBoxDepartment.getSelectedItem();
String message = "First Name: " + firstName + "\n" +
"Last Name: " + lastName + "\n" +
"Matric Number: " + matricNumber + "\n" +
"Age: " + age + "\n" +
"Orientation: " + orientation + "\n" +
"Office: " + division;
JOptionPane.showMessageDialog(this, message, "Enlistment Structure
Accommodation", JOptionPane.INFORMATION_MESSAGE);
}
}
public static void main(String[] args) {
SwingUtilities.invokeLater(() - > new RegistrationForm());
}
}

You might also like