import java.awt.*; import java.awt.event.*; import java.util.*; import java.io.*; public class MServer extends Frame { BorderLayout borderLayout1 = new BorderLayout(); Panel p=new Panel(); Properties props=new Properties(); Label l_Path; Label l_Sent; Label l_InBox; Label l_OffLine; TextField tf_Path; TextField tf_Sent; TextField tf_InBox; TextField tf_OffLine; Button b_Browse,b_Cancel,b_Update; Button b1,b2,b3,b4; public MServer() { super(); try { jbInit(); } catch (Exception e) { e.printStackTrace(); } } private void jbInit() throws Exception { this.setTitle("Manager server"); this.setLayout(borderLayout1); this.setSize(new Dimension(400, 300)); this.setBackground(SystemColor.control); this.setResizable(false); p.setLayout(new GridLayout(6,0)); l_Path=new Label("Path"); l_Sent=new Label("Sent Box"); l_InBox=new Label("InBox"); l_OffLine=new Label("offLine"); tf_Path=new TextField("",10); tf_Sent=new TextField("",10); tf_InBox=new TextField("",10); tf_OffLine=new TextField("",10); b_Browse=new Button("Browse"); b_Update=new Button("Update"); b_Cancel=new Button("Cancel"); b1=new Button(); b2=new Button(); b3=new Button(); } }