DEFINICION:
Básicamente lo que debemos saber es que es un paquete que hace parte de la Java Foundation Classes o mas conocida como JFC, la cual provee herramientas o facilidades para la construcción de GUI's o interfaces Graficas de Usuario (graphical user interface).
Swing es un conjunto de librerias enfocadas a la construcción de interfaces, solo que con esta se presentaron algunos problemas en cuanto a portabilidad principalmente cuando se desarrollaban aplicaciones para diferentes sistemas operativos, pues el comportamiento de los componentes graficos en ocasiones podían variar.
CONTROLES:
Objeto de control JLabel Un objeto de control Jlabel permite dibujar en el formulario una etiqueta, entendiéndose como etiqueta una expresión estática que se quiere colocar. También es usado para mostrar los resultados de un proceso. Propiedades más usadas: ● Text: Contiene el valor que se visualizará en el formulario. ● Font: Permite establecer el tipo de letra de la expresión a mostrar en el formulario. ● Border: Para establecer el tipo de borde de la etiqueta. ● Enabled: Para habilitar o inhabilitar el uso del objeto de control.
EVENTO: Un evento Jlabel permite dibujar en el formulario una etiqueta, entendiéndose
como etiqueta una expresión estética que se quiere colocar. También es usado para mostrar los resultados de un proceso.
Objeto de control JTextField Un objeto de control JTextField permite dibujar en el formulario un cuadro de texto, es decir, una caja que permite la introducción de un dato o valor. Este objeto es utilizado para el ingreso de datos. Propiedades más usadas: ● Text: Contiene el valor o dato introducido en el cuadro de texto. ● Font: Permite establecer el tipo de letra del texto en la caja. ● Border: Para establecer el tipo de borde del cuadro de texto. ● Enabled: Para habilitar o inhabilitar el uso del objeto de control. Métodos más usados: ● getText(): Permite obtener el texto introducido en el cuadro de texto. ● setText(): Permite colocar un texto en el objeto JTextField. ● requestFocus(): permite asignar el cursor al objeto de control.
EVENTO: JTextField: al pulsar Enter con el foco activado.
EVENTO: JButton: click o pulsar Enter con el foco activado en él.

EJEMPLOS:
SUMMARY:
SWING CLASS DEFINITION: Basically what we should know is that it is a package that is part of the Java Foundation Classes or better known as JFC, which provides tools or facilities for the construction of graphical user interface (GUI) or user interfaces. Swing is a set of libraries focused on the construction of interfaces, but with this there were some problems in portability mainly when developing applications for different operating systems, as the behavior of graphic components could sometimes vary. CONTROLS: JLabel control object A Jlabel control object allows you to draw a label on the form, meaning As it labels a static expression to be placed. It is also used to Show the results of a process. Most used properties: ● Text: Contains the value that will be displayed in the form. ● Font: Allows you to set the font of the expression to be displayed in the form. ● Border: To set the border type of the label. ● Enabled: Enable or disable the use of the control object. EVENT: A Jlabel event allows you to draw a label on the form, meaning As it labels an aesthetic expression to be placed. It is also used to Show the results of a process. JTextField control object A JTextField control object lets you draw a text box in the form, is Say, a box that allows the introduction of a data or value. This object is used for The input of data. Most used properties: ● Text: Contains the value or data entered in the text box. ● Font: Allows you to set the font of the text in the box. ● Border: To set the border type of the text box. ● Enabled: Enable or disable the use of the control object. Most used methods: ● getText (): Lets you get the text entered in the text box. ● setText (): Allows you to place a text in the JTextField object. ● requestFocus (): assigns the cursor to the control object. EVENT: JTextField: Press Enter with focus on. JButton control object A JButton control object allows you to draw on the form an object that contains a Process to execute. It is commonly used to carry out specific processes according to The nature of the application. Most used properties: ● Text: Contains the value or data entered in the text box. ● Font: Allows you to set the font of the text in the box. ● Enabled: Enable or disable the use of the control object. Most used event: ● ActionPerformed: This event is performed when the user clicks on the JButton control object. EVENT: JButton: click or press Enter with focus activated on it.
RECOMMENDATIONS: -Fix well in the pseudocode. "Have a lot of patience."
APPRECIATIONS: - It is good to find out about this subject since we can create our programs that are able to interact with the user.
RECOMENDACIONES:
-Fijarse bien en el pseudocodigo.
-Tener mucha paciencia.
APRECIACIONES:
-Es bueno informarse sobre este tema ya que así podemos crear nuestros programas que sean capaces de interactuar con el usuario.