请高手帮一下忙,怎样在JBuilde中的JList加入滚动面板
font_List.setBounds(25, 62, 132, 128); //位置
JScrollPane scrollPane = new JScrollPane(font_List);
//this.add(scrollPane);
//getContentPane().add(font_List);
this.add(scrollPane);
这样加入到滚动面板就不见控件了
font_List.setBounds(25, 62, 132, 128); //位置
JScrollPane scrollPane = new JScrollPane(font_List);
//this.add(scrollPane);
//getContentPane().add(font_List);
this.add(scrollPane);
这样加入到滚动面板就不见控件了





2008-7-13 18:11
