damatt2121 0 Posted November 4, 2004 Share Posted November 4, 2004 Hey, Just wondering if anyone out there would happen to know how to do java. i am trying to create an address book and would really be happy if someone out there could give me some help Thanks Quote Link to post Share on other sites
Zeko 33 Posted November 4, 2004 Share Posted November 4, 2004 Check this site http://www.hotscripts.com/ Maybe it's already done. Quote Link to post Share on other sites
firefly2442 0 Posted November 4, 2004 Share Posted November 4, 2004 Javascript or Java? There's a difference. I can help you with Java if you want. Quote Link to post Share on other sites
Matt03 0 Posted November 5, 2004 Share Posted November 5, 2004 I know some of the basics. I'm sure if you posted what you need help with we could figure it out. Quote Link to post Share on other sites
damatt2121 0 Posted November 5, 2004 Author Share Posted November 5, 2004 hey sorry it took me so long to reply but i need to make a simple(not complex) address book. It needs to be able to show the addresses and be able to input new addresses. I have most of it and all most all of the buttons and on screen stuff is set up i now just need to figure out how to make the buttons perform the functions that i want them to perform. I currently have a box with a scroll bar in left hand corner and a button underneath it that says add new address. on the right there is the input boxes to add all of the information such as name and all that other fun stuff. then right below it there are two buttons enter and cancel. i think all i really need now is help getting those buttons to work and fixing all the others little problems. this is confusing Thanks for replying Quote Link to post Share on other sites
Matt03 0 Posted November 6, 2004 Share Posted November 6, 2004 You need to import java.awt.event.*; You will need to use this to perform the action. private class ButtonListener implements ActionListener { public void actionPerformed (ActionEvent event) { // Perform what actions you want. } } Then do this for your button(s). button.addActionListener(new ButtonListener()); Each button will need its own class. If you need something else let us know. I assume you are going to put the address information as an object and serialize it. Quote Link to post Share on other sites
damatt2121 0 Posted November 8, 2004 Author Share Posted November 8, 2004 Sorry but i think i need one more thing, we understand what all we need now but we just need to know exactly how the buttons work, i have attached a picture of the project and we need to know how to get those three buttons within the box(Enter, Cancel and Add new address) to function properly. Thanks Quote Link to post Share on other sites
damatt2121 0 Posted November 8, 2004 Author Share Posted November 8, 2004 Sorry that didnt work i cant figure out how to get this stupid attachment thing to work Quote Link to post Share on other sites
Matt03 0 Posted November 8, 2004 Share Posted November 8, 2004 Check your PM's. Quote Link to post Share on other sites
damatt2121 0 Posted November 9, 2004 Author Share Posted November 9, 2004 hey man thanks a ton for your help, I finally figured out what I am doing(I think) but i appreciate the help I tryed attaching the stupid thing to an email but it didnt work; i hate computers anyway thanks again talk to you later Quote Link to post Share on other sites
Matt03 0 Posted November 9, 2004 Share Posted November 9, 2004 Maybe attachments just don't like you. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.