Click here to Skip to main content
12,894,930 members (57,963 online)
Rate this:
Please Sign up or sign in to vote.
See more: Java
Hello Everyone,
I m creating a Project like WordWeb in Java in which user can enter one word in JComboBox and according to that record will be fetched from database(MS Access).

I dont know how to use ActionListener class or its methods.

Please give me some suggestions.
Posted 2-Sep-12 0:49am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I guess that a small google search could have helped you...

Meanwhile, take a look at this:[^]

and this:[^]

Good luck.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

i have done half of the codes but i am not sure how to do the rest need help urgent[^]

Read here - same goes for your code.
It doesn't matter if it's a RadioButton Group or a combobox, the Actionlistener Thingy is the same.

I would suggest to directly make some Class like "DatabaseService" where all read/write/change on the database is handled.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 2 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100