Package com.pegaa.uploader.lang

Examples of com.pegaa.uploader.lang.Lang


        initDirectoryChooser();
    }
       
    private void updateStrings()
    {
        Lang lang = (Lang)this.configHolder.getObject("global.lang");
        this.buttonSelectAll.setText(lang.get("fileselector.selectall"));
        this.buttonRemoveSelected.setText(lang.get("fileselector.removeselected"));
    }
View Full Code Here


        setMode(UNIX_MODE);
        prepareUnixModeIcons();
       
        //Unixlerde windowstaki gibi Masaüstü root olmadığı için
        //root icin Bilgisayarım gibi boş file gosteren bir root yaratiriz.
        Lang lang = (Lang)this.config.getObject("global.lang");
        CustomTreeNode rootNode0 = new CustomTreeNode(null, lang.get("directorychooser.mycomputer"));
       
        File homeDir = view.getHomeDirectory();
        CustomTreeNode homeDirNode = new CustomTreeNode(homeDir, homeDir.getAbsolutePath());
        rootNode0.add(homeDirNode);
        CustomTreeNode homeDirNodeChild = new CustomTreeNode();
View Full Code Here

        this.layout.showComponent(this.emptyList, this.selectedFileListMainPanel);
    }
   
    private void updateStrings()
    {
        Lang lang = (Lang)this.configHolder.getObject("global.lang");
        this.emptyList.setText(lang.get("selectedfilelist.emptymessage"), "");
    }
View Full Code Here

        this.model = model;
        this.updateComponents();
    }

    private void updateStrings() {
        Lang lang = (Lang) this.configHolder.getObject("global.lang");
        this.buttonStop.setText((String) lang.get("uploaderui.stop"));
        this.buttonContinue.setText((String) lang.get("uploaderui.continue"));
        this.buttonUploadAgain.setText((String) lang.get("uploaderui.uploadagain"));
    }
View Full Code Here

        this.updateStrings();
    }
   
    private void updateStrings()
    {
        Lang lang = (Lang)this.configHolder.getObject("global.lang");
        this.labelFilePath.setText(lang.get("uploaduiitem.title"));
    }
View Full Code Here

        initLang();
        raiseAppletDeniedEvent();
    }

    private void initLang() {
        Lang lang = (Lang) this.configHolder.getObject("global.lang");
        this.messageLabel.setText(lang.get("fallbackgui.message"));
    }
View Full Code Here

    /**
     *  Sets the texts of components to the selected language
     */
    private void updateStrings()
    {
        Lang lang = (Lang)this.configHolder.getObject("global.lang");
        this.jTabbedPane1.setTitleAt(0, lang.get("fileselection.tab1"));
        this.jTabbedPane1.setTitleAt(1, lang.get("fileselection.tab2"));
    }
View Full Code Here

     *
     * @param e
     */
    public void actionPerformed(ActionEvent e) {
        if(selectedFileListmodel.getSize() == 0){
            Lang lang = (Lang)this.configHolder.getObject("global.lang");
            javax.swing.JOptionPane.showMessageDialog(this, lang.get("fileselection.selectfile"));
            return;
        }
        this.notifyListeners(e);
    }
View Full Code Here

     *  Update component's components' text to the selected language
     *
     */
    private void updateStrings()
    {
        Lang lang = (Lang)this.configHolder.getObject("global.lang");
        //this.buttonHelp.setText(lang.get("bottomtoolbar.help"));
        this.buttonUpload.setText(lang.get("bottomtoolbar.upload"));
       
        TargetFolderData data = (TargetFolderData)comboModel.getElementAt(0);
        data.setText(lang.get("bottomtoolbar.choose"));
    }
View Full Code Here

        this.map.put("image.maxwidth", applet.getParameter("max-width"));
        this.map.put("image.maxheight", applet.getParameter("max-height"));
    }

    public void initLang(JApplet applet) {
        Lang lang = new Lang(applet);
        this.map.put("global.lang", lang);
    }
View Full Code Here

TOP

Related Classes of com.pegaa.uploader.lang.Lang

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.