Package com.main.gui

Examples of com.main.gui.JMP3Propriedades


        } else if (e.getSource() == jMenuItemAdicionar) {
            adicionarMusicasSelecionadas();
        } else if (e.getSource() == jMenuItemEditar) {
            try {
                MusicaS musica = objModelMusicas.getItem(converterIndiceTabelaMusica(jTableMusicas.getSelectedRow()));
                JMP3Propriedades jmP3Propriedades = new JMP3Propriedades(this, true, musica);
                jmP3Propriedades.setVisible(true);
                MusicaS novaMusica = jmP3Propriedades.getNovaMusica();
                if (novaMusica != null) {
                    objModelMusicas.atualizarItem(novaMusica, jTableMusicas.getSelectedRow());
                }
               
            } catch (Exception ex) {
View Full Code Here


    private void abrirPropriedades() {
        int linha = jTable.getSelectedRow();
        MusicaS musica = (MusicaS) jTable.getValueAt(linha, 0);
        try {
            new JMP3Propriedades(principal, true, musica).setVisible(true);
            jTable.setValueAt(musica, linha, 0);
        } catch (Exception ex) {
            Logger.getLogger(JPlayList.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
View Full Code Here

TOP

Related Classes of com.main.gui.JMP3Propriedades

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.