diff --git a/ProyectoVentaBoletos/src/main/java/com/cip/proyectoventaboletos/ProyectoVentaBoletos.java b/ProyectoVentaBoletos/src/main/java/com/cip/proyectoventaboletos/ProyectoVentaBoletos.java new file mode 100644 index 0000000..b332622 --- /dev/null +++ b/ProyectoVentaBoletos/src/main/java/com/cip/proyectoventaboletos/ProyectoVentaBoletos.java @@ -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 + // ... + } +}