package application.draw; import java.awt.BorderLayout; import java.awt.Point; import java.awt.Rectangle; import java.awt.Robot; import java.awt.image.BufferedImage; import java.util.Vector; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import controlledparts.*; /** * This code was edited or generated using CloudGarden's Jigloo * SWT/Swing GUI Builder, which is free for non-commercial * use. If Jigloo is being used commercially (ie, by a corporation, * company or business for any purpose whatever) then you * should purchase a license for each developer using Jigloo. * Please visit www.cloudgarden.com for details. * Use of Jigloo implies acceptance of these licensing terms. * A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR * THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED * LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE. */ public class MovieFrame extends ControlledFrame implements FrameWithControlledButton, StateContainer, Runnable { private JLabel jLabel1; private ControlledButton startButton; private ControlledButton stopButton; private DrawFrame gui; private Vector buttons; Thread me=null; public MovieFrame(){ this.setTitle("sending movie"); } public MovieFrame(DrawFrame gui){ this.setTitle("sending movie"); this.setEnabled(true); this.gui=gui; this.initGUI(); this.buttons=new Vector(); this.buttons.addElement(this.startButton); this.buttons.addElement(this.stopButton); for(int i=0;i