私が取り組んでいるこのアプレットの正しいコードは何ですか? int 型の配列を Arraylist に追加する必要があるだけです...太字が主な問題です (残りが機能する場合... -__-)!
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import javax.swing.*;
import java.text.DecimalFormat;
import java.util.ArrayList;
public class BinomialExpander extends JApplet implements ActionListener
{
JLabel lblFahrenheit;
JLabel lblCelsius;
JLabel outputCelsius;
JTextField txtFahrenheit;
double degreesFahrenheit;
FlowLayout layout;
ArrayList<int[]> pascalsT = new ArrayList<int[]>();
private int[] pascal1 = {1,1};
private int[] pascal2 = {1,2,1};
private int[] pascal3 = {1,3,3,1};
private int[] pascal4 = {1,4,6,4,1};
private int[] pascal5 = {1,5,10,10,5,1};
private int[] pascal6 = {1,6,15,20,15,6,1};
private int[] pascal7 = {1,7,21,35,35,21,7,1};
private int[] pascal8 = {1,8,28,56,70,56,28,8,1};
private int[] pascal9 = {1,9,36,84,126,84,36,9,1};
private int[] pascal10 = {1,10,45,120,210,120,45,10,1};
...
}