Commit 5f00875a authored by nargessalehi98's avatar nargessalehi98

Add comments

parent fd3cd71f
This diff is collapsed.
import javax.swing.*; import javax.swing.*;
/**
* Run the program
* @author Narges Salehi
*/
public class Main { public class Main {
//choosing look and fell
public static void main(String[] args) { public static void main(String[] args) {
try { try {
for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) { for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
...@@ -13,6 +17,7 @@ public class Main { ...@@ -13,6 +17,7 @@ public class Main {
} catch (Exception e) { } catch (Exception e) {
// If Nimbus is not available, you can set the GUI to another look and feel. // If Nimbus is not available, you can set the GUI to another look and feel.
} }
//creat a new GUI
GUI gui=new GUI(); GUI gui=new GUI();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment