Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Ingresar INput Hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Laifsyn committed Jun 19, 2024
1 parent b70866a commit 51400e7
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextArea;
Expand Down Expand Up @@ -61,17 +62,19 @@ JPanel content_pane() {

JPanel panel = new JPanel(new GridBagLayout());
GridBagConstraints gbc = new GridBagConstraints();
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.fill = GridBagConstraints.BOTH;
gbc.gridx = 0;
gbc.gridy = 0;
gbc.insets = new Insets(5, 0, 5, 0);
gbc.insets = new Insets(2, 0, 2, 0);
panel.add(new JLabel("Ingrese el Codigo de Cliente"), gbc);

panel.add(txt_buscar, gbc);
gbc.gridy = 1;
panel.add(txt_buscar, gbc);
gbc.gridy = 2;
panel.add(btn_mostrar_factura, gbc);

JButton btn_mostrar_clientes = new JButton("Mostrar Clientes");
gbc.gridy = 2;
gbc.gridy = 3;
panel.add(btn_mostrar_clientes, gbc);

btn_mostrar_clientes.addActionListener(e -> {
Expand Down

0 comments on commit 51400e7

Please sign in to comment.