Someone
public text v1 · immutable JPanel fourLabelPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT,5,10));
JLabel fourLabel = new JLabel("Grade 4:");
fourLabelPanel.add(fourLabel);
JPanel fourPanel = new JPanel(new FlowLayout(FlowLayout.LEFT,5,10));
gradeFour = new JTextField(5);
fourPanel.add(gradeFour);
center.add(fourLabelPanel);
center.add(fourPanel);