283 Posted Topics

Member Avatar for Motifaithed

If you need to increase the count value whenever you press a key and decrease the count when you press backspace . For that You need to know [B]Event Handling[/B]. Google signal or event handling in C/C++ and you'll find what you want. I dont know much about signal handling …

Member Avatar for harinath_2007
0
157
Member Avatar for SteveWaugh

I executed your code. you are getting all 0's in your output. There's nothing to do with min in your program. Your ascending logic is not correct. Simply swap the numbers if a value is greater than others. Here's how you do this.. [CODE] for (int j=0; j<10; j++){ for …

Member Avatar for SteveWaugh
0
236
Member Avatar for Demetrio.pepi

Clarification.. You mentioned that it is shared folder. Cant you directly copy and paste the file it in your shared computer?. Do you want to programatically set password for the shared folder? You can achieve the above functionality also by using some third party softwares...

Member Avatar for harinath_2007
0
182
Member Avatar for earlybirdsean

Your title of the post and your question does not have any relation.. [QUOTE]What is the best programming language to use to make application for Mac OS X?[/QUOTE] How can you say that a particular programming language is best for a particular OS. The programming language that you need to …

Member Avatar for earlybirdsean
-1
183
Member Avatar for rmeron
Member Avatar for caperjack
0
245
Member Avatar for bondo

As i am from java background ,generallly you'll get a NullPointerException when you try to access the object if it is null. So whether you go for 1st option or 2nd option , one and the same and has same meaning. [QUOTE] I think remember hearing someplace that returning in …

Member Avatar for Narue
0
194
Member Avatar for shravya

Hmm...Too many expressions... First of all, you need to know how antivirus works?. What antivirus definitions you should use?. Then any one programming language to implement your thoughts.. The former one is tougher than the later..

Member Avatar for shravya
0
66
Member Avatar for ABUMIN
Member Avatar for logicmonster

The Dates topic is already posted by previous folks and it is answered. Just search in daniweb.

Member Avatar for logicmonster
0
983
Member Avatar for NexG

Hint : [CODE]Start the loop Divide the number with 10 until it becomes single digit number Get the last digit everytime by modulus operator Append the next last digit of number and iterate the loop till num becomes single digit[/CODE]

Member Avatar for NexG
0
186
Member Avatar for anonymousi

@anonymousi ask if you have any specific question.. your post looks like a client telling his requirements to software engineer..:) One more thing.. [QUOTE]the code should be able to run in netbeans[/QUOTE] :) What do you mean by that?. A java program will run anywhere provided there should be a …

Member Avatar for anonymousi
0
273
Member Avatar for MooGeek

In simple terms... The application which does not uses any internet connection can be called as Stand-alone application..

Member Avatar for MooGeek
0
258
Member Avatar for dennysimon

[CODE]textfield.setBounds(x,y,width,height);[/CODE] where x - new x-coordinate y - new y-coordinate width- width of textfield height- Your desired height

Member Avatar for dennysimon
0
6K
Member Avatar for sirlink99

Did you tried using the AppletViewer ? Try to [B]paint[/B] some error messages in catch block so that you can see in your browser applet when error occurs and you can know where exactly the exception is raising..

Member Avatar for mKorbel
0
517
Member Avatar for pro_learner

[QUOTE=pro_learner;1638632]Guys,i want to wait or sleep statement in a Java Desktop application when button press.I used thread.sleep & wait().But it doesn't work.I have a doubt that those functions are working only for console applications.Is it? or can i use it?Plz help me....[/QUOTE] Its not about type of applcation. Whether it …

Member Avatar for pro_learner
0
266
Member Avatar for sirlink99

You can use JavaMail(javax.mail) for sending mail. you should provide your maid id and password in the program. Check out this... [URL="http://www.javacommerce.com/displaypage.jsp?name=javamail.sql&id=18274"]http://www.javacommerce.com/displaypage.jsp?name=javamail.sql&id=18274[/URL]

Member Avatar for sirlink99
0
241
Member Avatar for Onlineshade

@Onlineshade What do you mean by which compiler.? Since it is a java code , you need java compiler..

Member Avatar for JamesCherrill
0
192
Member Avatar for harinath_2007

Hi guys.. The method createScreenCapture() in Robot class made me to post this question. The method works absolutely fine and it does the functionality of capturing screen as it asked to do. Now the problem comes here when i take the snapshot of my screen while i play a game. …

Member Avatar for mKorbel
0
121
Member Avatar for jackiewcc

Dont post such hypothetical questions like that. :) It all depends on your requirements and time to decide which methodology to use.. As far as i know RAD is all about coding directly without proper planning... Use whatever xyz development methodology you want and come back if you are stuck …

Member Avatar for JamesCherrill
-1
130
Member Avatar for Duki

No..You cannot use the shortcut method. :) You need to specify the access specifier for each member variable separately with patience.. But it will be nice if oracle make changes like what you have said..

Member Avatar for harinath_2007
0
119
Member Avatar for khanyisani

So what is your question..? Be clear in what you say and ask the questions in a precise manner.

Member Avatar for chrishea
0
167
Member Avatar for caswimmer2011

@caswimmer2011 What you want to say ?. From your posts i understand that you want to use robot class for pressing the function keys (like f1,f2 etc) programatically. For that you need not worry about your OS or computer type(laptop etc). IF you want to press function keys for example …

Member Avatar for harinath_2007
0
3K
Member Avatar for dwayned

Are you talking about .zip file or .rar file? If it is zip file , you can use the [B]unzip[/B] command. [CODE]unzip mydir.zip[/CODE]

Member Avatar for dwayned
0
1K
Member Avatar for Upoma

There are some third party softwares for making setup files which are available for free on web. Just google it and you'll find it.. As you said that yours is java application , the user of your program should have java(JRE) installed on his computer inorder to run your program..

Member Avatar for Upoma
0
259
Member Avatar for tkit1110

Here is some promising thread ... [URL="http://www.java-tips.org/java-se-tips/javax.sound/capturing-audio-with-java-sound-api.html"]http://www.java-tips.org/java-se-tips/javax.sound/capturing-audio-with-java-sound-api.html[/URL]

Member Avatar for harinath_2007
0
191
Member Avatar for sirin_adam
Member Avatar for AhmedGhazey
Member Avatar for harinath_2007
0
70
Member Avatar for Clawsy

Question asked 2 years ago.... However , if your chat application(using sockets) works over intranet(LAN) successfully then it WILL and should work over internet also.. Check the source code whether the server and client IP's and port numbers are correct..

Member Avatar for Aviras
0
337
Member Avatar for harinath_2007

Straight question. How to install windows xp in a system which is running windows 7. (without formatting windows 7). DUAL boot

Member Avatar for mjdodd
0
193
Member Avatar for harinath_2007

Hi folks.. Can you tell how many times the loop is executed with [B]exact[/B] reason. [CODE] int c=10; while(c>1) { c++; } System.out.println("loop over."); [/CODE] I am expecting an indepth answer...

Member Avatar for harinath_2007
-1
229
Member Avatar for ians_acess
Member Avatar for Haridha

Here's your answer.... [URL="http://lmgtfy.com/?q=example+for+inheritance+in+java"]click[/URL]

Member Avatar for stultuske
-1
114
Member Avatar for rayvarde
Member Avatar for rayvarde
0
87
Member Avatar for javinpaul

Try this.. We can set class path from command prompt also.. [CODE]Runtime r=Runtime.getRuntime(); r.exec("set classpath=your desired path");[/CODE]

Member Avatar for JeffGrigg
0
231
Member Avatar for harinath_2007

Great to hear that.. Java SE 7 is officially released today! After nearly five years of collaboration within the worldwide Java community, Java Platform, Standard Edition is ready for download! It's an important step in Java’s evolution. The major features of Java SE 7 are: • Project Coin- many small …

Member Avatar for jwenting
0
139
Member Avatar for triumphost
Member Avatar for triumphost
0
301
Member Avatar for harinath_2007

Hi.. Well.. i am doing a project in J2ME . I heard that j2me midlets cannot run on some of the (latest) mobile phones and there involves a hectic work to deploy them in mobile. Is that so? . How to deploy my j2me midlet in mobile phone. ? Copying …

Member Avatar for peter_budo
0
80
Member Avatar for real thinkers

why using 26 booleans and waste memory..? Store the string into an char array and check the repetition using a loop..

Member Avatar for Ezzaral
0
228
Member Avatar for Behseini

You can create that view by using any programming language but the LOC makes difference.. If you are familiar, you can try with java or .NET .

Member Avatar for somrita
0
167
Member Avatar for harinath_2007

Hi I encountered a strange problem today when i tried to run my java program from a batch file. I have a fullscreen mode java application and i tried to run the application from a batch file .Now the problem is images are not being loaded when i run my …

Member Avatar for NormR1
0
124
Member Avatar for Majestics

It still contains the same reference as that of before closing the window. Closing the window or disposing the window doens't mean destroying the JFrame object. We can make visible the window even after destroying it. As destroying a window or closing it is just a operation performed on the …

Member Avatar for Majestics
0
300
Member Avatar for MasterBerd

There are so many online quiz programs of java. you can google it and try those. some of the websites are.. [url]www.blackbeltfactory.com[/url] [url]www.javaranch.com[/url] If you are very good in java basic concepts , then try to prepare for Sun certified java programmer (SCJP) from now onwards...

Member Avatar for harinath_2007
0
155
Member Avatar for desert564

[QUOTE]for(i=1;i<=num;i++) [/QUOTE] If you want to check nearest prime numbers , then why checking it from i=1 onwards. Checking from reverse manner i.e (i=num-1) whould be a better approach. Anyway...here's the solution.. [CODE]import java.io.*; class Twin { public static void main(String[] args) throws Exception { int twin[]=new int[2],count=0,k=0; System.out.println("Enter the …

Member Avatar for harinath_2007
0
1K
Member Avatar for bangor_boy

just put a break statement after the 7th line and you will get your desired output.

Member Avatar for stultuske
0
181
Member Avatar for The Dude

He has amazing stuff but outdated too.. Apart from the fact that he wrote his own prototype programs, all the features are now coming as built-in in windows 7. [QUOTE]A product that’s difficult to figure out, inefficient to use, or poorly supported is not going to win much of a …

Member Avatar for harinath_2007
0
112
Member Avatar for firoz.raj

Even i got the same problem some months back. It is due to your internet connection settings in gtalk. Click settings in gtalk and check connection option. Make sure that [B]Detect proxy automatically [/B] is checked

Member Avatar for harinath_2007
0
211
Member Avatar for tirambad

It is definitely possible.. [url]http://www.surveyor.com/support/webcam32help/java.html[/url]

Member Avatar for harinath_2007
0
89
Member Avatar for harinath_2007

Hello.. I am developing a graphics application. I am playing a video in my application and when I press any key , it should stop currently playing video and should start displaying other images.Everything went well except when I press any key the video is getting stopped but the screen …

Member Avatar for JamesCherrill
0
300
Member Avatar for BullHorn

From reading all of your replies., i think that u have a virus in ur PC. so go for a better antivirus and scan your entire computer once.. If the problem still persists, then it is the time for you to re-install the windows

Member Avatar for Shade01
0
146
Member Avatar for harinath_2007

Hello.. I am in search of how to play a video in full screen java application. I already know how to play a video using the JMF. but i want to play the video in full screen desktop java applicaton ..

Member Avatar for JamesCherrill
0
624

The End.