
net.java.truecommons.key.swing.feedback.BeepFeedback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truecommons-key-swing Show documentation
Show all versions of truecommons-key-swing Show documentation
Prompts the user for passwords via a Swing based dialog, if available.
The newest version!
/*
* Copyright (C) 2005-2015 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package net.java.truecommons.key.swing.feedback;
import java.awt.Toolkit;
import javax.swing.JPanel;
/**
* Provides feedback by beeping using the default toolkit.
*
* @since TrueCommons 2.2
* @author Christian Schlichtherle
*/
public final class BeepFeedback implements Feedback {
/**
* {@inheritDoc}
*
* The implementation in this class simply beeps using the default toolkit.
*/
@Override
public void run(JPanel panel) {
Toolkit.getDefaultToolkit().beep();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy