Home > Java > javaTutorial > what is gui in java

what is gui in java

little bottle
Release: 2020-10-12 15:38:56
Original
16258 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template