$
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user