-
STILL Can't make buttons WORK!!
Yeah, I can find this kind of info. I can find classes, and how to make instantiate,
and all that...but just now how to make it DO SOMETHING.
b.addActionListener(new ActionListener()
{ public void actionPerformed(ActionEvent evt)
{
//button code here
}
});
Where this code says button code here...that's what I need.
I know, it depends on what you want it to do.....I just want it to do ANYTHING.
If I can get the button to do anything, I can figure out how to make it
do more complex things eventually...but all I can find are complex actions.
I just want, "If button is pushed change the text."
OR"If button is pushed replace the button."
I appreciate all of the help!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|