@@ -0,0 +1,1544 @@
+package Utils;%0A%0Aimport javax.swing.JDialog;%0Aimport javax.swing.JFileChooser;%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JOptionPane;%0Aimport javax.swing.UIManager;%0Aimport javax.swing.UnsupportedLookAndFeelException;%0A%0A/**%0A * Utils class - Class with general methods which can be use everywhere%0A *%0A * @author Niesuch%0A */%0Apublic class Utils%0A%7B%0A%0A    public Utils()%0A    %7B%0A%0A    %7D%0A%0A    /**%0A     * Function to open JFileChooser%0A     *%0A     * @return%0A     */%0A    public String openFileChooser()%0A    %7B%0A        JFileChooser fc = new JFileChooser();%0A        int chooser = fc.showOpenDialog(null);%0A%0A        if (chooser == JFileChooser.APPROVE_OPTION)%0A        %7B%0A            return fc.getSelectedFile().getAbsolutePath();%0A        %7D%0A%0A        return null;%0A    %7D%0A%0A    /**%0A     * Function to generate dialog with user string%0A     *%0A     * @param str%0A     * @param title%0A     */%0A    public void generateDialogWithString(String str, String title)%0A    %7B%0A        final JOptionPane pane = new JOptionPane(str);%0A        final JDialog dialog = pane.createDialog((JFrame) null, title);%0A        dialog.setVisible(true);%0A    %7D%0A%0A    /**%0A     * Function to initialization native window view%0A     */%0A    public void nativeWindowView()%0A    %7B%0A        try%0A        %7B%0A            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());%0A        %7D catch (ClassNotFoundException %7C InstantiationException %7C IllegalAccessException %7C UnsupportedLookAndFeelException e)%0A        %7B%0A            System.err.println(%22Error loading the appearance of windows.%22);%0A        %7D%0A    %7D%0A%7D%0A

Create Utils class to general methods