public void demo() throws TembooException, IOException, URISyntaxException,
			TwitterException, IllegalArgumentException, FeedException {
		jtbExample = new JTabbedPane();
		
		icon5 = new ImageIcon(this.getClass().getResource("f.png"));
		icon1 = new ImageIcon(this.getClass().getResource("t.png"));
		icon2 = new ImageIcon(this.getClass().getResource("n.png"));
		icon3 = new ImageIcon(this.getClass().getResource("sy.png"));
		icon4 = new ImageIcon(this.getClass().getResource("onion.png"));
		lb1 = new JLabel("Facebook");
		lb2 = new JLabel("Twitter");
		lb3 = new JLabel("NYtimes");
		lb4 = new JLabel("Interact");
		lb5 = new JLabel("theOnion");
		posting = new JLabel("Posting",JLabel.CENTER);
		weather = new JLabel("Weather");
		
		/*
		 * jplInnerPanel1 = createInnerPanel(bob.check()); 
		 * jplInnerPanel2 = createInnerPanel(dave.check());
		 * 
		 * jplInnerPanel3 = createInnerPanel(sally.refresh());
		 
		 jplInnerPanel6 = createInnerPanel(crystal.refresh());
		 
	*/
		
		

		jplInnerPanel1 = createInnerPanel("Facebook");
		jplInnerPanel2 = createInnerPanel("Twitter");
		//jplInnerPanel3 = createInnerPanel("Nytimes");

		//jplInnerPanel6 = createInnerPanel("theOnion");

		jtbExample.addTab("Facebook", icon5, jplInnerPanel1);
		jtbExample.addTab("Twitter", icon1, jplInnerPanel2);
		jtbExample.addTab("News", icon2, jplInnerPanel3);

		jtbExample.addTab("theOnion", icon4, jplInnerPanel6);
		jtbExample.addTab("Interact", icon3, p);

		jtbExample.addTab("Refresh", icon3, jplInnerPanel4);

		addIcon(lb1, icon5, 0);
		addIcon(lb2, icon1, 1);
		addIcon(lb3, icon2, 2);
		addIcon(lb5, icon4, 3);
		addIcon(lb4, icon3, 4);

		jtbExample.setTabComponentAt(5, b1);
		twitter = new JLabel("Twitter:");
		facebook = new JLabel("Facebook:");
		t = new JTextField(15);
		t1 = new JTextField(15);
		city = new JLabel("City:  ");
		state = new JLabel("State:  ");
		istate = new JTextField(15);
		icity = new JTextField(15);
		

		p.setBackground(Color.WHITE);
		p.setLayout(null);
		posting.setFont(new Font("Gothic", Font.BOLD,16));
		weather.setFont(new Font("Gothic", Font.BOLD,16));

		twitter.setFont(new Font("Gothic", Font.PLAIN,14));
		facebook.setFont(new Font("Gothic", Font.PLAIN,14));
		
		posting.setBounds(250,5,80,20);
		weather.setBounds(250,130,80,20);
		
		twitter.setBounds(10,40,80,20);
		t.setBounds(60,40,160,25);
		b2.setBounds(225,40,80,25);
		facebook.setBounds(10,80,80,20);
		t1.setBounds(80,80,160,25);
		b3.setBounds(245,80,80,25);
		
		p.add(posting);
		p.add(twitter);
		p.add(t);
		p.add(b2);
		p.add(facebook);
		p.add(t1);
		p.add(b3);
		
		city.setBounds(10,160,80,20);
		icity.setBounds(40,160,160,25);
		state.setBounds(10,200,80,20);
		istate.setBounds(45,200,160,25);
		bweather.setBounds(60,235,80,25);
		
		p.add(weather);
		p.add(city);
		p.add(icity);
		p.add(state);
		p.add(istate);
		p.add(bweather);
		//b3=facebook. b2==twitter
		b1.addActionListener(this);
		b2.addActionListener(this);
		b3.addActionListener(this);
		bweather.addActionListener(this);
		setLayout(new GridLayout(1, 1));
		add(jtbExample);

	}