nanosani 20 Technize.net addict Team Colleague

You havnt been able to explain your question well ... but if you are planning to make a messenger like msn or yahoo ... you'll have one server running at all times .... and then when the user signs in ... it'll request the server ... and the server will determine who in his buddy list is active and who is not....

If you are planning a lan messenger .. then its so easy ... study the basic networking concepts of java and you'll be on a flying start on your messenger. If you have any probs ... post them here ... you'll be helped.

nanosani 20 Technize.net addict Team Colleague

Hey !
Can you indent your code properly and place it in code tags ... this will make your code readable.... now its very hard to read it.

nanosani 20 Technize.net addict Team Colleague

Ahh All used up : Garbage : Rubbish.

nanosani 20 Technize.net addict Team Colleague

I also thought that it was the windows emulator of linux :)

nanosani 20 Technize.net addict Team Colleague

find --> today

nanosani 20 Technize.net addict Team Colleague

Hey how about some of you really high techies throw some rep my way. If you dont i understand but just check some of my posts i am helpful.

I don know about you posts ... but your avatar is helpful in --- :twisted:


:mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:

Don beg for your rep ..You've got a lot number of posts .... it'll increase definitely.

nanosani 20 Technize.net addict Team Colleague

You can read about multimedia in java.sun.com... Anywayz I give you the base idea:

ImageIcon image = new ImageIcon("image.jpeg");
jpanel.add(image, BorderLayout.North);
nanosani 20 Technize.net addict Team Colleague

You can also take a look at this thread...

http://www.daniweb.com/techtalkforums/thread571.html

nanosani 20 Technize.net addict Team Colleague
nanosani 20 Technize.net addict Team Colleague

You're only making the gui .... no calculations for the bidding. You can compare the bidding numbers ... if it is equal to the required one ... display win ... and if it is smaller or larger display likewise. All if statements in one method can do your job. Try or post again if you fail.

nanosani 20 Technize.net addict Team Colleague

No I just wanted to say that when a member doesnot logon to the site for more than one or two months ... you can send the user a reminder or something like that ... this will help the traffic somewhat I think.

nanosani 20 Technize.net addict Team Colleague

ranyodh you are too smart.... I was using String.indexOf() ....But your way looks better than mine if it is the matter of only a few letters or numbers.

nanosani 20 Technize.net addict Team Colleague

Hey there,

I'm new to java and I need to write a string that i generated in my code to an output file. I'm currently writing the string to the standard output like so :

System.out.println("K_"+Receiver+",t"+msgnum+"(R("
+Receiver+",t"+msgnum+"("+out1+")))");

All the types e.g. 'Receiver' or 'out1' are of type string. Could anyone show me how to open a file for writing and then write this information to the file? Is there some sort of file writer equivalent for system.out.println()? Thanks very much

You can read about File streams of java :
Anywayz I give you some code ... You have to write exceptions yourself:

String s ="this is the string you want to write to the file.";
File name = new File("sani.txt");
FileWriter fw = new FileWriter(name);
fw.write(s);
fw.close;
nanosani 20 Technize.net addict Team Colleague

Yes Rush Hour 2 was also good funny movie ... But love Shanghai noon and Shanghai nights more.

nanosani 20 Technize.net addict Team Colleague

everyone --> Google

nanosani 20 Technize.net addict Team Colleague

Congratulations Dani ! You are great n so is our forum :)

nanosani 20 Technize.net addict Team Colleague

Hey Dani ! I was looking at the members list ... n I saw so many members throwing one post in the forum and then disappearing for life. I was thinking if they could be mailed reminding that they were missing a lot of updated stuff or so ... That could boost the number of regular posters I think.

nanosani 20 Technize.net addict Team Colleague

Thanks cosi !
I prefered to use JLayeredPane ... cuz I was not understanding glass pane ... but the link you gave me was a great help... Thanks again.

nanosani 20 Technize.net addict Team Colleague

how can I change the attributes of a file as read only .. and hidden ....... and turn back to read write .. and visible?

nanosani 20 Technize.net addict Team Colleague

Yes it was ... but what I loved was his movie .... Thunderbolt ... It was great. Did you see it. The racing was great ... also the fight ... and that emotional two or three moments. hehe.

nanosani 20 Technize.net addict Team Colleague

love --> lovely

nanosani 20 Technize.net addict Team Colleague
nanosani 20 Technize.net addict Team Colleague

There are two methods usually taught in the universities in data structures .... some lay emphasis on implementation more ... and some on the underlying concepts. If you do it on the conceptual level ... then I think discrete maths will help you a little ... But I did my data structures first and then I did discrete maths.

nanosani 20 Technize.net addict Team Colleague

I see how hard it is to get that gmail ... ---><---

nanosani 20 Technize.net addict Team Colleague

You're not imagining anything! The weekends always hit DaniWeb very hard. However, this weekend was worst than most probably because of all of the college students moving to their schools, into dorm rooms and apartments, etc. in preparation of the new school year. Not only that, but the summer always results in less traffic than other months, since most people are outdoors enjoying the good weather. Here in New York, we've had unusually nice weather ;)

Yes that's right .. I didnt look closer into things. ... but you know I am still a new comer ... so I did feel that the flow was a little less than all my previous visits.

By the way my country is very hot ... Here too the weather was unusually good. Clouds were lurking on our heads n the temperature was not too much ... 32 C or 33 C ... compared to the normal days temperature ... 45 C. But I didnt force myself to miss a day from daniweb :)

nanosani 20 Technize.net addict Team Colleague

Are you talking about the flip flops or some other things??

nanosani 20 Technize.net addict Team Colleague

You can attach a listener to the text field ... counting the number of letters typed ... and then when it becomes 6 ... you can insert spaces as you like.

nanosani 20 Technize.net addict Team Colleague

I had seen his latest movie ... Around the world in 80 days .... he has done the movie in his natural style after a long time ... what do you think about it.

nanosani 20 Technize.net addict Team Colleague

Try reinstalling dx 9. I think the dll file has been deleted by some other program that you uninstalled.

nanosani 20 Technize.net addict Team Colleague

I dont know why its in my thoughts ... but it is ... that there has not been a regular activity in the forums ... atleast in java ... There have not been enough posts ... they are .. I think .. far below average.

:rolleyes: :rolleyes: :rolleyes: :rolleyes:

Don blame me if I am wrong ... but I feel it. :(

nanosani 20 Technize.net addict Team Colleague

you have got explorer.exe as your startup item. Delete it.

nanosani 20 Technize.net addict Team Colleague

What is this thread doing in site news and feed back???

nanosani 20 Technize.net addict Team Colleague

Donot start straight away with programming .... draw a blue print of the program ... and then translate it into a pseudocode ... and then map it to c++.

nanosani 20 Technize.net addict Team Colleague
nanosani 20 Technize.net addict Team Colleague

I prefer ... daniweb .... cuz its so addictive ... n I bet you'll not find such nice people anywhere else ... daniweb forcefully transforms its visitors to its members .. and then members here are like members of a family ... always willing to help ....

Spend your time here a bit n you'll appreciate what I said.

nanosani 20 Technize.net addict Team Colleague

what he had

nanosani 20 Technize.net addict Team Colleague

idolism --> Idealism

nanosani 20 Technize.net addict Team Colleague

i) Is the string (abbba) a word in the language?
ii) Write out all the words in this language with six or fewer letters.
iii) What is another way in which to describe the words in the language ?Be
careful this is not simple the language of all words without bbb.

My suggestion
i) the string abbba is not a word in the languge but i do not know the explanation.
ii) { null string , a, ab , ba , aab , aba , aaab , aaba , abba , aabba , baaab}
iii) A word with at least one a's and which contains even number of b's.

i) construct the word from the language ... ab is a word ... next ... b or bb is not a word from the language ... so the whole word abbba is not a word in the language.

ii){a , ab , ba}.
{null, a,ab,ba,aab,aba,aba,abba,abab,baa,baab,baba,aabba,abaab,ababa,abbaa,baaab,baaba}
these are less than 6 letter words ...

iii) ... you're right.

Killer_Typo commented: Great help even though it confused the hell out of me --KT +1
nanosani 20 Technize.net addict Team Colleague

The thread has been sleeping for so long a time .. and I think the thread starter will never look at this thread again .. LOL

nanosani 20 Technize.net addict Team Colleague

Water Spouce:
[IMG]http://www.anglerschoice.com.au/albums/barra/women.jpg[/IMG]

Next: Shame kicker

nanosani 20 Technize.net addict Team Colleague

Poor Gex my pet Gecko who died in -->Immortalism

nanosani 20 Technize.net addict Team Colleague

Read about the dynamic class loader

http://java.sun.com/j2se/1.4.2/docs...lassLoader.html

nanosani 20 Technize.net addict Team Colleague

thought of leaving

nanosani 20 Technize.net addict Team Colleague

August members getting cooler and the oldies getting HOTTER .. I should have waited a little if I knew that .. LOL ...

nanosani 20 Technize.net addict Team Colleague

Same is the problem with my IE 6... it starts downloading and then when it reaches some 50% .. it stops. What is the problem in it?

nanosani 20 Technize.net addict Team Colleague

Can someone please explain to me the difference between ++i and i++ when written as part of an expression (i.e. within loops and if statements) ? Thanks :)

Simply ++i increments i first and then does any computation in the loop ...
and i++ first does the computation and then increments i.

nanosani 20 Technize.net addict Team Colleague

OOPs I didnt even figure out the downtime .... even when I am on the site most of my time.

nanosani 20 Technize.net addict Team Colleague

HAHA ... yes this windows is worth doing that... I dont know why this computer giant makes that buggy things.

nanosani 20 Technize.net addict Team Colleague

try changing the data and power cables.

nanosani 20 Technize.net addict Team Colleague