Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.FlowLayout;
- import javax.swing.JFrame;
- /**
- * Clase autónoma (metodo main) para visaulizar la ventana en pantalla
- * @author Ezequiel
- *
- */
- public class Principal {
- public static void main(String[] args) {
- JFrame frame = new JFrame();
- frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- frame.getContentPane().setLayout(new FlowLayout(FlowLayout.CENTER));
- frame.getContentPane().add(new DocenteUI());
- frame.setSize(670, 250);
- frame.setVisible(true);
- frame.setTitle("CRUD Docente");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement