Skip to main content

button pressed

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
lwuit_hero
Offline
Joined: 2010-09-26

someButton.pressedIcon(icon);

happen when I click middle or Fire button

I want it happen when I click Game.left or Game.right..

how can I do that ? if it possible

please need help

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07

Just listen to game left right presses and invoke setIcon.