
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;

import presentation.AlbumPhoto;

import abstraction.Album;


public class FirstFrame extends JFrame {
	
//	public FirstFrame(){
//		super("Première fenètre");
//		this.setDefaultCloseOperation(EXIT_ON_CLOSE);
//		Container contentPane = this.getContentPane();
//		AlbumPhoto a = new AlbumPhoto();
//		contentPane.add(a.slide,BorderLayout.EAST);
//		contentPane.add(a.liste,BorderLayout.WEST);
//		contentPane.add(a.centre,BorderLayout.CENTER);
//	    contentPane.add(a.panelBas,BorderLayout.SOUTH);
//		contentPane.add(a.panelHaut,BorderLayout.NORTH);
//		
//	}
//	
//	public JButton ajoutcompteur(){
//		final JButton bouton = new JButton("0");
//		bouton.addActionListener(
//			new ActionListener(){
//				public void actionPerformed ( ActionEvent e ) {
//				bouton.setText(Integer.toString(Integer.parseInt(bouton.getText())+1));
//				}
//			}
//		);
//		return bouton;
//		
//	}
	

	public static void main(String[] args) {
		Album al = new Album("H:/Cours/info/java IHM/Fichiers-annexes2/Fichiers annexes/img");
		AlbumPhoto a = new AlbumPhoto(al);
	}

}
