From 2d128d35b0f6c3bf0e46181f9998ce534a8c0f4f Mon Sep 17 00:00:00 2001 From: Ashk Date: Fri, 26 Jun 2020 23:51:48 +0430 Subject: [PATCH] init for tag --- src/main/java/view/Main.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/main/java/view/Main.java b/src/main/java/view/Main.java index 8719162d..53ca5666 100644 --- a/src/main/java/view/Main.java +++ b/src/main/java/view/Main.java @@ -25,30 +25,12 @@ public class Main extends Application { private static Stage stage; public static void main(String[] args) { -/* try { - VendorTable.addTempProducts(); - System.out.println("Products added"); - } catch (SQLException e) { - e.printStackTrace(); - } catch (ClassNotFoundException e) { - e.printStackTrace(); - }*/ launch(args); -/* File file = new File("G:\\College\\2nd semester\\second semester PROJECT\\First Phase\\Codes\\First Version\\database\\Images\\Products\\p3456712.jpg"); - System.out.println(file.delete());*/ } @Override public void start(Stage primaryStage) throws Exception { stage = primaryStage; -// FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("ComparingProductsMenu.fxml")); -// Parent root = fxmlLoader.load(); -// ProductProcessor processor = fxmlLoader.getController(); -// Control.setType("Vendor"); -// Control.setUsername("sepehr"); -// Product firstProduct = ProductTable.getProductByID("p3445422"); -// Product secondProduct = ProductTable.getProductByID("p2235778"); -// processor.initComparingProcessor(firstProduct, secondProduct); FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("WelcomeMenu.fxml")); Parent root = fxmlLoader.load(); primaryStage.setScene(new Scene(root));