辅导:JAVA写的MP3标签读写器
来源:优易学  2011-10-6 22:37:52   【优易学:中国教育考试门户网】   资料下载   IT书店

  public String getYear() {
   return year;
  }
  public void setYear(String year) {
   this.year = year;
  }
  }
  
  编辑对话框的代码:
  /*
  * SongInfoDialog.java
  *
  * Created on 2007年11月26日, 下午4:12
  */
  package com.hadeslee.music;
  import java.awt.Dialog;
  import java.awt.Frame;
  import java.io.File;
  import java.io.RandomAccessFile;
  import java.util.logging.Level;
  import java.util.logging.Logger;
  /**
  *
  * @author hadeslee
  */
  public class SongInfoDialog extends javax.swing.JDialog {
  private SongInfo info;//歌曲信息对象
  private File file;//文件对象
  private boolean valid;//表示原来这个文件是不是合法的,如果不是,就要重新写入128个字节
  /** Creates new form SongInfoDialog */
  public SongInfoDialog(java.awt.Frame parent, boolean modal) {
   super(parent, modal);
   initComponents();
  }
  public SongInfoDialog(Dialog parent, boolean modal) {
    super(parent, modal);
   initComponents();
  }
  public SongInfoDialog(Frame parent, boolean modal, File file) {
   this(parent, modal);
   this.file = file;
   init();
  }

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]  ... 下一页  >> 

责任编辑:小草

文章搜索:
 相关文章
热点资讯
资讯快报
热门课程培训