comment in hessoGarage and biullGui

This commit is contained in:
Fastium 2022-05-19 12:35:53 +02:00
parent 21070c07be
commit e245dcba52
9 changed files with 16 additions and 2 deletions

14
.vscode/launch.json vendored
View File

@ -1,5 +1,19 @@
{ {
"configurations": [ "configurations": [
{
"type": "java",
"name": "Launch GUI2",
"request": "launch",
"mainClass": "GUI.GUI2",
"projectName": "Lab15_OOP_79fdc875"
},
{
"type": "java",
"name": "Launch GUI1",
"request": "launch",
"mainClass": "GUI.GUI1",
"projectName": "Lab15_OOP_79fdc875"
},
{ {
"type": "java", "type": "java",
"name": "Launch HesSoGarage", "name": "Launch HesSoGarage",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,9 +2,11 @@ package BillGUI;
public class HesSoGarage { public class HesSoGarage {
public static void main(String[] args) { public static void main(String[] args) {
//Create a new garage
GarageManager garageManager = new GarageManager(); GarageManager garageManager = new GarageManager();
String name = "<html><body><i>Garage manager</i><br>Prestations</body></html>"; String name = "<html><body><i>Garage manager</i><br>Prestations</body></html>";
String logoFilePath = "src/logo_garage.png"; //TODO redimensionnement automatique String logoFilePath = "src/logo_garage.png"; //TODO redimensionnement automatique
//Create a new HMI for calculate and print the bill
new ManagerGui(name, logoFilePath, garageManager.getServices(), garageManager); //TODO affichage sans redimensionnement new ManagerGui(name, logoFilePath, garageManager.getServices(), garageManager); //TODO affichage sans redimensionnement
} }
} }

View File

@ -1,5 +1,4 @@
package GUI; package GUI;
//TODO mettre commentaire
import javax.swing.*; import javax.swing.*;

View File

@ -1,5 +1,4 @@
package GUI; package GUI;
//TODO mettre commentaire
import javax.swing.*; import javax.swing.*;
import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeEvent;