Examples of MainPanel


Examples of atkpanel.MainPanel

     * @param initialize the model of the bean.
     */
    public void createView() {
        if(m_atkPanel == null)
        {
            m_atkPanel = new MainPanel(deviceName,false,expertMode,!expertMode);
            m_atkPanel.pack();
            m_atkPanel.setLocation(xLocation, yLocation);
            m_atkPanel.setVisible(false);
            setBackground(background);
        }
View Full Code Here

Examples of atkpanel.MainPanel

        }

    }

    private void jButtonAtkPanelActionPerformed(java.awt.event.ActionEvent evt) {
        new MainPanel(getModel(), false, true, false, false);
    }
View Full Code Here

Examples of atkpanel.MainPanel

        }

    }

    private void jButtonAtkPanelActionPerformed(java.awt.event.ActionEvent evt) {
        new MainPanel(getModel(), false, true, false, false);
    }
View Full Code Here

Examples of atktuning.MainPanel

        else if(applicationName.equals(ApplicationView.TUNNING_VIEW)){
            if(m_frame == null)
            {
                if(configFileName.trim().equals(""))
                    configFileName = JOptionPane.showInputDialog(null, "Please enter the name of configuration file");
                m_frame = new MainPanel(configFileName,false,isCommandVisible);
            }
        }
    }
View Full Code Here

Examples of barsuift.simLife.j2d.panel.MainPanel

     *
     * @param universe the new universe to display
     */
    public void changeUniverse(Universe universe) {
        mainPanel = null;
        mainPanel = new MainPanel(universe);
        setContentPane(mainPanel);
        validate();
    }
View Full Code Here

Examples of barsuift.simLife.j2d.panel.MainPanel

     *
     * @param universe the new universe to display
     */
    public void changeUniverse(UniverseContext universeContext) {
        mainPanel = null;
        mainPanel = new MainPanel(universeContext);
        setContentPane(mainPanel);
        validate();
    }
View Full Code Here

Examples of br.com.gmartins.simbler.components.MainPanel

        return saveAsFileChooser;
    }

    public void eventNew() {
        // Cria um novo Painel
        MainPanel newTab = new MainPanel();
        // Adiciona a nova aba ao JTabbedPane
        Principal.getInstance().getTabbedPane().addTab(Text.get("general.new_file"), newTab);
        // Define o Initial Code como vazio. Será usado ao fechar esta aba, para saber se é necessário salvar o arquivo.
        newTab.setInitialCode("");
        // Seleciona a aba adicionada
        Principal.getInstance().getTabbedPane().setSelectedComponent(newTab);
        newTab.getCodeTextArea().requestFocus();
    }
View Full Code Here

Examples of br.com.gmartins.simbler.components.MainPanel

        JFileChooser fc = new JFileChooser(properties.getProperty(PropertiesConstants.LAST_PATH)); // Se ja foi aberto, pega o último caminho usado
        fc.setAcceptAllFileFilterUsed(false); // Retira "All Files"
        fc.addChoosableFileFilter(new FileFilterEniac()); // Adiciona o Filtro
        int returnVal = fc.showOpenDialog(fc);
        if (returnVal == JFileChooser.APPROVE_OPTION) {
            MainPanel panel = new MainPanel();
            EniacCodeConverter eniac = new EniacCodeConverter(this.getMainPanel());
            // Define o diretório pai do arquivo selecionado como último caminho usado.
            properties.setProperty(PropertiesConstants.LAST_PATH, fc.getSelectedFile().getParent());
            eniac.setSourceFile(fc.getSelectedFile());
            eniac.execute();
View Full Code Here

Examples of br.com.gmartins.simbler.components.MainPanel

                }
            }

            properties.setProperty(PropertiesConstants.LAST_PATH, file.getParent());

            final MainPanel panel = new MainPanel();
            try {
                panel.setFile(file);
            } catch (FileNotFoundException ex) {
                Logger.getLogger(FileEventsHelper.class.getName()).log(Level.SEVERE, null, ex);
            }
            // Define o código inicial para saber se deve ou não ser salvo posteriormente.
            Principal.getInstance().getTabbedPane().addTab(file.getName(), panel);
View Full Code Here

Examples of com.eastmountain.chinese.gui.MainPanel

       
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
           
            public void run() {
               
                new MainPanel( "HZ Flashcards" );
               
            }
           
        } );
View Full Code Here
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.