import java.awt.*;
import javax.swing.*;
import java.awt.event.*;

public class Frame extends JFrame {
  ResizableDecorator label1 =  new ResizableDecorator(new JLabel(" Label1"));
  ResizableDecorator button1 = new ResizableDecorator(new JButton("Button"));
  
  public Frame() {
  	
  	this.setDefaultCloseOperation(EXIT_ON_CLOSE);
    this.getContentPane().setLayout(null);
    label1.setBounds(new Rectangle(10, 10, 120, 25));
    button1.setBounds(new Rectangle(10, 60, 120, 25));
    this.getContentPane().add(label1, null);
    this.getContentPane().add(button1, null);
    
  }
  
  public static void main(String[] args) 
  {
    Frame frame = new Frame();
    frame.setBounds(0, 0, 200, 200);
    frame.setVisible(true);
  }

}