Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- con = new JPanel();
- JButton bt = new JButton (" Insert ");
- con.add (bt);
- frame.add (con)
- frame.setVisible(true);
- bt.addActionListener(
- new ActionListener() {
- public void actionPerformed(ActionEvent e) {
- radio = rb.getSelection().getActionCommand();
- speed = "";
- }
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement