 /*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 * Copyright 2010 Gdansk University of Technology,
 * Dept. of Biomedical Engineering, Gdansk, Poland
 * All rights reserved. Use is subject to license terms.
 *
 * This file is available and licensed under the following license:
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are not permitted without written permission from the copyright
 * holders.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package org.cemte.jacek.mpo;

import java.awt.BorderLayout;
import java.awt.Button;
import javax.swing.JFrame;


public class TestPPOB extends JFrame{
    public TestPPOB (String s){
        super(s);
    }
    
    public static void main(String [] a){
        TestPPOB tp = new TestPPOB("Przetw. obrazow");
        Button b1 = new Button("obrazek");
        tp.add(b1, BorderLayout.CENTER);
        
        Button b = new Button("Przycisnij mnie...");
        tp.add(b, BorderLayout.SOUTH);
        tp.setSize(500,500);
        tp.setVisible(true);
        
        
    }
}
