home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Component;
- import java.awt.Container;
- import java.awt.Frame;
- import java.awt.Window;
-
- public class ParentFrame extends Frame {
- Unpack unpack;
-
- ParentFrame(String label) {
- super(label);
- ((Component)this).resize(250, 250);
- this.unpack = new Unpack(this);
- ((Container)this).add(this.unpack);
- ((Window)this).show();
- }
-
- public void Begin() {
- this.unpack.GetPakFile();
- this.unpack.SetOutputDirectory();
-
- while(!this.unpack.isFinished()) {
- }
-
- this.unpack.CleanUp();
- }
- }
-