32,204 Topics
| |
Iam getting this error code ;Line 5, char 45, unterminated string constant code 800A03F7 with the ff script. Please help. var thisAd = 0; function rotate() { var adImages = new Array("images/green.gif", "images/red.gif","images/gre.gif","images/ apple2.gif"); thisAd++; if (thisAd == adImages.length) { thisAd = 0; } document.getElementById("adBanner"). src = adImages[thisAd]; setTimeout(rotate, 3 … | |
hai, i have to calculate the internet bandwidth of the system using java program.... please give any ideas to acheve it........ thanks,in advance | |
I need to sort my array in alphabetical order. The program inputs N words(strings) and outputs them in alphabetical order. I have started out by using specific words to make sure everything is working correctly. I need to change this to accept any input. Any help would be appreciated! [CODE]public … | |
Environmental Variable: System variable(both) 1. A new GRAILS_HOME variable installed pointing to the Grails folder. 2.PATH: C:\Grails\bin appended . However I get an error message sayings grails is not a recognized command. I am a new to grails. The documentation says its very simple and I have tried different ways … | |
can any one help!! Expand Post (Toggle Plain Text) import java.awt.*; import java.awt.event.*; import java.awt.Color; import javax.swing.*; import java.awt.Frame; import java.awt.geom.*; class BallEntity/*THE BALL CLASS*/ { private int top=0,left=0,height=0,width=0; //getter methods public int getTop() { return top; } public int getLeft() { return left; } public int getHeight() { return … | |
hi, I m new to this forum. i wwnted to send sms from mobile to microcontroller wheather it is possible if yes plz help me | |
Whenever I try to load a java applet from an html file, with the .class and .java files in the same directory, I load the html applet file and the only thing that gets displayed is NOT the applet, but the html code.....how do I enable java applets in my … | |
how to Write a program that prompts the user to enter a point (x,y) and checks whether the point is within the circle centered at (0,0) with radius 10 | |
The code executes as expected, but I am not sure it is considered good code:) I am thinking especially of the two streams on the socket, if the first one is successfully opened and the next one for some reason throws an exception, the finally block will never run. If … | |
hello. i have just started learning functions in java. i have done the below program to find area of rectangle,triangle and square. it is a private class. class calcu { void rectangle(int l,int b) { int area1; area1=l*b; System.out.println("area of rectangle = "+area1); } void triangle(double base,double h) { double … | |
Hello Friends... This question was asked to me in an interview.. Can a class be static in java? If yes, then what is it's use and how it can be used? | |
Hi every body, I am a masters student in computer science and i am looking for a project that is working good. I need the code for it. If anybody has it, please send it to me...or atleast suggest me where i could find one. The project shlould be at … | |
I am working on an application in Java and for part of my plan I would like to have an object (eventually an array of these objects) where I could store two or three (I am not sure yet) varied types of data, for instance... A BufferedImage and a string … | |
Can any one explain me why there is a error in my home.jsp when i try to use commandLink for a link to open messages from the data base.After i use this link all my program crashed now not any component on the page is working. | |
First thanks for the help last time I posted it set me on the right track thanks. Now what I need is to clean up a bit. (this is for the 30 year loan only want to get that to do what I need before creating the same with the … | |
i have got a program to convert a double value to a string. eg==INPUT= 3.65 OUTPUT=three point six five. can anyone give the solution. | |
Hello Everyone, This is my first post, so be gentle with me. I am working on an application and I have a need to store about 5 or 6, X and Y coordinate pairs. The values for X and Y are reasonably small integer values (less than 5000). Essentially all … | |
I am trying to connect from Eclipse to a database in SQL server 2008. However, i am unable to and the following error message is thrown(see attached image). Can somebody help? | |
Hello I am just learning Java. I have some elmentary questions. In my code below there are 3 errors that occur: - How do I declare a string array of size 5 in Java correctly? - How do I cin :p, take in a string array element. Ie, in C++ … | |
Hi! I´m working with multiband TIF files and some of them have double data type. I need to modify some pixels from int (0-255) values to double values; problem is that my original image has int values, so it always rounds new values to int. That´s why I want to … | |
| |
Hello everyone I am making a code to take a binary code and then embed it within the first row of a picture. Then with that another function takes it out of the picture and converts it into decimal. The problem is that I am pretty sure I did it … | |
i made a binary calculator... it calculates two numbers in binary code i'm new in programming so this is what i came up with, it's not the best implementation, but it might help someone known bugs: when u try to make more calculations in one "session" it doesn't clear the … | |
please can anyone help my with my project I can't do it in one day the lecturer just asked us to do in this week so if anyone do it for me I will not forget this favor in my entire life . the link of the project [url]http://uploading.com/files/fc1abaa1/ICS%2B102%2B-%2BLab%2BProject.doc/[/url] this … | |
Hi, I am facing an error in Internet Explorer.. ('eNew' is null or not an object)..and my project UI was not getting displayed correctly.. I don't know where the problem is..?? whether with the browser or what...?? Please someone help me..:( Thanks in advance.. Jyothi | |
Hi to all, I have downloaded the j2eesdk-1_4_03-linux.bin and installed in my system.It works good .I can able to start the server .It starts fine. By Using the below command: asadmin start-domain But when i do no how to execute the JMS program. Can any one tell me how to … | |
Hello everyone I am making a code to create a fractal using the turtle class in java. The problem is that the fractal string doesn't seem to be registering through the if and else if statements. What I would like to know is if that is the problem...or something else...Thanks … | |
I'm taking on a new project and was hoping to get some help. I recently helped complete a Java application in which the user enters various inputs (of the type double or string)into text fields. The application then saves these inputs into a text document which is then used for … | |
want a mega project in java for Final Year of Engineering in Computer science | |
Okay, this puzzle the hell out of me. I've got 2 different sets of code, one which works, one which doesn't. They are both very similar, and I can't see what is causing the problem. Code that works: [CODE] public static void main(String[] args) { PropertyConfigurator.configure("log4j.properties"); new Settings().globalSettings(args[0]); logger.info("Read settings … |
The End.