Package com.tulskiy.musique.gui.dialogs

Examples of com.tulskiy.musique.gui.dialogs.Task


    }
  }

  private void writeTracks() {
        ProgressDialog dialog = new ProgressDialog(this, "Writing tags");
        dialog.show(new Task() {
            String status;
            boolean abort = false;
            public int processed;

            @Override
View Full Code Here


        });
        menu.add("Rescan").addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                ProgressDialog progressDialog = new ProgressDialog(getRootPane(), "Library Rescan");
                progressDialog.show(new Task() {
                    HashMap<String, Object> map = new HashMap<String, Object>();

                    @Override
                    public String getStatus() {
                        return "Scanning library\n" + String.valueOf(map.get("processing.file"));
View Full Code Here

        item.setAccelerator(KeyStroke.getKeyStroke("Q"));
        tableMenu.add(new JMenuItem("Reload Tags")).addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                ProgressDialog dialog = new ProgressDialog(parent, "Reloading Tags");
                dialog.show(new Task() {
                    String currentTrack;
                    float progress = 0;
                    boolean abort = false;

                    @Override
View Full Code Here

TOP

Related Classes of com.tulskiy.musique.gui.dialogs.Task

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.