Click here to Skip to main content
Rate this: bad
good
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
good
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: http://docs.oracle.com/javase/tutorial/uiswing/events/actionlistener.html[^]
 
and this: http://developers.sun.com/product/jdbc/drivers[^]
 
Good luck.
  Permalink  
Rate this: bad
good
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.
  Permalink  
v2

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

  Print Answers RSS
0 OriginalGriff 393
1 Sergey Alexandrovich Kryukov 232
2 Richard Deeming 180
3 Snehasish_Nandy 171
4 ChauhanAjay 170
0 Sergey Alexandrovich Kryukov 6,367
1 OriginalGriff 5,588
2 CPallini 2,473
3 Richard MacCutchan 1,627
4 Abhinav S 1,530


Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 2 Sep 2012
Copyright © CodeProject, 1999-2014
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