test.TexturedFrameTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Quaqua Show documentation
Show all versions of Quaqua Show documentation
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!
/*
* @(#)TexturedFrameTest.java 1.0 2009-09-29
*
* Copyright (c) 2009 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.*;
/**
* TexturedFrameTest.
*
* @author Werner Randelshofer
* @version 1.0 2009-09-29 Created.
*/
public class TexturedFrameTest extends javax.swing.JFrame {
/** Creates new form TexturedFrameTest */
public TexturedFrameTest() {
getRootPane().putClientProperty("apple.awt.brushMetalLook", Boolean.TRUE);
((JComponent) getContentPane()).setOpaque(true);
setSize(300,200);
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
* /
@SuppressWarnings("unchecked")
// //GEN-BEGIN:initComponents
private void initComponents() {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
pack();
}// //GEN-END:initComponents
*/
/**
* @param args the command line arguments
*/
public static void main(String args[]) throws Exception {
UIManager.setLookAndFeel("ch.randelshofer.quaqua.QuaquaLookAndFeel");
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new TexturedFrameTest().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
// End of variables declaration//GEN-END:variables
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy