From 3d74c596f0774331c0945583cbfd0b99ff1fa566 Mon Sep 17 00:00:00 2001 From: "victor.monge" <zs22016120@estudiantes.uv.mx> Date: Wed, 26 Feb 2025 19:45:51 -0600 Subject: [PATCH] =?UTF-8?q?Estructura=20MVC=20y=20creaci=C3=B3n=20de=20alg?= =?UTF-8?q?unas=20clases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProyectoVentaBoletos.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ProyectoVentaBoletos/src/main/java/com/cip/proyectoventaboletos/ProyectoVentaBoletos.java 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 + // ... + } +}