一道java编程题,悬赏有大佬会做吗?

需求:编写一个班级推优(优秀学生干部)投票管理程序。列出参与推优的学生名单(6名),可以勾选进行投票,要求每个参选学生前面有图标表示候选人的职务,每人可以投3票,每次投票后能够显示当前投票人数以及每名候选者得票数,图形化柱状图显示得票数,可以保存投票结果到文本文件。

要求:提供完整程序代码以及运行结果截图

没太大问题,都会采纳!

public class VoteOperate {
private Person[] per = {new Person("小张",001,0),new Person("小王",002,0), new Person("小夏",003,0),
new Person("丁丁",004,0),new Person("刘强",005,0),new Person("小赵",006,0)};
private InputData input ;
private boolean flag = true;
private int sum;
private int errorVote;

public VoteOperate()
{
    this.input =  new InputData();
    while(flag)
    {
        ++sum;
        this.voteForCandidate();
    }
    this.printInfo();
    this.getResulet();
}
public class VoteOperate {
    private Person[] per = {new Person("小张",001,0),new Person("小王",002,0), new Person("小夏",003,0),
        new Person("丁丁",004,0),new Person("刘强",005,0),new Person("小赵",006,0)};

    private InputData input ;
    private boolean flag = true;
    private int sum;
    private int errorVote;

    public VoteOperate()
    {
        this.input =  new InputData();
        while(flag)
        {
            ++sum;
            this.voteForCandidate();
        }
        this.printInfo();
        this.getResulet();
    }

https://wenku.baidu.com/view/e62bd4f10875f46527d3240c844769eae009a38d.html