@Override
            public void run() {
                if (!isWeightsCalculatorWindowVisible()) {
                    weightsCalculatorWindow = new WeightsCalculatorWindow();
                    Components.setIcons(weightsCalculatorWindow);
                    weightsCalculatorWindow.setController(App.controller);
                    weightsCalculatorWindow.setLocationRelativeTo(mainWindow);
                    weightsCalculatorWindow.setVisible(true);
                }

                weightsCalculatorWindow.requestFocus();
                weightsCalculatorWindow.toFront();
            }