Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (event.getSource() == gVeld) {
- string = String.format("gVeld: %s", event.getActionCommand());
- } else if ( event.getSource() == pVeld) {
- string = String.format("pVeld: %s", event.getActionCommand() );
- }
- JOptionPane.showMessageDialog(null, string);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement