diff --git a/src/ui/UI.java b/src/UI/UI.java similarity index 99% rename from src/ui/UI.java rename to src/UI/UI.java index c428438..ec65e34 100644 --- a/src/ui/UI.java +++ b/src/UI/UI.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package ui; +package UI; import Main.Client; import Main.ClientException; @@ -85,7 +85,6 @@ public class UI { frame.getContentPane().add(this.warehouseScrollPane, BorderLayout.PAGE_START); frame.getContentPane().add(this.cartScrollPane, BorderLayout.CENTER); frame.getContentPane().add(panel, BorderLayout.PAGE_END); - frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.pack(); frame.setVisible(true); } diff --git a/src/warehouseclient/WarehouseClient.java b/src/warehouseclient/WarehouseClient.java index b1827e0..db6618d 100644 --- a/src/warehouseclient/WarehouseClient.java +++ b/src/warehouseclient/WarehouseClient.java @@ -23,7 +23,7 @@ import java.util.logging.Logger; import javax.swing.JFrame; import javax.swing.JOptionPane; import static javax.swing.JOptionPane.ERROR_MESSAGE; -import ui.UI; +import UI.UI; /** * * @author Daniil Gentili