import java.awt.*;
import javax.swing.*;
public class douban extends JFrame
{
public douban()
{
Container container=getContentPane();
JScrollPane scrollPane11=new JScrollPane();
scrollPane11.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
scrollPane11.setBounds(60,290,240,280);
scrollPane11.setBackground(Color.green);
JScrollPane scrollPane12=new JScrollPane();
scrollPane12.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
scrollPane12.setBounds(60,190,240,150);
scrollPane12.setBackground(Color.yellow);
scrollPane12.setLayout(null);
scrollPane11.setLayout(null);
JPanel p1=new JPanel(); 
JPanel p3=new JPanel();
JPanel p2=new JPanel();
JPanel p4=new JPanel();
p1.setLayout(null);
p1.setBackground(Color.cyan);
p1.setBounds(2,2,360,640);
p2.setLayout(null);
p2.setBackground(Color.green);
p2.setBounds(2,2,1,1);
p3.setLayout(null);
p3.setBackground(Color.yellow);
p3.setBounds(60,180,240,150);
p4.setLayout(null);
p4.setBounds(80,70,200,100);
JLabel lblImage1= new JLabel(new ImageIcon("ai.jpg"));
lblImage1.setBounds(0, 0, 240, 150); 
JLabel lblImage2= new JLabel(new ImageIcon("ai4.jpg"));
lblImage2.setBounds(0, 0, 200, 100);
JLabel lblImage3= new JLabel(new ImageIcon("ai6.jpg"));
lblImage3.setBounds(0, 0, 40, 40); 
JButton button1=new JButton("华语MHZ");
    JButton button2=new JButton("八零MHZ");
JButton button3=new JButton("欧美MHZ");
JButton button4=new JButton("电影主题MHZ");
JButton button5=new JButton("轻音乐MHZ");
JButton button6=new JButton(new ImageIcon("shou.png"));
JButton button7=new JButton(new ImageIcon("xia.png"));
        JButton button8=new JButton(new ImageIcon("la.png"));
JButton button9=new JButton("登录");
JButton button10=new JButton("华语MHZ");
    JButton button11=new JButton("八零MHZ");
JButton button12=new JButton("欧美MHZ");
button1.setBounds(0,0,240,70);
button1.setBackground(Color.green);
button2.setBounds(0,70,240,70);
button2.setBackground(Color.green);
button3.setBounds(0,140,240,70);
button3.setBackground(Color.green);
button4.setBounds(0,210,240,70);
button4.setBackground(Color.green);
button5.setBounds(0,280,240,70);
button5.setBackground(Color.green);
button10.setBounds(0,350,240,70);
button10.setBackground(Color.green);
button11.setBounds(0,420,240,70);
button11.setBackground(Color.green);
button12.setBounds(0,490,240,70);
button12.setBackground(Color.green);
button6.setBounds(87,53,22,22);
button7.setBounds(119,53,22,22);
button8.setBounds(151,53,22,22);
button9.setBounds(280,0,60,20);
//6.setBounds(0,350,240,70);
//6.setBackground(Color.green);
//7.setBounds(0,420,240,70);
//7.setBackground(Color.green);
//8.setBounds(0,490,240,70);
//8.setBackground(Color.green);
p2.add(button1);
p2.add(button2);
p2.add(button3);
        p2.add(button4);
p2.add(button5);
p2.add(button10);
    p2.add(button11);
p2.add(button12);
p3.add(lblImage1);

p4.add(button6);
p4.add(button7);
p4.add(button8);
p4.add(lblImage2);
scrollPane11.add(p2);
scrollPane12.add(p3);
p1.add(lblImage3);
p1.add(button9);
p1.add(scrollPane11);
p1.add(scrollPane12);
p1.add(p3);
p1.add(p4);

container.add(p1); }
public static void main(String args[])
{
douban frame=new douban();
frame.setSize(360,640);
frame.setLocation(600,60);
frame.setUndecorated(true);
frame.setVisible(true);
}
}