请问如何讲JInternalFrame至于最前端
final JPanel search=new JPanel();
search.setLayout(null);
ImageIcon img1 = new ImageIcon("pic/search.png");
double c=(int)x/2-(img1.getIconWidth()+150)/2; double d=(int)y/2-200;
JLabel title = new JLabel(img1); 
search.add(title,new Integer(Integer.MIN_VALUE)); 
title.setBounds(75,0,img1.getIconWidth(),img1.getIconHeight()); 
((JPanel)getContentPane()).setOpaque(false); 
search.setBounds((int)c, (int)d, img1.getIconWidth()+150,500);
search.setOpaque(false);
JTextField text1= new JTextField();
text1.setBounds(0,170,img1.getIconWidth()+150,22);
search.add(text1);

double f=(img1.getIconWidth()+150)/2-105;
JButton look=new JButton("dsf");
look.setBounds((int)f,230,60,22);
search.add(look); JButton newinfo=new JButton("sdf");
newinfo.setBounds((int)f+70,230,60,22);
search.add(newinfo);
newinfo.addActionListener(
new ActionListener(){
public void actionPerformed(ActionEvent event){

JInternalFrame frame= new JInternalFrame("dsf",true,true,true,true);
search.add(frame);
frame.setVisible(true);
frame.toFront();
frame.setBounds(0,0, 600,440);//只接受int类型数据
}
}
);Jbutton和JTextfield总会在JFrame前