{filelink=4}
import com.l2fprod.common.swing.JButtonBar;
import com.l2fprod.common.swing.JOutlookBar;
import com.l2fprod.common.swing.JTaskPane;
import javax.swing.*;
import java.awt.*;
public class Accueil extends JFrame
{
public Accueil()
{
JPanel p=new JPanel();
JPanel p2=new JPanel();
JOutlookBar bar=new JOutlookBar();
JButton bt1=new JButton("Buton1");
JButton bt2=new JButton("Buton2");
p.add(bt1);
p2.add(bt2);
bar.add(p);
bar.add(p2);
add(bar);
}
public static void main(String arg[])
{
try {
UIManager.setLookAndFeel( "org.jvnet.substance.skin.SubstanceOfficeSilver2007LookAndFeel");
} catch (Exception e) {
e.printStackTrace();
}
Accueil obj=new Accueil();
obj.setSize(800, 600);
obj.setVisible(true);
}
}