FileDocCategorySizeDatePackage
CompressFileFrame.javaAPI DocExample2341Thu Nov 08 00:22:30 GMT 2001com.ora.rmibook.chapter1

CompressFileFrame

public class CompressFileFrame extends ExitingFrame

Fields Summary
private FileTextField
_startingFileTextField
private FileTextField
_destinationFileTextField
Constructors Summary
Methods Summary
protected voidbuildGUI()

        _startingFileTextField = new FileTextField("File to Compress");
        _destinationFileTextField = new FileTextField(new CompressFileAction(), "Destination File");
        JPanel newContentPane = new JPanel(new GridLayout(2, 1));

        newContentPane.add(_startingFileTextField);
        newContentPane.add(_destinationFileTextField);
        setContentPane(newContentPane);
        setSize(250, 300);