import java.awt.*; import oracle.jdeveloper.layout.*; public class FMS extends Frame { XYLayout xYLayout1 = new XYLayout(); Label Path = new Label(); TextField tf_Path = new TextField(); Button button1 = new Button(); Button Browse = new Button(); Label l_Sent = new Label(); TextField tf_Sent = new TextField(); Button button2 = new Button(); Button button3 = new Button(); Label l_InBox = new Label(); TextField tf_InBox = new TextField(); Button button4 = new Button(); Button button5 = new Button(); Label l_OffLine = new Label(); TextField tf_OffLine = new TextField(); Button button6 = new Button(); Button button7 = new Button(); Button button8 = new Button(); Button b_Update = new Button(); Button b_Cancel = new Button(); Button button11 = new Button(); public FMS() { super(); try { jbInit(); } catch (Exception e) { e.printStackTrace(); } } private void jbInit() throws Exception { this.setTitle("File Manager Server"); this.setResizable(false); xYLayout1.setHeight(367); Path.setText("Path"); tf_Path.setText("Path"); button1.setLabel("button1"); Browse.setLabel("Browse"); l_Sent.setText("Sent Folder"); tf_Sent.setText("tf_Sent"); button3.setLabel("button3"); l_InBox.setText("InBox"); tf_InBox.setText("tf_InBox"); button5.setLabel("button5"); l_OffLine.setText("OffLine Folder"); tf_OffLine.setText("tf_OffLine"); button7.setLabel("button7"); button8.setLabel("button8"); b_Update.setLabel("Update"); b_Cancel.setLabel("Cancel"); button11.setLabel("button11"); button6.setLabel("button6"); button4.setLabel("button4"); button2.setLabel("button2"); xYLayout1.setWidth(415); this.setLayout(xYLayout1); this.setSize(new Dimension(400, 300)); this.setBackground(SystemColor.control); this.add(Path, new XYConstraints(30, 49, 75, 26)); this.add(tf_Path, new XYConstraints(133, 50, 102, 24)); this.add(button1, new XYConstraints(256, 51, 55, 26)); this.add(Browse, new XYConstraints(330, 53, 59, 26)); this.add(l_Sent, new XYConstraints(33, 108, 52, 23)); this.add(tf_Sent, new XYConstraints(133, 104, 102, 24)); this.add(button2, new XYConstraints(258, 105, 58, 26)); this.add(button3, new XYConstraints(331, 105, 55, 27)); this.add(l_InBox, new XYConstraints(31, 160, 70, 28)); this.add(tf_InBox, new XYConstraints(131, 162, 112, 29)); this.add(button4, new XYConstraints(263, 164, 48, 23)); this.add(button5, new XYConstraints(333, 165, 56, 25)); this.add(l_OffLine, new XYConstraints(30, 226, 68, 27)); this.add(tf_OffLine, new XYConstraints(127, 226, 114, 31)); this.add(button6, new XYConstraints(266, 229, 48, 24)); this.add(button7, new XYConstraints(337, 228, 54, 25)); this.add(button8, new XYConstraints(125, 294, 100, 26)); this.add(b_Update, new XYConstraints(32, 297, 66, 26)); this.add(b_Cancel, new XYConstraints(271, 296, 58, 27)); this.add(button11, new XYConstraints(341, 296, 55, 33)); } }