credencial
		package Repaso;
	
		import javax.swing.*;
	
		@SuppressWarnings("serial")
	
		public class Credencial extends JFrame {
	
		private JLabel sep, sems, dgeti, cetis, nombreEscuela, nombreL, apellidosL, curpL, carreraL;
	
		private JTextField nombreT, apellidosT, curpT, carreraT;
	
		public Credencial() {
	
		setDefaultCloseOperation(EXIT_ON_CLOSE);
	
		setSize(400,400);
	
		setTitle("Ventana Credencial");
	
		sep = new JLabel();
	
		sems = new JLabel();
	
		dgeti = new JLabel();
	
		cetis = new JLabel();
	
		nombreEscuela = new JLabel();
	
		nombreL = new JLabel();
	
		apellidosL = new JLabel();
	
		curpL = new JLabel();
	
		carreraL = new JLabel();
	
		nombreT = new JTextField();
	
		apellidosT = new JTextField();
	
		curpT = new JTextField();
	
		carreraT = new JTextField();
	
		sep.setText("SEP");
	
		sems.setText("SEMS");
	
		dgeti.setText("DGETI");
	
		cetis.setText("CETIS 50");
	
		nombreEscuela.setText("Mariano Matamoros Guridi");
	
		nombreL.setText("Nombre:");
	
		apellidosL.setText("Apellidos:");
	
		curpL.setText("CURP:");
	
		carreraL.setText("Carrera:");
	
		nombreT.setText("****");
	
		apellidosT.setText("*****");
	
		curpT.setText("*****");
	
		carreraT.setText("Programación");
	
		getContentPane().setLayout(null);
	
		getContentPane().add(sep);
	
		getContentPane().add(sems);
	
		getContentPane().add(dgeti);
	
		getContentPane().add(cetis);
	
		getContentPane().add(nombreEscuela);
	
		getContentPane().add(nombreL);
	
		getContentPane().add(apellidosL);
	
		getContentPane().add(curpL);
	
		getContentPane().add(carreraL);
	
		getContentPane().add(nombreT);
	
		getContentPane().add(apellidosT);
	
		getContentPane().add(curpT);
	
		getContentPane().add(carreraT);
	
		sep.setBounds(20,20,250,20);
	
		sems.setBounds(340,20,250,20);
	
		dgeti.setBounds(340,150,250,20);
	
		cetis.setBounds(20,60,250,20);
	
		nombreEscuela.setBounds(100,60,250,20);
	
		nombreL.setBounds(20,100,250,20);
	
		apellidosL.setBounds(20,140,250,20);
	
		curpL.setBounds(20,180,250,20);
	
		carreraL.setBounds(20,220,250,20);
	
		nombreT.setBounds(80,100,250,20);
	
		apellidosT.setBounds(80,140,250,20);
	
		curpT.setBounds(80,180,250,20);
	
		carreraT.setBounds(80,220,250,20);
	
		}
	
		public static void main(String[] args) {
	
		new Credencial().setVisible(true);
	
		}
	
		}
	
