From 9b46bf37fc03bebce7f148eb5172942b4ce4b8b1 Mon Sep 17 00:00:00 2001 From: aboots Date: Mon, 22 Jun 2020 18:47:41 +0430 Subject: [PATCH] fix bugs of donating discount codes --- .../GUI/accountArea/accountAreaForCustomer/ViewOrders.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/ApProject_OnlineShop/GUI/accountArea/accountAreaForCustomer/ViewOrders.java b/src/main/java/ApProject_OnlineShop/GUI/accountArea/accountAreaForCustomer/ViewOrders.java index bb231036..943cb6c5 100644 --- a/src/main/java/ApProject_OnlineShop/GUI/accountArea/accountAreaForCustomer/ViewOrders.java +++ b/src/main/java/ApProject_OnlineShop/GUI/accountArea/accountAreaForCustomer/ViewOrders.java @@ -90,13 +90,6 @@ public void viewSingleOrder(String orderString) { Label discountCodeInfo = new Label("Customer Order"); discountCodeInfo.setFont(Font.font("Times New Roman", 26)); discountCodeInfo.setPadding(new Insets(13)); -// Image shoppingBag = new Image(getClass().getClassLoader().getResource("pictures/shoppingBag.png").toString()); -// ImageView shoppingBagImageView = new ImageView(shoppingBag); -// shoppingBagImageView.setFitHeight(80); -// shoppingBagImageView.setFitWidth(60); -// shoppingBagImageView.setCursor(Cursor.HAND); -// root.add(shoppingBagImageView,2,2); -// GridPane.setValignment(shoppingBagImageView,VPos.TOP); GridPane.setHalignment(discountCodeInfo, HPos.CENTER); root.add(discountCodeInfo, 1, 1); VBox vBox = new VBox();