Package net.ftb.workers

Examples of net.ftb.workers.MapManagerWorker


        contentPane.add(label);

        addWindowListener(new WindowAdapter() {
            @Override
            public void windowOpened (WindowEvent arg0) {
                MapManagerWorker worker = new MapManagerWorker(overwrite) {
                    @Override
                    protected void done () {
                        setVisible(false);
                        super.done();
                    }

                    @Override
                    public void setLabelText (String s) {
                        label.setText(s);
                    }

                    @Override
                    public void setProgressBarMaximum (int i) {
                        progressBar.setMaximum(i);
                    }

                    @Override
                    public void setProgressBarValue (int i) {
                        progressBar.setValue(i);
                    }

                };
                worker.execute();
            }
        });
    }
View Full Code Here

TOP

Related Classes of net.ftb.workers.MapManagerWorker

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.