Estructura MVC y creación de algunas clases

This commit is contained in:
victor.monge 2025-02-26 19:45:51 -06:00
parent f2e7020eef
commit 3d74c596f0
1 changed files with 21 additions and 0 deletions
ProyectoVentaBoletos/src/main/java/com/cip/proyectoventaboletos

View File

@ -0,0 +1,21 @@
package com.cip.proyectoventaboletos;
import javax.swing.UIManager;
import com.formdev.flatlaf.themes.FlatMacLightLaf;
import javax.swing.UnsupportedLookAndFeelException;
import vista.*;
public class ProyectoVentaBoletos {
public static void main(String[] args) {
// Tema LookAndFeel
try {
UIManager.setLookAndFeel( new FlatMacLightLaf() );
} catch( UnsupportedLookAndFeelException ex ) {
System.out.println( "Fallo al inicializar LaF: " + ex.getMessage() );
}
// Iniciar interfaz principal
// ...
}
}