import java.awt.*; public class Raam3 extends Frame{ TextField tf=new TextField("Kastike"); public Raam3(){ setLayout(new FlowLayout()); add(tf); setSize(200, 100); setVisible(true); } }