283 Posted Topics
Re: As JamesCherill said , you must check the absolute path of the file . Make sure that the path of the file is correct and it would be more clear if you post the part of code which tries to open/access the file | |
Could anybody direct me to J2ME API link.. I couldn't found the download link. | |
Re: Other option would be install a good firewall like ZoneAlarm and you'll be asked for confirmation when a program or software attempts to access internet.This way you can stop the programs trying to access internet. | |
Re: what's big deal? Save the data either in file or database.. | |
Re: You have your requirements and everything in crystal clear manner. All you have to do is learn the java syntax and some API classes and start coding yourself. No one takes the pain of doing your homework . It's your homework and pain is also yours . Atleast try some … | |
My Tomcat server 6.0 doesn't start . I have windows xp. I also tried executing from command prompt by going to bin folder. Still the same problem. The log file is as follows.. [2011-10-23 13:22:27] [info] Procrun (2.0.3.0) started [2011-10-23 13:22:27] [info] Service Tomcat6 name Apache Tomcat [2011-10-23 13:22:27] [info] … | |
Re: Keylogger is a software which will captures all your keystrokes and activity you do on the computer. Whereas KeyListener is a interface in java which you should implement in your java code if you want to capture key strokes. Making keylogger in java is NOT possible. | |
Re: [QUOTE]System.out.println("\u001b[2J");[/QUOTE] Could you explain what does it do? I think it has nothing to clear ... | |
Re: Disable all unused services by going to run->msconfig->services . Another best way is.. In task manager you can find out the memory usage of each process. Look for the process which is taking more amount of memory and close it if it's an unwanted or unused process. It may also … | |
![]() | Re: If you look at [URL="http://download.oracle.com/javase/1.4.2/docs/api/javax/swing/JOptionPane.html#method_summary"]API[/URL] there's no showMessageDialog method which takes string as first argument. Call the method by passing correct parameters. ![]() |
Re: [QUOTE]Also, i dont have JAVA so couldnt really check[/QUOTE] You'll get java [URL="http://www.java.com/en/download/index.jsp"]here[/URL] Go through the API and code yourself . IF you are stuck anywhere while coding , come back | |
Re: Post the entire error messages that you are getting when you compile the code.. | |
Re: Instead of using Toolkit class , try using ascii code.. [CODE] System.out.println("\007");[/CODE] Inform me whether it works or not...... | |
Re: I think you dint posted the entire code.. Also attach your output screenshot if possible.. | |
Re: [QUOTE]string can never be assigned directly...[/QUOTE] [CODE]String str="It is possible";[/CODE] Can't you assign directly? | |
Re: [QUOTE]cannot find symbol variable enter[/QUOTE] The error is because you dint declared the variable before using it in your code. | |
Re: [CODE]if (firstOperator == "+" && secondOperator == "+" )[/CODE] To compare a string you should use equals method. So it should be [CODE]if (firstOperator.equals("+") && secondOperator.equals("+")}[/CODE] | |
Re: Just declaring the variable as [B]int[/B] is enough in this case since range of int is 2^32(=4294967296) which is far more than 10^6. Refer range of primitive data types once. | |
Re: What's big deal ? just search in google and you will find plenty. | |
Re: Well, probably you may get answers from people if you could have asked a specific question regarding your code instead of asking whether to optimize the code. The answer is that [B]you[/B] need to know whether your code is perfect or not according to your requirements. ![]() | |
I have a windows 7 operating system on my pc. I am trying to install windows xp using VMware and everytime i start to boot the guest operating system i get the following error.. PXE-E53 : No boot filename received PXE-MOF : Exiting Intel PXE ROM. Operating system not found … | |
| |
Re: Obviously , it goes into infinite loop and that's why the compiler reports an error message. [QUOTE]But the SCJP book says that this should work fine [/QUOTE] I assume you are talking about SCJP by kathy sierra. Can you say at which page of the book , they said that … | |
Re: Java is a sandbox environment lanugage.It will not allow you to access out of the box. You will definitely end up with using some other language like C or C++. Ok. I'll give you a simple example.. Can you can develop a simple keylogger entirely in pure java ? If … | |
Re: [QUOTE] edit video or image file properties through java[/QUOTE] Do you mean changing the properties like setting Read-only mode , hidden mode or finding the size of the file? Go through [URL="http://download.oracle.com/javase/1.4.2/docs/api/java/io/File.html#method_summary"]this[/URL] [CODE]File f=new File("myvideo.avi"); f.setReadOnly();[/CODE] Not only video files , you can use any type of file.. | |
Re: Hi.. I can answer only to your some of the questions as i too belong to Java category. The best operating system to implement the network programming in C/C++ is definitely linux (because of multi-process nature). The syntax and semantics of the network programming is somewhat different in linux.. (as … | |
Re: [QUOTE]Thanks for help but it still doesnot give me desired out put the display result is zero only. Any help regarding this? Please help.[/QUOTE] Your logic in the code is not correct.. I dont think you know how your code works. If you want to print minimun value & maximum … | |
Re: Could you explain the terms "inrange" and "outrange" ?. What actually you want to perform after pairing the device? | |
Re: [QUOTE]i have also specified the required path...please help .i am new to java.[/QUOTE] Make sure that you have set the path correctly and re-compile it again. | |
Re: Very nice article.(looks like marketing to me) It will be useful if the OP could have post about "How it is made" or any "technical implementation details or softwares used etc" so that we can learn few technical stuff(since this website is about learning tech implementations) and the readers will … | |
Re: [QUOTE]1. What is process synchronization and why its used.[/QUOTE] You'll get full info [URL="http://en.wikipedia.org/wiki/Synchronization_(computer_science)"]here[/URL] [QUOTE]2. How can we recover a word document or file that has been deleted permanently.[/QUOTE] There are many softwares available over the web. Some of the best i found are [URL="www.pandorarecovery.com"]Pandora recovery[/URL] | |
Hello folks... Happy to be a part of largest IT discussion community :) (a best place to share and update knowledge) Well , the point i want to highlight is that if someone posts in a thread i'm subscribed or a thread which i post , i cannot know until … | |
Re: It's just NOT possible. Whatever may be the media you just cant stop from duplicating.. | |
| |
Re: I hope you know the meaning of what is meant by 32-bit number.? It means that it is below the range of 2^32=4294967296 So if a number which has value larger than the above value will not be a 32 bit number. Anyway can i know what made you check … | |
Re: Read the contents of the jlabel into a file and then print that file.. | |
Re: I found [URL="http://mtc.epfl.ch/courses/projects/"]this[/URL] | |
Re: Simple. Place a [B]IF[/B] condition. [CODE]if(nResult==0) nResult=7; //definitely it is saturday[/CODE] | |
Re: If you want to know whether button is disabled previously or make the button disabled even after closing the frame(or running the program again) , just save the state of the button to a file. Suppose if the button is disabled , write an integer or boolean value to a … | |
Re: Is [URL="www.google.com"]this[/URL] site not working..? | |
Re: Why cant you maintain login-id's and password system instead of card swiping and storing it in notepad and making it complex? | |
Re: Try this..[URL="http://download.oracle.com/javase/6/docs/api/java/awt/Robot.html"]Robot[/URL] [CODE]Robot r=new Robot(); r.createScreenCapture(new Rectangle(your jframe co-ordinates as parameters)); [/CODE] You need to calculate the co-ordinates of your frame inorder to capture only the frame. If you want to write the captured image to a image file , you can use ImageIO.write() method | |
Re: Keeping it simple.. Process is a program which is currently under execution whereas Thread is a part of the program.A program or process can have many number of threads. Threads are intended for making the code independent. | |
Re: Post the error message here.. and [QUOTE]string[]args)[/QUOTE] String is a class . it should be capital. [CODE]public static void main(String[] args)[/CODE] | |
Re: [QUOTE]I know of two curl and libtorrent [/QUOTE] Could you post or share your information regarding that because even i am curious regarding what libraries they use in C/C++ as I have some idea on how to do that in java. Let me know if you are updated with any … | |
Re: Go through the Java API . Look for Date class or Calender.. | |
Re: You can create an array of objects similar to how you create an array of primitive data. [CODE]Subscriber s[]=new Subscriber[10];[/CODE] The above creates an array of 10 Subscriber objects. However you should initialize those objects by using any loop . [CODE]for(int i=0;i<10;i++) { s[i]=new Subscriber(); }[/CODE] | |
Re: Get [URL="http://www.zonealarm.com/"]ZoneAlarm[/URL] firewall(free version). It will warn you when a application tries to connect with internet . So that way you can avoid those applications not to download anything or download updates. You can easily turn on and off the updates. I think this is the best way in my … |
The End.