Package com.jgoodies.uif.application

Examples of com.jgoodies.uif.application.ApplicationDescription


    private void configureNetwork()
    {
        // Configure XML-RPC package to use Unicode
        XmlRpc.setEncoding("UTF-8");

        ApplicationDescription description = Application.getDescription();
        System.setProperty("http.agent", description.getProductText() +
            " (" + description.getVendorURL() + ") " + System.getProperty("java.version"));
        System.setProperty("http.agent.discoverer", description.getProductText() + " Discoverer" +
            " (" + description.getVendorURL() + ") " + System.getProperty("java.version"));

        // Create and initialize caching authenticator
        IPersistenceManager persistenceManager = PersistenceManagerConfig.getManager();
        IPasswordsRepository passwordsRepository = persistenceManager.getPasswordsRepository();
        Authenticator.setDefault(new CachingAuthenticator(passwordsRepository));
View Full Code Here


     */
    private static synchronized ApplicationDescription getDescription()
    {
        if (description == null)
        {
            description = new ApplicationDescription(
                "BlogBridge",                    // Application short name
                "BlogBridge",                    // Application long name
                CURRENT_VERSION,                 // Version
                CURRENT_VERSION + " - " + getMonthYear(), // Full version
                Strings.message("appdescriptor.description"),     // Description
View Full Code Here

     *
     * @param feedTitle puts the name of selected feed into the title.
     */
    private void setFeedTitle(String feedTitle)
    {
        ApplicationDescription description = Application.getDescription();
        setTitle("BlogBridge - " +
            (feedTitle != null ? feedTitle + " - " : "") +
            description.getVersion());
    }
View Full Code Here

TOP

Related Classes of com.jgoodies.uif.application.ApplicationDescription

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.