All Downloads are FREE. Search and download functionalities are using the official Maven repository.

test.FocusableTest Maven / Gradle / Ivy

Go to download

A Mavenisation of the Quaqua Mac OSX Swing Look and Feel (Java library) Quaqua Look and Feel (C) 2003-2010, Werner Randelshofer. Mavenisation by Matt Gumbley, DevZendo.org - for problems with Mavenisation, see Matt; for issues with Quaqua, see the Quaqua home page. For full license details, see http://randelshofer.ch/quaqua/license.html

The newest version!
/*
 * @(#)FocusableTest.java  1.0  2010-07-11
 * 
 * Copyright (c) 2010 Werner Randelshofer, Immensee, Switzerland.
 * All rights reserved.
 * 
 * You may not use, copy or modify this file, except in compliance with the
 * license agreement you entered into with Werner Randelshofer.
 * For details see accompanying license terms.
 */

package test;

import javax.swing.*;

/**
 * FocusableTest.
 *
 * @author Werner Randelshofer
 * @version 1.0 2010-07-11 Created.
 */
public class FocusableTest{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel("ch.randelshofer.quaqua.QuaquaLookAndFeel");
        } catch (Exception ex) {ex.printStackTrace();};
        System.out.println("Focusable:" + new JRadioButton().isFocusable());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy