A simple example of responding to a user-initiated action using an anonymous inner ActionListener.
Like Swing, QSwing component set uses the delegation-based event-handling mechanism and follows the JavaBeans specification.
package yu.ac.bg.etf.javaqx.examples;
|
![]() |
![]() |
![]() |
![]() |
![]() |
ActionListener on Windows Vista |
ActionListener on Windows XP |
ActionListener on Windows 98 |
ActionListener on SUSE Linux |
ActionListener on Ubuntu Linux |