Home >Java >javaTutorial >what is gui in java

what is gui in java

little bottle
little bottleOriginal
2019-05-18 17:29:3916261browse

The gui in java refers to the graphical user interface. Java provides three main packages for GUI development, namely the java.awt package, javax.swing package and java.awt.event package.

what is gui in java

#Java is an object-oriented programming language. It has many very powerful functions that can achieve a variety of functions. For example, what the editor is going to talk to you about today is the gui.

(Recommended tutorial: java course)

The GUI in Java is the graphical user interface

In the early days, computers faced users What is provided is a monotonous, boring, pure character "command line interface (CLI)".

Even now, we can still vaguely see their presence: open a DOS window in Windows and you can see the footprints of history.

Later, Apple took the lead in implementing a graphical user interface (GUI for short) in the computer operating system

Today, when graphical user interfaces are popular in the world, a Application software without a good GUI cannot be accepted by users.

The Java language also knows the importance of this, and it provides a set of tools that can easily build GUIs.

Java provides three main packages for GUI development:

java.awt package – mainly provides font/layout manager

javax.swing Package [commonly used in commercial development] – mainly provides various components (window/button/text box)

java.awt.event package – event processing, implementation of background functions.

Related recommendations: java introductory tutorial

The above is the detailed content of what is gui in java. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn