问题描述:
就下面那堆代码哪位大神帮我解释下,我不是很了解 JScrollPane 这个东西
private JPanel friendlistPanel;
private JScrollPane jsp1;
public FriendInterface() {
friendlistPanel = new JPanel();
jsp1 =new JScrollPane(friendlistPanel);
this.friendlistPanel.setLayout(new GridLayout(20,1));
}
private JPanel friendlistPanel;
private JScrollPane jsp1;
public FriendInterface() {
friendlistPanel = new JPanel();
jsp1 =new JScrollPane(friendlistPanel);
this.friendlistPanel.setLayout(new GridLayout(20,1));
}
问题解答:
我来补答展开全文阅读