All pastes #389746 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-10 22:35 UTC
rendered paste body
import javax.swing.*;
import java.awt.*;


public class testCase {
        public static void main(String[] args) {

                JFrame frame = new JFrame("Test Layout");

                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                Container content = new JPanel(new BorderLayout());

                frame.setContentPane(content);  


                content.add(new TextField("a"));


                frame.pack();
                frame.show();

        }
}