The complete Java source code for the Slider example.

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”);
   }
}

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.