Pop up Form

Thread Solved

Join Date: Mar 2009
Posts: 123
Reputation: neutralfox is an unknown quantity at this point 
Solved Threads: 0
neutralfox neutralfox is offline Offline
Junior Poster

Re: Pop up Form

 
0
  #11
Mar 29th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1,574
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 199
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso

Re: Pop up Form

 
0
  #12
Mar 29th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 123
Reputation: neutralfox is an unknown quantity at this point 
Solved Threads: 0
neutralfox neutralfox is offline Offline
Junior Poster

Re: Pop up Form

 
0
  #13
Mar 29th, 2009
Can you please modify your example according to my code. I am a bit confuse with the example. Thanks.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1,574
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 199
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso

Re: Pop up Form

 
0
  #14
Mar 29th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 123
Reputation: neutralfox is an unknown quantity at this point 
Solved Threads: 0
neutralfox neutralfox is offline Offline
Junior Poster

Re: Pop up Form

 
-2
  #15
Mar 29th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1,574
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 199
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso

Re: Pop up Form

 
0
  #16
Mar 30th, 2009
Originally Posted by neutralfox View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1,574
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 199
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso

Re: Pop up Form

 
0
  #17
Mar 30th, 2009
edit
Last edited by BestJewSinceJC; Mar 30th, 2009 at 1:06 pm.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 123
Reputation: neutralfox is an unknown quantity at this point 
Solved Threads: 0
neutralfox neutralfox is offline Offline
Junior Poster

Re: Pop up Form

 
0
  #18
Mar 30th, 2009
"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.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,440
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 510
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is online now Online
Industrious Poster

Re: Pop up Form

 
0
  #19
Mar 30th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 123
Reputation: neutralfox is an unknown quantity at this point 
Solved Threads: 0
neutralfox neutralfox is offline Offline
Junior Poster

Re: Pop up Form

 
0
  #20
Mar 30th, 2009
OK ... Anyway Thanks.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC