package com.sibvisions.apps.customlogin; import jvx.rad.application.genui.UILauncher; import com.sibvisions.apps.projx.ILogin; import com.sibvisions.apps.projx.ProjX; public class MyCustomApplication extends ProjX { public MyCustomApplication(UILauncher pLauncher) throws Throwable { super(pLauncher); } @Override protected ILogin createLogin() throws Throwable { if (getLauncher().isWebEnvironment()) { return new MyCustomLogin(); } return super.createLogin(); } }