Java Swing UIManager beep(Component comp)

Here you can find the source of beep(Component comp)

Description

beep

License

Open Source License

Declaration

public static void beep(Component comp) 

Method Source Code


//package com.java2s;
/*//from   www  .  ja v  a 2 s.  com
 * This file is part of the Jose Project
 * see http://jose-chess.sourceforge.net/
 * (c) 2002-2006 Peter Sch?fer
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 */

import javax.swing.*;

import java.awt.*;

public class Main {
    public static void beep(Component comp) {
        UIManager.getLookAndFeel().provideErrorFeedback(comp);
    }
}

Related

  1. adjustBackground(JComponent c)
  2. applySizeVariant(JComponent c)
  3. canChangeSize()
  4. clearErrorLabel(JLabel label)
  5. configureStandardUI()
  6. createDefaultHorizontalAlignment()