该文件中包含有源代码及一部分的文档,该系统是一个小型的英语单词字典的系统.

源代码在线查看: control.java~3~

软件大小: 4498 K
上传用户: as7512158
关键词: 有源 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				package english;
				
				import java.awt.*;
				
				import javax.swing.*;
				import java.awt.Dimension;
				import java.awt.BorderLayout;
				
				public class Control extends JPanel {
				    FlowLayout flowLayout1 = new FlowLayout();
				    JSlider jSlider1 = new JSlider();
				    JButton jButton1 = new JButton();
				    JButton jButton2 = new JButton();
				    JButton jButton3 = new JButton();
				
				    public Control() {
				        try {
				            jbInit();
				        } catch (Exception exception) {
				            exception.printStackTrace();
				        }
				    }
				
				    private void jbInit() throws Exception {
				        this.setLayout(flowLayout1);
				        this.setPreferredSize(new Dimension(70, 230));
				        this.setToolTipText("");
				        jSlider1.setOrientation(JSlider.VERTICAL);
				        jButton1.setText("stop");
				        jButton2.setText("pause");
				        jButton3.setText("play");
				        this.add(jButton3);
				        this.add(jButton2);
				        this.add(jButton1);
				        this.add(jSlider1);
				    }
				}
							

相关资源