issues
search
LUT28
/
GUI-Java
0
stars
0
forks
source link
TextField
#3
Open
LUT28
opened
1 day ago
LUT28
commented
1 day ago
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor. */ package gui;
/*
@author Lab STMIK
/ import javax.swing.
; import java.awt.
; import java.awt.event.
; public class TextField { public static void main(String[]args){ JFrame frame = new JFrame("Membuat Text Field"); JLabel label = new JLabel("Masukkan Input"); JTextField textField = new JTextField(20); frame.getContentPane().setLayout(new FlowLayout()); frame.getContentPane().add(label); frame.getContentPane().add(textField); frame.pack(); frame.setVisible(true); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); }
}
LUT28
commented
1 day ago
Code java membuat taxt field swing listener
/*
/*
}