
org.friendularity.bundle.animplayer.AnimationPlayerFrame Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2014 the Friendularity Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* AnimationPlayerFrame.java
*
* Created on Nov 30, 2012, 1:31:53 PM
*/
package org.friendularity.bundle.animplayer;
/**
*
* @author matt
*/
public class AnimationPlayerFrame extends javax.swing.JFrame {
/** Creates new form AnimationPlayerFrame */
public AnimationPlayerFrame() {
initComponents();
}
/** 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.
*/
// //GEN-BEGIN:initComponents
private void initComponents() {
animationPlayerPanel1 = new org.friendularity.bundle.animplayer.AnimationPlayerPanel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(animationPlayerPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 394, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(animationPlayerPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 386, Short.MAX_VALUE)
);
pack();
}// //GEN-END:initComponents
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
org.slf4j.LoggerFactory.getLogger(AnimationPlayerFrame.class).error(ex.getMessage(), ex);
} catch (InstantiationException ex) {
org.slf4j.LoggerFactory.getLogger(AnimationPlayerFrame.class).error(ex.getMessage(), ex);
} catch (IllegalAccessException ex) {
org.slf4j.LoggerFactory.getLogger(AnimationPlayerFrame.class).error(ex.getMessage(), ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
org.slf4j.LoggerFactory.getLogger(AnimationPlayerFrame.class).error(ex.getMessage(), ex);
}
//
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new AnimationPlayerFrame().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private org.friendularity.bundle.animplayer.AnimationPlayerPanel animationPlayerPanel1;
// End of variables declaration//GEN-END:variables
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy