From 64f1251fe12f184d779052fede4d171de11075fa Mon Sep 17 00:00:00 2001 From: FOFOU FONZAM Gui Arnaud Date: Tue, 26 Nov 2024 07:35:50 +0100 Subject: [PATCH] Update src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java Co-authored-by: David B Malkovsky --- src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java b/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java index e65325aab4..651faa3af5 100644 --- a/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java +++ b/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java @@ -540,7 +540,7 @@ private JButton getSelectedButton() { frame.setSize(450, 200); frame.setTitle(MessageBundle.getMessage("angal.inventoryrow.lotinformation.title")); frame.setLocationRelativeTo(null); - frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); frame.setVisible(true); }); }