Package ru.jnano.swing.viewframework

Source Code of ru.jnano.swing.viewframework.SimpleApplicationDemo

package ru.jnano.swing.viewframework;

import org.viewaframework.annotation.View;
import org.viewaframework.annotation.Views;
import org.viewaframework.core.DefaultApplication;
import org.viewaframework.core.DefaultApplicationLauncher;
import org.viewaframework.view.perspective.PerspectiveConstraint;

@Views({
  @View(type=SimpleApplicationRootView.class,isRoot=true),
  @View(type=NavigationView.class,position=PerspectiveConstraint.LEFT)
})

public class SimpleApplicationDemo extends DefaultApplication{
  public static void main(String[] args) throws Exception {
    new DefaultApplicationLauncher().execute(SimpleApplicationDemo.class);
  }

}
TOP

Related Classes of ru.jnano.swing.viewframework.SimpleApplicationDemo

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.