- private JScrollPane noteView() {
- JScrollPane scrollPane = new JScrollPane(table);
- table.setPreferredScrollableViewportSize(new Dimension(500, 70));
- return scrollPane;
+ private JPanel noteView() {
+ notes = new JPanel();
+ notes.setLayout(new GridLayout());
+ notes.setBackground(Color.white);
+ return notes;