Posted: Sun Nov 19, 2006 7:32 pm Post subject: (No subject)
gsquare567 wrote:
you probably couldnt help me anyways
Yeah, that is so true. wtd is not known for his programming ability
Talking like that will never get you any help especially when you make fun of the only people who can help you. You are likely going to just get ignored.
Sponsor Sponsor
wtd
Posted: Sun Nov 19, 2006 8:11 pm Post subject: (No subject)
gsquare567 wrote:
ok dude, firstly, calm down... im used to putting so many comments for skewl java course. it doesnt make it THAT much harder to read... you probably couldnt help me anyways its probably too advanced. if any1 knows java.io pack well then try skimming through my edit function
It does make it that much harder to read, and I do not wih to spend hours of my time simply rewriting your code before I even begin looking for the problem.
As for your event handling, your code would be much easier to debug also if instead of a single implementation of ActionListener and a conditional with, you used anonymous inner classes to add an ActionListener to each applicable component.
gsquare567
Posted: Tue Nov 21, 2006 6:47 pm Post subject: (No subject)
ericfourfour wrote:
Talking like that will never get you any help especially when you make fun of the only people who can help you.
a) im not making fun
b) anyone on this site and many other CAN help me, just theyre not fast enough and dont want to waste their time...
as for you, wtd, after the editing problem is solved, you can tell me all you want about how crappy my code is and how to do it like a pro as you, but atm this editing thing is really frustrating because it should work... its combining the deleting and adding functions which worked perfectly. its really not that long a read, just start in the event of the accept button pressed and the editButtonPressed boolean is true, and then the addContactToFile and removeContactFromFile methods.
wtd
Posted: Tue Nov 21, 2006 10:14 pm Post subject: (No subject)
See... well-formatted code is not something you do after the fact. It's something you do as you go, so that it's much much easier to find problems and fix them.
If I can't read your code, then I can't help you fix it, and I doubt you are immune to the same problem.