1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| public class testWB extends JFrame implements ActionListener {
private JTextField textField;
public testWB() {
setModalExclusionType(ModalExclusionType.APPLICATION_EXCLUDE);
setResizable(false);
setTitle("DpStream");
getContentPane().setLayout(null);
textField = new JTextField();
textField.setBounds(79, 11, 209, 25);
getContentPane().add(textField);
textField.setColumns(10);
JTextPane textPane = new JTextPane();
textPane.setEditable(false);
textPane.setBounds(79, 81, 209, 25);
getContentPane().add(textPane);
JButton btnNewButton = new JButton("Recherche");
btnNewButton.setBounds(130, 47, 89, 23);
getContentPane().add(btnNewButton);
}
public void actionPerformed(ActionEvent e)
{
}
public static void main(String[] args) {
testWB wb = new testWB();
wb.setVisible(true);
} |
Partager