943,915 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 1432
  • Java RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Mar 29th, 2009
0

Re: Pop up Form

Yeah, class 1 have the method sendData(). How to share objects among classes?

Don't forget that class 2 have the instance theClient. I want to set the IP for the instance theClient for the program to work properly else it will not be able to communicate with the server.

Thanks a lot.
Reputation Points: 6
Solved Threads: 0
Junior Poster
neutralfox is offline Offline
124 posts
since Mar 2009
Mar 29th, 2009
0

Re: Pop up Form

You can share Objects among classes through a constructor (or other method) of one class that accepts a parameter of the other class. See the example I already posted.
Reputation Points: 874
Solved Threads: 352
Posting Maven
BestJewSinceJC is offline Offline
2,758 posts
since Sep 2008
Mar 29th, 2009
0

Re: Pop up Form

Can you please modify your example according to my code. I am a bit confuse with the example. Thanks.
Reputation Points: 6
Solved Threads: 0
Junior Poster
neutralfox is offline Offline
124 posts
since Mar 2009
Mar 29th, 2009
0

Re: Pop up Form

I'm not going to write the code for you. You already did what I'm talking about once, with the theClient instance. Just do it again.
Reputation Points: 874
Solved Threads: 352
Posting Maven
BestJewSinceJC is offline Offline
2,758 posts
since Sep 2008
Mar 29th, 2009
-2

Re: Pop up Form

Hey, I am not telling you to write the code for me. WTF, I am just asking for help. Its not working thats why I asking you to write your example in the same context. Anyway, don't reply to this thread if you don't want to help.

You are just explaining with complicated words, I've already told you that I am new to Java.

If you don't know something, don't try to act smart, OK !! I am losing my time trying your stupid complicated examples.

You are just a dumb and thanks a lot for your complicated help ... hope someone else will help me and learn to be polite.
Last edited by neutralfox; Mar 29th, 2009 at 9:59 am.
Reputation Points: 6
Solved Threads: 0
Junior Poster
neutralfox is offline Offline
124 posts
since Mar 2009
Mar 30th, 2009
0

Re: Pop up Form

Click to Expand / Collapse  Quote originally posted by neutralfox ...
Hey, I am not telling you to write the code for me. WTF, I am just asking for help. Its not working thats why I asking you to write your example in the same context. Anyway, don't reply to this thread if you don't want to help.

You are just explaining with complicated words, I've already told you that I am new to Java.

If you don't know something, don't try to act smart, OK !! I am losing my time trying your stupid complicated examples.

You are just a dumb and thanks a lot for your complicated help ... hope someone else will help me and learn to be polite.
It sounded to me like you were asking me to write the code for you. If this wasn't the case, there is no need for you to get upset about it, just clarify what you meant. And obviously, I wanted to help because I responded to this thread. I already know how to do the task you're attempting, and have done the same thing in the past, so it isn't a question of me "not knowing it". And your personal attacks on me are very offensive and uncalled for.

Also, if you don't know what terms such as "parameter" etc mean, you could have asked for clarification or looked them up. If you aren't willing to put in effort to learn, then don't expect your code to work. And if you don't understand the simple terms I used, that is fine, but like I said - try to learn them - don't place blame on me for trying to help you.
Last edited by BestJewSinceJC; Mar 30th, 2009 at 1:08 pm.
Reputation Points: 874
Solved Threads: 352
Posting Maven
BestJewSinceJC is offline Offline
2,758 posts
since Sep 2008
Mar 30th, 2009
0

Re: Pop up Form

edit
Last edited by BestJewSinceJC; Mar 30th, 2009 at 1:06 pm.
Reputation Points: 874
Solved Threads: 352
Posting Maven
BestJewSinceJC is offline Offline
2,758 posts
since Sep 2008
Mar 30th, 2009
0

Re: Pop up Form

"and will probably result in you not getting as much help here in the future." Are you threatening me or what?

I don't like this attitude from you, I am here to have some help and not to fight with you, OK. Please at least show a little respect.

I presume that you work for Dani Web. I do the same job for Tom's guide(in french) but on the "Troubleshooting section". I know how to talk to people on a forum and now you are threatening me. You think that you have the right to do that ?? You stood so low. One thing is sure, you don't know how to help people.


In your 490 posts you have solved only 48 thread which shows how "good" you are. Anyway, I got help from James earlier, check out his explanation, even a baby("I've told you that was new to Java" and "I've worked really hard on this program") will understand his example. Hope you will learn from him.

Note: I just wanted you to write your example in the same context as my program, that's all. I have not told to write the whole stuff for me. Btw, my code is working fine now, I've got the solution from another forum. I will continue to post my questions on Dani Web, there are other peoples over here which will surely help me.

Sincerely,
Bryan Jimmee Hugges
Last edited by neutralfox; Mar 30th, 2009 at 1:18 pm.
Reputation Points: 6
Solved Threads: 0
Junior Poster
neutralfox is offline Offline
124 posts
since Mar 2009
Mar 30th, 2009
0

Re: Pop up Form

Any help offered here is a completely voluntary effort. As such, your own attitude is going to determine the extent and nature of that help. The attitude demonstrated above is certainly not going to encourage much assistance in the future.

Good luck with your efforts.

(You should also know that most posters never mark their questions as solved. Many don't even trouble themselves to say thanks or come back at all after their issue is resolved. Using that as a metric of "helpfulness" is useless.)
Last edited by Ezzaral; Mar 30th, 2009 at 1:35 pm.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007
Mar 30th, 2009
0

Re: Pop up Form

OK ... Anyway Thanks.
Reputation Points: 6
Solved Threads: 0
Junior Poster
neutralfox is offline Offline
124 posts
since Mar 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Help in completing code
Next Thread in Java Forum Timeline: capture command prompt into text file in java





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC