Package net.sf.launch4j.config

Examples of net.sf.launch4j.config.Msg


* @author Copyright (C) 2006 Grzegorz Kowal
*/
public class MessagesFormImpl extends MessagesForm {

  public MessagesFormImpl(Bindings bindings) {
    Msg m = new Msg();
    bindings.addOptComponent("messages", Msg.class, _messagesCheck)
        .add("messages.startupErr", _startupErrTextArea,   m.getStartupErr())
        .add("messages.bundledJreErr", _bundledJreErrTextArea, m.getBundledJreErr())
        .add("messages.jreVersionErr", _jreVersionErrTextArea, m.getJreVersionErr())
        .add("messages.launcherErr", _launcherErrTextArea, m.getLauncherErr())
        .add("messages.instanceAlreadyExistsMsg", _instanceAlreadyExistsMsgTextArea,
            m.getInstanceAlreadyExistsMsg());
  }
View Full Code Here


    addTrue(SPLASH_TIMEOUT_ERR, splash.isTimeoutErr());
    addBitmap(SPLASH_BITMAP, splash.getFile());
  }
 
  private void addMessages(Config c) {
    Msg msg = c.getMessages();
    if (msg == null) {
      msg = new Msg();
    }
    addText(STARTUP_ERR, msg.getStartupErr());
    addText(BUNDLED_JRE_ERR, msg.getBundledJreErr());
    addText(JRE_VERSION_ERR, msg.getJreVersionErr());
    addText(LAUNCHER_ERR, msg.getLauncherErr());
    if (c.getSingleInstance() != null) {
      addText(INSTANCE_ALREADY_EXISTS_MSG, msg.getInstanceAlreadyExistsMsg());
    }
  }
View Full Code Here

    addTrue(SPLASH_TIMEOUT_ERR, splash.isTimeoutErr());
    addBitmap(SPLASH_BITMAP, splash.getFile());
  }
 
  private void addMessages(Config c) {
    Msg msg = c.getMessages();
    if (msg == null) {
      msg = new Msg();
    }
    addText(STARTUP_ERR, msg.getStartupErr());
    addText(BUNDLED_JRE_ERR, msg.getBundledJreErr());
    addText(JRE_VERSION_ERR, msg.getJreVersionErr());
    addText(LAUNCHER_ERR, msg.getLauncherErr());
    if (c.getSingleInstance() != null) {
      addText(INSTANCE_ALREADY_EXISTS_MSG, msg.getInstanceAlreadyExistsMsg());
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.launch4j.config.Msg

Copyright © 2018 www.massapicom. 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.