comment in hessoGarage and biullGui
This commit is contained in:
parent
21070c07be
commit
e245dcba52
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
@ -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.
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
package GUI;
|
package GUI;
|
||||||
//TODO mettre commentaire
|
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user