- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
How should i handle click events of a JButton array i have frame containing 100 JButtons .I need to find out which one was pressed by the user[code]import java.awt.*; import java.awt.event.*; import java.sql.*; import javax.swing.*; public class Screen1 implements ActionListener , WindowListener { int i; JFrame scrfrm1; JLabel lblscr; JButton … | |
This error is triggerred whether the bpressed objects is an Integer or a string I have defined the seatno as a number type in ms access and status as a text type in ms access I hav tried [CODE]bpressed=Integer.parseInt(ae.getActionCommand())[/CODE] But it does not make any difference to the outcome Thanks … |