From 0a4579215b75ebd6a5368cc1d4445b1348c1d21d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Heredero?= Date: Sun, 15 May 2022 20:44:07 +0200 Subject: [PATCH] just started --- bin/BillGUI/App.class | Bin 0 -> 551 bytes bin/BillGUI/ManagerGui.class | Bin 387 -> 664 bytes src/BillGUI/App.java | 11 +++++++++++ src/BillGUI/ManagerGui.java | 12 +++++++++++- 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 bin/BillGUI/App.class create mode 100644 src/BillGUI/App.java diff --git a/bin/BillGUI/App.class b/bin/BillGUI/App.class new file mode 100644 index 0000000000000000000000000000000000000000..a6962ae6c7b39f0ddd020773dd2706168a1d86fb GIT binary patch literal 551 zcmah`%}Rnn6g}fl>X)WjTJ5Htwa8_V5mZzJQh_N%t5F9XnQunMPobWq*Jvda)V_y` z?wDW;q0PN>f6lr0p85KI`v7o=ofKjWt7l5Y#F5D&i4}%?T^V^Z4%^b*i?)^w#k%bX-4aguc%Do|eKlgp z)&GpF5nU*hVJKG~>x%-WvBB`tG)|7Jp2#lm*l?({h?F&a z=q$|)M@Kx!-1jBdeic5M@4}4;B@e|DH#XvZF_FA2rQ!ZUCA4~$-K8*Xd-hUkc_*U& zKkxtrl)N-$hEiqOQ4B%Dj$KE3Mus$Lf8bBVE=Xkh9Uw+85|?a>qAGbtKDj?d`gK+g z$oet}uu3-j+dw`?Q3h+sQ^te$sl)dL?7IaFZ8Qc~g_11CX+pA{VZ?2cdOto7EaWk6!@`6>zUnqjObV1f5o4iR;WOK6@0^Ya_Hy>qg)oPVLek;!B0j8^Ht(G FxNlo`i_QQ5 delta 195 zcmXAiy$XV06o%iUewv?OX4;RnwS;;DEzuGZjx9oaK`ym)2VH@thWb%O82+ywJ-q5{rtRY~!{1A{Z U;K1kJV^jY%^f6!~44E3jAD227xBvhE diff --git a/src/BillGUI/App.java b/src/BillGUI/App.java new file mode 100644 index 0000000..eb03620 --- /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; + String logoFilePath; + new ManagerGui(rows, cols, name, logoFilePath); + } +} diff --git a/src/BillGUI/ManagerGui.java b/src/BillGUI/ManagerGui.java index 28eaef8..10d0432 100644 --- a/src/BillGUI/ManagerGui.java +++ b/src/BillGUI/ManagerGui.java @@ -8,6 +8,16 @@ import javax.swing.*; * */ public class ManagerGui extends JFrame{ - GridLayout grid = new GridLayout(2,9); + 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); + } + + }