diff --git a/bin/BillGUI/App.class b/bin/BillGUI/App.class new file mode 100644 index 0000000..5ed50fb Binary files /dev/null and b/bin/BillGUI/App.class differ diff --git a/bin/BillGUI/ManagerGui.class b/bin/BillGUI/ManagerGui.class index 295fc32..6c88046 100644 Binary files a/bin/BillGUI/ManagerGui.class and b/bin/BillGUI/ManagerGui.class differ diff --git a/src/BillGUI/App.java b/src/BillGUI/App.java new file mode 100644 index 0000000..0812c0a --- /dev/null +++ b/src/BillGUI/App.java @@ -0,0 +1,11 @@ +package BillGUI; + +public class App { + public static void main(String[] args) { + int rows = 9; + int cols = 2; + String name = "Garage manager \n Prestations"; + String logoFilePath = "src/logo_garage.png"; + new ManagerGui(rows, cols, name, logoFilePath); + } +} diff --git a/src/BillGUI/ManagerGui.java b/src/BillGUI/ManagerGui.java index f3bfcc2..10d0432 100644 --- a/src/BillGUI/ManagerGui.java +++ b/src/BillGUI/ManagerGui.java @@ -1,10 +1,23 @@ package BillGUI; -import javax.swing.JFrame; +import java.awt.*; +import java.awt.event.*; +import javax.swing.*; /** * */ public class ManagerGui extends JFrame{ + GridLayout grid; + JLabel Jname; + JLabel Jlogo; + + public ManagerGui(int n,int m, String name, String logoFilePath){ + grid = new GridLayout(n,m); + Jname = new JLabel(name); + } + + + }