Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class KlasesNosaukums extends JFrame implements ActionListener
- {
- protected JButton poga_1;
- protected JButton poga_2;
- ...
- protected JButton poga_n;
- public void actionPerformed(ActionEvent e)
- {
- if(e.getSource() == poga_1) {
- ...
- } else if (e.getSource() == poga_2) {
- ...
- } else if (e.getSource() == poga_3)
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement