Package penny.downloadmanager.model.task

Examples of penny.downloadmanager.model.task.DTaskData


                taskSaver.loadList();
            } catch (IOException | ClassNotFoundException ex) {
                Logger.getLogger(Model.class.getName()).log(Level.SEVERE, null, ex);
            }
            if (Model.getTasks().size() == 0) {
                Model.getTasks().add(new DTaskData());
            }
        } catch (SQLException ex) {
            JOptionPane.showMessageDialog(View.getSplashScreen(), ex.toString(),
                    "SQLException",
                    JOptionPane.ERROR_MESSAGE);
View Full Code Here


    @Override
    public void actionPerformed(ActionEvent e) {
        if(e.getActionCommand().equals(COM_OK)) {
            if(addTaskModel.getSelectedTask().equals(AddTaskModel.TaskList.DOWNLOAD)) {
                mainModel.getTasks().add(new DTaskData());
            } else if(addTaskModel.getSelectedTask().equals(AddTaskModel.TaskList.LinkToDownload)) {
                mainModel.getTasks().add(new LinkToDownloadTaskData());
            }
            addTaskModel.setVisible(false);
        } else if(e.getActionCommand().equals(COM_CANCEL)) {
View Full Code Here

TOP

Related Classes of penny.downloadmanager.model.task.DTaskData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.