|
Advertisement
|
Forum posts by Adrian:1 page [ 1 ]
Posted in Java Answers Forum, Aug 8, 2002, 1:32 PM
I did some more experimenting and I found my answer to my JCheckBox problem. All I did was,((JCheckBox)JPanel.getComponent(0)).addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { } });and it worked. Its strange as this is how I was trying to do it before and it didn't work. I must have been doint something...
Posted in Java Answers Forum, Aug 8, 2002, 1:25 PM
Hi all,Is there anyway to change the icon picture (from the stupid coffee cup) that your JFrame has in its top left corner and icon picture that is down in the windows task bar to your own picture? I have looked everywhere but can't find the answer.Also, I have another problem. I am creating JCheckBoxes from a list of questions the user has...
Posted in Java Answers Forum, Jul 15, 2002, 3:56 PM
Hi,I'm writing a program where I need to capture mouse and keyboard events, but I don't want these events to be associated with my program. For example, when a user clicks the mouse button, out of my program, I want to be able to recognize that there has been a mouse pressed event. The only type of mouse listeners I can use at the moment is...
1 page [ 1 ]
|