谁帮我做做这两道java题!?高手帮忙啊

来源:百度知道 编辑:UC知道 时间:2024/05/16 17:16:37
The LFG must be further studied to find the most appropriate LFG values that
produce “more random” sequences. A useful and simple technique is to use a visual
aid. For example, below is a Java program that plots the values of the random
sequence as a bar graph. It can also be used to generate a statistical plot of the
frequency of occurrences of each number in the random sequence.

Task
Write your own version of the visualiser tool for the part 1, LFG sequences. Your
Java program must be capable of generating bar graphs for both the raw sequence of
numbers, and a statistical plot of the frequency of occurrence of each number in the
sequence. Your program must allow the user to select a colour scheme, and setup the
parameter values. Errors in the value of the parameters can be displayed as a message
box or sent to the standard error stream.
The bar graphs are self-adjusting. That is, depending on the size of the sequence o

为工具的第1部分撰写您自己版本的visualiser,LFG 序列。你Java程序必须能够产生条形图为原料序列号码,以及统计情节出现的频率每个号码

看不懂啊

//Visualiser.java
public class Visualiser{
JFrame jfr=new Jframe();
JLabel jb=new JLabel();
jfr.add(jb);
……
public static void main(){
jfr.show();
}