Here you can find the source of setButtonNo(JButton anButton)
Parameter | Description |
---|---|
anButton | JButton |
public static void setButtonNo(JButton anButton)
//package com.java2s; //License from project: LGPL import javax.swing.*; public class Main { private static final String BUTTON_NO = "no"; /**// ww w . j a va 2 s. c o m * setButtonOk * * @param anButton JButton */ public static void setButtonNo(JButton anButton) { anButton.setText(BUTTON_NO); } }