Projet_COO_POO/src_reseau/main/Main.java
2021-01-31 16:33:59 +01:00

37 lines
772 B
Java

package main;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import communication.filetransfer.FileTransferUtils;
import connexion.VueConnexion;
public class Main extends JPanel{
/**
*
*/
private static final long serialVersionUID = 1L;
public static void main(String[] args) {
try {
for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (Exception e) {
// If Nimbus is not available, you can set the GUI to another look and feel.
}
FileTransferUtils.createDownloads();
new VueConnexion();
}
}