I want to implement a JButton that behaves like a JToggleButton when there
is a double click above it.
In other words, I'd like the JButton to mantain its pressed state when it
receives a double click (like a JToggleButton), and not to mantain it (like
a JButton) when is single clicked.

I don't mind if I get this behaviour using a JToggleButton with some extra
code, or using a JButton with some extra code.

However, I only can capture ActionEvent's produced above a JButton or
JToggleButton.  I need to detect if the ActionEvent was due to a single
click or a double click.

Do you know how can I solve my problem?.

Please, if you have some idea about this issue or you know where can I get
related information, tell me.

Thanks a lot.



_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to