I wrote it with Swing,based on MySQL Database System