## Problem in stoping the rpeating number

import BreezySwing.*;
import javax.swing.*;
import java.awt.*;

public class Lottery extends GBFrame{

private JLabel ALbl, BLbl, CLbl, DLbl, ELbl, FLbl, SLbl;
private IntegerField AIf, BIf, CIf, DIf, EIf, FIf, SIf;
private JButton startBtn, clearBtn;

public Lottery(){
// Lables
ALbl = addLabel("A", 1, 1, 1, 1);
BLbl = addLabel("B", 1, 2, 1, 1);
CLbl = addLabel("C", 1, 3, 1, 1);
DLbl = addLabel("D", 1, 4, 1, 1);
ELbl = addLabel("E", 1, 5, 1, 1);
FLbl = addLabel("F", 1, 6, 1, 1);
SLbl = addLabel("S", 1, 7, 1, 1);

//Intger Fields
AIf = addIntegerField(0, 2, 1, 1, 1);
BIf = addIntegerField(0, 2, 2, 1, 1);
CIf = addIntegerField(0, 2, 3, 1, 1);
DIf = addIntegerField(0, 2, 4, 1, 1);
EIf = addIntegerField(0, 2, 5, 1, 1);
FIf = addIntegerField(0, 2, 6, 1, 1);
SIf = addIntegerField(0, 2, 7, 1, 1);
SIf.setBackground(new Color(255, 255, 0));

//Buttons
startBtn = addButton("Start", 3, 1, 2, 1);
clearBtn = addButton("Clear", 3, 4, 2, 1);

// Size && visiblity && Title
setTitle("Lottery Number Generator By >>MujiCom<<");
setSize(500, 250);
setVisible(true);
}

public void buttonClicked(JButton btn){

if(btn == startBtn){
AIf.setNumber((int)(Math.random() * 98 + 1));
BIf.setNumber((int)(Math.random() * 98 + 1));
CIf.setNumber((int)(Math.random() * 98 + 1));
DIf.setNumber((int)(Math.random() * 98 + 1));
EIf.setNumber((int)(Math.random() * 98 + 1));
FIf.setNumber((int)(Math.random() * 98 + 1));
SIf.setNumber((int)(Math.random() * 98 + 1));

}else if(btn == clearBtn){
AIf.setNumber(0);
BIf.setNumber(0);
CIf.setNumber(0);
DIf.setNumber(0);
EIf.setNumber(0);
FIf.setNumber(0);
SIf.setNumber(0);
}

}

public static void main(String[] args){
new Lottery();
}
}

Iwould like to add a code that will not allow the programe to rpeat the numbers like A != B and B != C and C != D and ....