Java JLabel setStatusLabel(JLabel label)

Here you can find the source of setStatusLabel(JLabel label)

Description

set Status Label

License

Open Source License

Declaration

public static void setStatusLabel(JLabel label) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2001, 2007 Mathew A. Nelson and Robocode contributors
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://robocode.sourceforge.net/license/cpl-v10.html
 *
 * Contributors:/*from   w ww  .j a  va 2  s. c  om*/
 *     Mathew A. Nelson
 *     - Initial API and implementation
 *     Flemming N. Larsen
 *     - Moved window related methods from robocode.util.Utils into this class
 *******************************************************************************/

import javax.swing.JLabel;

public class Main {
    private static JLabel statusLabel;

    public static void setStatusLabel(JLabel label) {
        statusLabel = label;
    }
}

Related

  1. setErrorBackground(JLabel comp)
  2. setMnemonic(JLabel label, JComponent message, char mnemonic)
  3. setModelValue(JLabel lbl, String value)
  4. setNSLabel(JLabel nsLabel, String str)
  5. setResultRecordCountColour(JLabel label, boolean limitSet, Integer limitRecords, Integer ActualRecords)
  6. width(JLabel c)