Merge pull request #5 from Klagarge/Start-ManagerGui-15/05

Start manager gui 15/05
This commit is contained in:
Rémi Heredero 2022-05-18 08:29:24 +02:00 committed by GitHub
commit fa5dca6196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 1 deletions

BIN
bin/BillGUI/App.class Normal file

Binary file not shown.

Binary file not shown.

11
src/BillGUI/App.java Normal file
View File

@ -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);
}
}

View File

@ -1,10 +1,23 @@
package BillGUI; package BillGUI;
import javax.swing.JFrame; import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
/** /**
* *
*/ */
public class ManagerGui extends JFrame{ 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);
}
} }