The complete Java source code for the Slider example.
- By Frank Sauer
- September 24, 2001
Enterprise Java
XMLTalk: A framework for automatic GUI rendering from XML specs
by Frank Sauer
Listing 1. The complete Java source code for the Slider example.
public class SliderExample
extends ApplicationModel {
public static void main(String argv[]) {
(new SliderExample()).open();
}
public void windowClosed() {
System.exit(1);
}
public URL getUI() {
return
getClass().getResource(
“sliderexample.xml”);
}
}