All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.schlichtherle.truezip.key.pbe.swing.Feedback Maven / Gradle / Ivy

Go to download

The file system driver family for ZIP and related archive file types. Add the JAR artifact of this module to the run time class path to make its file system drivers available for service location in the client API modules.

There is a newer version: 7.7.10
Show newest version
/*
 * Copyright (C) 2005-2013 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */
package de.schlichtherle.truezip.key.pbe.swing;

import javax.swing.JPanel;

/**
 * Provides visual and/or audible run to the user when prompting
 * for a key in its {@link #run} method.
 * 

* Note that the {@link #run} method of this class is called when the * panel is just showing. This implies that the panel is fully initialized and * the implementation of this interface is not expected to do anything in * particular. * * @author Christian Schlichtherle */ public interface Feedback { /** * Starts the visual/audible run. * This method is called when the panel is shown in its containing window. * It is run on AWT's Event Dispatch Thread, so it must complete fast * in order not to block the GUI. * If an implementation is going to do animations, the * {@link javax.swing.Timer} class should be used to schedule timer events * for the animation. * * @param panel the panel to provide visual/audible run to. */ void run(JPanel panel); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy