TrueZIP Driver ZIP.RAES (TZP) 7.1

de.schlichtherle.truezip.crypto.raes.param.swing
Class BasicFeedback

java.lang.Object
  extended by de.schlichtherle.truezip.crypto.raes.param.swing.BasicFeedback
All Implemented Interfaces:
Feedback
Direct Known Subclasses:
BasicInvalidKeyFeedback, BasicUnknownKeyFeedback

public class BasicFeedback
extends Object
implements Feedback

Provides run by beeping using the default toolkit.

Author:
Christian Schlichtherle

Constructor Summary
BasicFeedback()
           
 
Method Summary
 void run(JPanel panel)
          Starts the visual/audible run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFeedback

public BasicFeedback()
Method Detail

run

public void run(JPanel panel)
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 Timer class should be used to schedule timer events for the animation.

The implementation in this class simply beeps using the default toolkit.

Specified by:
run in interface Feedback
Parameters:
panel - the panel to provide visual/audible run to.

TrueZIP Driver ZIP.RAES (TZP) 7.1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.