
com.fathzer.soft.ajlib.swing.demo.AJLibDemo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ajlib Show documentation
Show all versions of ajlib Show documentation
AJlib is a simple java library with Swing widgets, utilities and other stuff
The newest version!
package com.fathzer.soft.ajlib.swing.demo;
import javax.swing.JPanel;
import com.fathzer.soft.ajlib.swing.framework.Application;
/** This is a simple demonstration application. */
public class AJLibDemo extends Application {
public static final AJLibDemo DEMO = new AJLibDemo();
private AJLibDemoPanel demoPanel;
private AJLibDemo() {
}
@Override
public String getName() {
return "AJLibDemo";
}
@Override
protected JPanel buildMainPanel() {
if (demoPanel==null) {
demoPanel = new AJLibDemoPanel();
}
return demoPanel;
}
/**
* @param args Program arguments
*/
public static void main(String[] args) {
DEMO.launch();
}
public static void setMessage(String text) {
DEMO.demoPanel.setMessage(text);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy