package com.bdaum.dukeSpeaks; (Apache web server for windows) import java.awt.GridLayout; import javax.swing.JPanel; public class

package com.bdaum.dukeSpeaks; import java.awt.GridLayout; import javax.swing.JPanel; public class PlayerPanel { // The data model private PlayerModel playerModel; // The JPanel instance for the face private JPanel face; private javax.swing.JPanel contentPane = null; private javax.swing.JPanel controlAreaPane = null; private javax.swing.JPanel leftSlidersPanel = null; private javax.swing.JPanel centerPanel = null; private javax.swing.JPanel rightSlidersPanel = null; private javax.swing.JPanel volumePanel = null; private javax.swing.JLabel volumeLabel = null; private javax.swing.JSlider volumeSlider = null; private javax.swing.JPanel speedPanel = null; private javax.swing.JLabel speedLabel = null; private javax.swing.JSlider speedSlider = null; private javax.swing.JPanel pitchPanel = null; private javax.swing.JLabel pitchLabel = null; private javax.swing.JSlider pitchSlider = null; private javax.swing.JPanel rangePanel = null; private javax.swing.JLabel rangeLabel = null; private javax.swing.JSlider rangeSlider = null; private javax.swing.JPanel textAndButtonPanel = null; private javax.swing.JLabel textAreaLabel = null; private javax.swing.JPanel buttonPanel = null; private javax.swing.JButton speakButton = null; private javax.swing.JButton deleteButton = null; private javax.swing.JTextArea textInputArea = null; private javax.swing.JLabel jLabel5 = null; private javax.swing.JLabel jLabel6 = null; /** * */ public PlayerPanel(PlayerModel playerModel, JPanel face) { super(); // Save parameters into fields this.playerModel = playerModel; this.face = face; } /** * Method updateSliders. * updates all the sliders with values from the PlayerModel. */ private void updateSliders() { // Volume 97 Project One: Duke Speaks Listing 5.7 (Continues)
Do you want truly affordable web hosting? With us, what you see is what you get, just click on affordable web hosting services.

Leave a Reply