This commit is contained in:
pro.boooooo
2022-11-27 13:36:53 +01:00
parent 7dd1cbbf33
commit 24fda790b0
5 changed files with 69 additions and 65 deletions

View File

@@ -8,8 +8,7 @@ package Test;
* */
import javax.swing.*;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.*;
import java.awt.event.WindowEvent;
/**
@@ -114,7 +113,6 @@ public class BFrame extends JFrame {
frame.setLocation(loca_x, loca_y);
frame.setSize(size_x, size_y);
frame.getContentPane().add(content);
JScrollPane scrollPane = new JScrollPane();
frame.getContentPane().add(scrollPane);
scrollPane.setViewportView(content);