import java.awt.*; import oracle.jdeveloper.layout.*; public class FMgrServer extends Frame { Label l_Path = new Label(); TextField tf_Path = new TextField(); Label l_Sent = new Label(); TextField tf_Sent = new TextField(); Label l_InBox = new Label(); TextField tf_InBox = new TextField(); Label tf_Offline = new Label(); TextField tf_OffLine = new TextField(); Button b_Update = new Button(); Button b_Cancel = new Button(); GridLayout gridLayout1 = new GridLayout(); public FMgrServer() { super(); try { jbInit(); } catch (Exception e) { e.printStackTrace(); } } private void jbInit() throws Exception { this.setTitle("Frame Title"); l_Path.setText("Path"); tf_Path.setText("tfPath"); l_Sent.setText("Sent"); tf_Sent.setText("tf_Sent"); l_InBox.setText("InBox"); tf_InBox.setText("tfInBox"); tf_Offline.setText("OffLine"); tf_OffLine.setText("tfOffLine"); b_Update.setLabel("Update"); b_Cancel.setLabel("Cancel"); gridLayout1.setRows(3); gridLayout1.setHgap(2); gridLayout1.setColumns(2); gridLayout1.setVgap(50); this.setLayout(gridLayout1); this.setSize(new Dimension(400, 300)); this.setBackground(SystemColor.control); this.add(l_Path, null); this.add(tf_Path, null); this.add(l_Sent, null); this.add(tf_Sent, null); this.add(tf_InBox, null); this.add(l_InBox, null); this.add(tf_OffLine, null); this.add(tf_Offline, null); this.add(b_Update, null); this.add(b_Cancel, null); } }