283 Posted Topics
Re: 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 … | |
Re: 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 … | |
Re: 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... | |
Re: 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 … | |
Re: What's big deal ..resend it again .. If still the problem exists, let me know.. | |
Re: 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 … | |
Re: 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.. | |
Re: You find a lot of tutorials if you just browse through the net. | |
Re: The Dates topic is already posted by previous folks and it is answered. Just search in daniweb. | |
Re: 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] | |
Re: @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 … | |
Re: In simple terms... The application which does not uses any internet connection can be called as Stand-alone application.. | |
Re: [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 | |
Re: 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.. | |
Re: [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 … | |
Re: 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] | |
Re: @Onlineshade What do you mean by which compiler.? Since it is a java code , you need java compiler.. | |
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. … | |
Re: 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 … | |
Re: 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.. | |
Re: So what is your question..? Be clear in what you say and ask the questions in a precise manner. | |
Re: @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 … | |
Re: 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] | |
Re: 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.. | |
![]() | Re: 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] |
Re: you can use StringTokenizer class inorder to differentiate ip and port | |
Re: you need to use JMF(java media framework) . Google jmf and you'll find it . | |
Re: 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.. | |
Straight question. How to install windows xp in a system which is running windows 7. (without formatting windows 7). DUAL boot | |
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... | |
Re: Here's your answer.... [URL="http://lmgtfy.com/?q=example+for+inheritance+in+java"]click[/URL] | |
Re: Your question is not clear. Specify what exactly you want to say.. | |
Re: Try this.. We can set class path from command prompt also.. [CODE]Runtime r=Runtime.getRuntime(); r.exec("set classpath=your desired path");[/CODE] | |
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 … | |
Re: What are the errors you got when compiled your code?..post them.. | |
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 … | |
Re: why using 26 booleans and waste memory..? Store the string into an char array and check the repetition using a loop.. | |
Re: 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 . | |
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 … | |
Re: 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 … | |
Re: 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... | |
Re: [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 … | |
Re: just put a break statement after the 7th line and you will get your desired output. | |
Re: 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 … | |
Re: 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 | |
Re: It is definitely possible.. [url]http://www.surveyor.com/support/webcam32help/java.html[/url] | |
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 … | |
Re: 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 | |
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 .. |
The End.