first commit
This commit is contained in:
commit
5e9828b53e
8 files changed
+447
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
public final class Main {
|
||||
|
||||
private Main() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
try {
|
||||
UIManager.setLookAndFeel(
|
||||
UIManager.getSystemLookAndFeelClassName()
|
||||
);
|
||||
} catch (Exception exception) {
|
||||
System.err.println(
|
||||
"No se pudo cargar el tema del sistema."
|
||||
);
|
||||
}
|
||||
|
||||
MainWindow window = new MainWindow();
|
||||
window.setVisible(true);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user