Posts

Showing posts with the label interface

Application gestion de stock / Login interface P.1

Image
/* * 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. */ import javax.swing.JButton ; import javax.swing.JFrame ; import javax.swing.JLabel ; import javax.swing.JPasswordField ; import javax.swing.JTextField ; import java.awt.* ; /** * * @author Ghassen ben taher */ public final class Login { public Frame f = null ; JLabel l1; public JLabel l2 = null ; public JTextField t1; JPasswordField t2 = null ; JButton b1; public JButton b2; JButton b3 = null ; public Login (){ f = new JFrame ( " Login & password " ); /* ------------------- */ l1 = new JLabel ( "Login : " ); l2 = new JLabel ( "Passowrd : " ); /* ------------------- */ t1 = new JTextField (); t2 = new JPasswordField (); ...