Merge pull request #5 from Klagarge/Start-ManagerGui-15/05
Start manager gui 15/05
This commit is contained in:
commit
fa5dca6196
BIN
bin/BillGUI/App.class
Normal file
BIN
bin/BillGUI/App.class
Normal file
Binary file not shown.
Binary file not shown.
11
src/BillGUI/App.java
Normal file
11
src/BillGUI/App.java
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user