Skip to content

Commit

Permalink
created sys class
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-z7 committed Nov 30, 2024
1 parent 2b7c88d commit 8516cff
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions SoftEngHealthClubSystem.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
public class SoftEngHealthClubSystem {

public Guest user;

public SoftEngHealthClubSystem(Guest g) {

user = g;
try {UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");}
catch (Exception e) {System.out.println("Look and Feel not set");}

HealthClubHomePage homePage = new HealthClubHomePage(null, user);
homePage.welcomeText.setText("Welcome " + user.getName());
}
}

0 comments on commit 8516cff

Please sign in to comment.