You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 37,javax.swing.GroupLayout.PREFERRED_SIZE).addGap(66, 66, 66)));javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());getContentPane().setLayout(layout);layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE));layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE));setBounds(0, 0, 427, 130);}// //GEN-END:initComponentsprivate void jlPlayMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jlPlayMouseClicked// TODO add your handling code here:mediaPlayer.start();}//GEN-LAST:event_jlPlayMouseClickedprivate void jlStopMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jlStopMouseClicked// TODO add your handling code here:mediaPlayer.close();mediaPanel.setVisible(false);}//GEN-LAST:event_jlStopMouseClickedprivate void jlPauseMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jlPauseMouseClicked// TODO add your handling code here:mediaPlayer.stop();}//GEN-LAST:event_jlPauseMouseClickedprivate void jlOpenMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jlOpenMouseClicked// TODO add your handling code here:JFileChooser f = new JFileChooser();int result = f.showOpenDialog(null);if (result == JFileChooser.APPROVE_OPTION) {mediaURL = null;try {mediaURL = f.getSelectedFile().toURI().toURL();jlNazivFajla.setText(f.getSelectedFile().getName());} catch (MalformedURLException ex) {20