btnCalc_Class
1| import javax.swing.*;
2| import java.awt.event.*;
3|
4| public class btnCalc_Class extends JFrame implements ActionListener
5| {
6| final static long serialVersionUID = 5;
7|
8| Control_Class oC;
9|
10| public btnCalc_Class(Control_Class oControl)
11| {
12| oC = oControl;
13| }
14|
15| public void actionPerformed(ActionEvent e)
16| {
17| Generate_Class oGen = new Generate_Class();
18| oGen.Gen_Rand(oC.oTF);
19| oC.oJP2.setVisible(true);
20| }
21|
22| }