Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Tooltip problem  September 1, 2010 at 3:31 PM
In my project i used google map...I want show tooltip on marker when marker created not on marker event like mouseover,click..... ... View Questions/Answers

form text box connection with mysql database feild  September 1, 2010 at 10:41 AM
Respected Sir,What is the coding to connect a form text box field with mysql database table field will you explain me with simple example..thanking you.. ... View Questions/Answers

java  September 1, 2010 at 9:37 AM
design classes for currency,rupee,and doller.write a program that randomly generates rupee and doller objects and write them into a file using object serialization.write another program to read that file,convert to rupee if it reads a doller,while leave the value as it is if reads a rupee. ... View Questions/Answers

Advertisement

Java Calendar issue  September 1, 2010 at 9:00 AM
HiI have having weird situation with java Calendar, its driving me crazy.My requirenment is that i got a xml schema element that accepts only Calendar TypeSay element <expDtTime>2011-09-25T13:00:00</expDtTime>Say Singapore time zoneWhen i s... View Questions/Answers

sorting  September 1, 2010 at 7:14 AM
Write a program that sorts values.? The program includes readIntegers() thato reads the user inputso stores them in an array, ando returns the array&#8195;? The program includes easySort() that o sorts values in the array in the ascending order, and retu... View Questions/Answers

arrays part 2  September 1, 2010 at 7:12 AM
Question 2: Useful Array Algorithms and Operations (5 marks)Upgrade the program in Question 1 so that the program includes:? A static method search() that:o Has a parameter of integer array and another integer valueo Searches the integer value in the array, ando Returns... View Questions/Answers

arrays  September 1, 2010 at 7:11 AM
Write an application that reads user inputs and prints the largest and the smallest values in the group.? Include a static method readIntegers() that:o Reads a certain number of integers from the usero Saves them in an array, ando Returns the array&#8195;? Inc... View Questions/Answers

linked list example problem  September 1, 2010 at 2:53 AM
Q: Create your own linked list (do not use any of the classes provided in the Collections API). Implement the following two operations If you are using jdk1.4 or before: void add(Object ob); boolean find(Object ob); ... View Questions/Answers

linked list example problem  September 1, 2010 at 2:49 AM
Q: Create your own linked list (do not use any of the classes provided in the Collections API). Implement the following two operations If you are using jdk1.4 or before: void add(Object ob); boolean find(Object ob); ... View Questions/Answers

Java code  August 31, 2010 at 7:00 PM
Hello All,I need a code to convert the xml file to text file using Java ... View Questions/Answers

developing skills in java , j2ee  August 31, 2010 at 6:22 PM
How to understand or to feel the flow of java or j2ee programme what is the way to become a expert programmer can you please give me tipsthanking you.. ... View Questions/Answers

java swing jdbc  August 31, 2010 at 1:31 PM
hello, i want to populate the data(ms access) to the jtable component and want to perform some operations on it like add,edit,delete. Again i want to store the updated data to the database. can you help me out..... ... View Questions/Answers

java swing  August 31, 2010 at 1:11 PM
utlility of super.paintComponent(Graphics g) in java?what does it do actually i.e. which class it is extending or method overriding?Please clarify this with example. ... View Questions/Answers

Interfaces  August 31, 2010 at 11:59 AM
two interfaces having same method names and these two interfaces are implemented by a single class. so now i would like to generate different code of same methods of different interfaces in single class? my query is, see below interface i1{void method1();}in... View Questions/Answers

org.apache.jasper.jasperexcxeption  August 31, 2010 at 9:48 AM
how to resolve org.apache.jasper.jasperexcxeption in jsp ... View Questions/Answers

adding background image  August 31, 2010 at 8:35 AM
how do i add background image to this code:import javax.swing.*;import java.awt.*;import java.awt.event.*;public class sampleProg extends JFrame { JButton button = new JButton ("Result"); JButton button2 = new JButton ("Clear... View Questions/Answers

JAVA  August 30, 2010 at 9:42 PM
how to compile the DNA Sequence Question and what are the the files should be created while compilingbecoz it is not compiling its makes the following line to be appearedwhile compilingD:\JAVA>javac SortFileData.javaNote: SortFileData.java uses unchecked or unsafe operatio... View Questions/Answers

Java help  August 30, 2010 at 8:25 PM
I need to write an application that uses the circle class. It must read a radius of a circle from the user creates a circle object, and return the object. The program creates a circle object by using the above method.The program passes the circle object to a static method that prints the circu... View Questions/Answers

Null pointer exception in hibernate  August 30, 2010 at 7:59 PM
Hii am getting null pointer exception.while running the program in hibernate at roseindia.tutorial.hibernate.FirstExample. i copied the total files from roseindia tutorial. the program is compiled successfully but while running the program i am getting null ponter exception. SessionFact... View Questions/Answers

java multi thread  August 30, 2010 at 7:11 PM
Develop multi-threaded echo server and a corresponding GUI client in Java.please immediately reply me sir.its very urgent sir. ... View Questions/Answers

How to display data in form using aryylist in struts  August 30, 2010 at 1:38 PM
Hi,I want to display data using arraylist in struts pls help meIts urgent ... View Questions/Answers

sql exception  August 30, 2010 at 10:54 AM
Dear sir , I am working in a web-based project, In my system it is working fine but at client side getting the following exception so how to resolve this help me...java.sql.SQLException: ORA-28231: no data passed to obfuscation toolkit ORA-06512: at "SYS.DBMS_OBFUSCATIO... View Questions/Answers

java  August 30, 2010 at 10:44 AM
6. Write a Java program to read a file that contains DNA sequences of arbitrary lengthone per line (note that each DNA sequence is just a String). Your program shouldsort the sequences in descending order with respect to the number of 'TATA'subsequences present. Finally write the s... View Questions/Answers

Design pattern  August 30, 2010 at 8:19 AM
How to make a java program to check the java program is already started if started the execution then dont allow the new program to start ... View Questions/Answers

struts imagelink  August 30, 2010 at 12:38 AM
i need one dropdown menu in that i have to select imageAND i need one button when i clicks on that image will be open. ... View Questions/Answers

java to oracle code  August 29, 2010 at 11:22 PM
please suggest m calculate the database performance between scaled images and unscaled images in the database ... View Questions/Answers

JAVA  August 29, 2010 at 7:19 PM
Write a Java program to read a file that contains DNA sequences of arbitrary length one per line ... View Questions/Answers

j2me database  August 29, 2010 at 3:33 PM
hi can anyone tell is there any possibility of connecting database in j2me application..if so, how can i connect it..please help me.. ... View Questions/Answers

J2me Fonts  August 29, 2010 at 3:32 PM
hi ,i am doing my project in j2me..english to tamil dictionary is my title..i dont know how to integrate tamil fonts in j2me application..can anyone help me..i am in need of this idea very soon..please reply as soon as possible.. ... View Questions/Answers

JAVA  August 29, 2010 at 2:00 PM
1.Develop a template for linked-list class along with its methods in Java.2. Design a thread-safe implementation of Queue class. Write a multi-threadedproducer-consumer application that uses this Queue class.3. Write a multi-threaded Java program to print all numbers below 100,000 ... View Questions/Answers

JAVA  August 29, 2010 at 2:00 PM
1.Develop a template for linked-list class along with its methods in Java.2. Design a thread-safe implementation of Queue class. Write a multi-threadedproducer-consumer application that uses this Queue class.3. Write a multi-threaded Java program to print all numbers below 100,000 ... View Questions/Answers

Text To speech exception  August 29, 2010 at 1:35 PM
Sir/Madam,I want to create a application for text to speech.I am using Sysnthesizer class of speech package but it return null.Can you help me to create that.i am facing error in synth.allocate() line.import javax.speech.*;import javax.speech.syn... View Questions/Answers

java abstract class  August 28, 2010 at 6:20 PM
how to save and run abstract class program in java?please immediately reply sir. ... View Questions/Answers

java  August 28, 2010 at 1:38 PM
give me the introduction and purpose of "RANDOM PASSWORD GENERATION" and how it works ... View Questions/Answers

Email Validation code  August 28, 2010 at 12:41 PM
Can anybody tell me how to write email validation code using java ... View Questions/Answers

need to ans abt db  August 27, 2010 at 7:31 PM
helllo can you tell me m just starting to knowing abt servlet and i trying to making e-mail site so can you tell me with the java servlet wht is the backhand database to use to proper with that site with the using java servlet..whts the comfortable database is using with servlet page.. ... View Questions/Answers

Jsp Code  August 27, 2010 at 5:53 PM
Hi,I am new to java programming & as per the requirement, i need to implement a 'SEARCH' functionality which will search the database & should display a unique record.The design contains the 4 input boxes & it should satisfy at least one or two or three or all inp... View Questions/Answers

error for getting the data from an api using br.readLine  August 27, 2010 at 4:35 PM
hithe application is hanging while reading the data using readLine() function . actually the data is coming from remote using particular api call see the following code. StringBuilder sb = new StringBuilder(); String strtemp; Runtime runtime = Runtime.g... View Questions/Answers

JAVA  August 27, 2010 at 3:00 PM
Sir how can i design flow chart and Synopsis for random password generation by using swing in java . ... View Questions/Answers

Display Data  August 27, 2010 at 12:36 PM
I need sample how to display data from my table Mysql with swt/jfaceThank you. ... View Questions/Answers

Fwd: Please spend 2 minutes  August 27, 2010 at 12:35 PM
Fresher to Java...getting some problem with getting output for this program1+1/2+1/3+......+1/n.please if possible send it to me ... View Questions/Answers

How servlet Handles Multiple Request  August 27, 2010 at 12:35 PM
In servlet life cycle,consider two requests are waiting for service().I know all request will be assigned to thread, which request getsexcecuted first. 1 ... View Questions/Answers

java  August 27, 2010 at 6:41 AM
Develop multi-threaded echo server and a corresponding GUI client in Java ... View Questions/Answers

programming  August 27, 2010 at 12:27 AM
sir howcan i creat a buttion for generating randompassword whose length are fix upto 5-15, the condition is every time we get differnt password. we have to take input from user side as:-1.Text for which password to be generated.2.Length of password to be generated.(5-15).3.Types of... View Questions/Answers

how to create a create personalized SMS for each recipient  August 26, 2010 at 10:50 PM
i am doing a project at college, i am using java server facestechnology. I am having a problem of file upload, i want to upload acomma separated file (CSV) and read the contents of the file and thesend them to cell phone numbers. It is an web based sms platform thatsend diffe... View Questions/Answers

DropDown and text boxes with AJAX, JSP  August 26, 2010 at 3:59 PM
Hi,we are using one drop down and two text boxes. Drop down values needs to be retrive from one table.we should provide a text box through which users can input the emp number and emp rev number for textboxes in the Add employee Form. when the user entered values in the text boxes onblur... View Questions/Answers

learn sql  August 26, 2010 at 3:44 PM
how to learn sql......idont know anything about programming knowledge ... View Questions/Answers

java  August 26, 2010 at 3:00 PM
hai... i have problem of unterstanding the ResourceBundle concept kindly give me good Example for it ... View Questions/Answers

Interfaces  August 26, 2010 at 1:38 PM
two interfaces having same method names and these two interfaces are implemented by a single class. so now i would like to generate different code of same methods of different interfaces. eg:----interface i1{void method1();}interface i2{... View Questions/Answers

Jsp  August 26, 2010 at 1:15 PM
I am new to Jsp. I dont know how to get combo box value from servlet to jsp ... View Questions/Answers

JSP  August 26, 2010 at 8:42 AM
what is the difference between implicit objects and implicit variables? ... View Questions/Answers

Circle question  August 26, 2010 at 3:17 AM
Hey You helped me with one this question already but the code you gave doesnt seem to work any more ideas?Write an application that uses Circle class you created in the previous assignment.? The program includes a static method createCircle() thato reads a radius of a circle ... View Questions/Answers

how to make an unreachable object as reachable  August 25, 2010 at 6:47 PM
i know that an object is garbagecollected when it is unreachable to the programmer but my question is how that unreachable object which was garbage collected will become reachable to the programmer again...............plz anybody who knows may help me............ View Questions/Answers

Java Ivent Handler  August 25, 2010 at 6:35 PM
Is it possible to make two listeners work simultaneously?I used a keyboard listener to detect key press and also a mouse listener to detect different events generated by mouse.But when the mouse is moving if any key is pressed or released it cannot detect the keyboard event!!! ... View Questions/Answers

Java Inheritance and abstract  August 25, 2010 at 6:01 PM
1) Why we need to write the separate Interface in which we are not doing any operation except declaring empty abstract method and implementing this interface to force the subclass to implements all the abstract methods. If the subclass need to use this methods then he can write this in his own class... View Questions/Answers

jsp  August 25, 2010 at 5:58 PM
I have table named list of employee... this table also contains images... i want code to get image on click edit button ... means i want to made employee registration form with addition of image and also want form that will show employee details with image.... ... View Questions/Answers

how to distinguish engines having same code  August 25, 2010 at 3:25 PM
hi we are using struts as UI in application and from UI a file is uploaded and inserted into database and it is kept in central repository.user can change the file and again upload it.there is a console application engine which collects the data from the database and compares it file kept in centra... View Questions/Answers

how to use iframe in jsp  August 25, 2010 at 3:11 PM
Hi, i am using a jsp page in whic records from database are shown in a table in one of the column i am showing all error links which point to error. jsp an another jsp when i click the link a new page is opened.however i require to open it in the parent jsp help me please? ... View Questions/Answers

source code  August 24, 2010 at 11:39 PM
source code for a program to shutdown, restart, log off the pc after clicking jbutton on jpanel or a jframe by user.thanks in advance ... View Questions/Answers

code  August 24, 2010 at 8:41 PM
Example on exception handling with generics ... View Questions/Answers

java  August 24, 2010 at 5:16 PM
what is clone() and example ... View Questions/Answers

how to open a file with a jbutton?  August 24, 2010 at 3:00 PM
HelloIs it possible that by clicking on a button it can open java html file or doc exists on the pc?I searched and I found that it is possible to open a web page so I tried to open www.google.fr it worked but when I tried to open a web page recorded on my pc it did not work.Does a... View Questions/Answers

source code  August 24, 2010 at 11:46 AM
give me a source code to connect from java to mysql that can run on eclipsedi am using mysql-essential-5.0.41-win32_1. also give procedure how can i connect from eclipsed to mysql-essential-5.0.41-win32_1.thanks in advn. ... View Questions/Answers

Retrieving cells in MySQL  August 24, 2010 at 10:14 AM
Hi,Am creating an online exam application using JSP & MySql.The exam is of objective nature with four choices each and 100 questions.Can you please help me to insert the chosen choice into cells of the database and evaluate the answers for a score.Regards,Prem... View Questions/Answers

JavaScript for decimal number comparisons  August 24, 2010 at 7:41 AM
Hi,I need to compare a BigDecimal in my javascript. I need a have a validation the text field value should not exceed (15,2) (max value is : 9999999999999.99).I am not able to compare my text field value with this max value. Can u plz suggest some solution.Thanks for ur... View Questions/Answers

java console programming  August 23, 2010 at 10:07 PM
how to clear d screen in java console programming? ... View Questions/Answers

java code  August 23, 2010 at 8:46 PM
i write program to upload image into perticular folder.but i want to store that path into database but not image and display that image in webpage from the db.pls any one send me code for that in servlets asap.pls vary urgent.i will be thankful to youpls send me ... View Questions/Answers

java  August 23, 2010 at 7:33 PM
Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object serialization. Write another program to read that file, convert to Rupee if it reads a Dollar, while leave the value as it is if it reads a Rupee a... View Questions/Answers

java  August 23, 2010 at 5:16 PM
After the declaration:char[] c = new char[100];what is the value of c[50]?a) 50b) 49c) '\u0000'd) '\u0020'e) " "f) cannot be determinedg) always null until a value is assigned5. After the declaration:int x;... View Questions/Answers

java  August 23, 2010 at 5:15 PM
18. Consider the code below:arr[0] = new int[4];arr[1] = new int[3];arr[2] = new int[2];arr[3] = new int[1];for( int n = 0; n < 4; n++ )System.out.println( /* what goes here? */ );Which statement below, when inserted as the body of the for loop, would pri... View Questions/Answers

javascript  August 23, 2010 at 12:58 PM
Dear Sir,What is the code for radio button validation.Please give me a code with example.Thank YouDebasis ... View Questions/Answers

Interview Question  August 23, 2010 at 12:27 PM
I need Interview Questions on Java,J2EE Pls help me . ... View Questions/Answers

Javascript  August 23, 2010 at 11:43 AM
Dera sir,Here is my compose mail page.How to integrate attach file(text or excel) in this page.How to store in the database.How to download it in another page.please help.This is mighty part left in the mail page.Your help is paramount.Please helpaThank YouDebasisjsp page--... View Questions/Answers

jdbc  August 23, 2010 at 10:21 AM
i use pool connection for my application but whenever i insert data into database ,sometimes two copy of the data have been entered into the database and sometimes single copy .But there is no logic or a specific way of entering the two copy of data into database . please provide me the full code of... View Questions/Answers

java  August 23, 2010 at 3:00 AM
whats the problem with my code? it's giving me one error illegal start of expression on line 201? and also help me change the colors to their names instead of numbers. thxpublic class EmployeeDetails3 extends JFrame { public EmployeeDetails3() { ... View Questions/Answers

java  August 22, 2010 at 7:59 PM
wh is abstract in project?how is module in java project? ... View Questions/Answers

java  August 22, 2010 at 7:57 PM
wh is native method? ... View Questions/Answers

java  August 22, 2010 at 5:12 PM
Hello sir could you please explain what is mean by reflection? ... View Questions/Answers

difference  August 22, 2010 at 3:44 PM
what is the difference in between awt and swing package...and what is the difference in between frame,panel ... View Questions/Answers

Java Final Project Error  August 22, 2010 at 5:29 AM
It isnt showing the result when I press the proper button...?? It isnt doing the work... can someone help me??import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.*;import java.text.SimpleDateFormat;impo... View Questions/Answers

java  August 21, 2010 at 9:45 PM
Can you provide me the example program which uses all the concepts like encapsulation ,inheritance ,polymorphism in a single program ... View Questions/Answers

email problem  August 21, 2010 at 5:04 PM
hi,i want to write a code for sending a mail to a company employees having strength more than 1000.I had fetched the mail ids from database.I want to send mail to employee with mail id in 'TO' column.To column should have the email id of only 1 employee only(means he will not able to know who other ... View Questions/Answers

ERROR with my JAVA code  August 21, 2010 at 9:48 AM
The error came up in my main method... it wasnt there until i finished my actionListener coding so I dont know how to fix this....it is really stressing me out!! HELP!!!import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;... View Questions/Answers

JSP Error  August 21, 2010 at 2:19 AM
When i am running my registration.jsp getting following error.HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () ... View Questions/Answers

java  August 20, 2010 at 10:23 PM
Hello, i have a text file having strings like"dab";"daxyb";"axb";how to read this file and how to convert these strings into a character array.output like this:d a bd a x y b a x b than... View Questions/Answers

JAVA  August 20, 2010 at 8:07 PM
Hi,I have one small word(number type as password) of containing 6 digits. Now i want to encrypt to this password and decrypt the password in different programs. for encrypt and decrypt the public & private keys are automatically generate for encrypt and decrypt with in the program it... View Questions/Answers

Interface  August 20, 2010 at 7:27 PM
Dear Sir,Could you send me a java program for INTERFACE?Thank You. ... View Questions/Answers

cloning  August 20, 2010 at 7:26 PM
Dear Sir,Can you send a simple java program for CLONING an object? ... View Questions/Answers

java beginers  August 20, 2010 at 6:33 PM
how to write program for rational numbers ... View Questions/Answers

java  August 20, 2010 at 6:09 PM
sir I want some java file codings pls send it......... ... View Questions/Answers

java beginners  August 20, 2010 at 4:40 PM
let me know the java code for the followign patteren*00**0*****0*00 means space whereever the stars are there that is the pattern ... View Questions/Answers

Java urgent  August 20, 2010 at 4:36 PM
Dera sir,Here is my compose mail page.How to integrate attach file(text or excel) in this page.How to store in the database.How to download it in another page.please help.This is mighty part left in the mail page.Your help is paramount.Please helpaThank YouDebasisjsp page--... View Questions/Answers

programing  August 20, 2010 at 2:17 PM
reason for producing a good program documentation ... View Questions/Answers

exception at runtime  August 20, 2010 at 1:33 PM
while i executing this source code:-import java.sql.*;public class MysqlConnect{public static void main(String args[]){System.out.println("MySQL Connect Example.");Connection con = null;String url = "jdbc:mysql://localhost:3306/&qu... View Questions/Answers

jsp query  August 20, 2010 at 1:10 PM
in first division there is one table which contains data with edit button... when i will click on edit button that division will become hidden and new division come with all related data... ... View Questions/Answers

javascript  August 20, 2010 at 10:49 AM
using below code i got value in textbox but i also wants to use this textbox value in query in same page..<html><script>function passVariable(){var v=document.form.txt.value;document.form.txt1.value=v;}</script><form na... View Questions/Answers

Javascript  August 20, 2010 at 10:35 AM
Dera sir,Here is my compose mail page.How to integrate attach file(text or excel) in this page.How to store in the database.How to download it in another page.please help.This is mighty part left in the mail page.Your help is paramount.Thank YouDebasisjsp page--<!DOC... View Questions/Answers

Java-Abstract Class  August 20, 2010 at 10:22 AM
Can a abstract class have a constructor ?When would the constructor in the abstract class be called ?Please give me with good example code..Please implement the example with code. THanks in advance. ... View Questions/Answers

jcheckbox not enabled in java  August 20, 2010 at 10:15 AM
. im new to java..jcheck box not enabled after i placed in sort select table in gui. what can i do to enable and made a click on it.after that selected rows are are opened in excel . already i placed a Jbutton . but its not working ... View Questions/Answers

onclick pass variable  August 20, 2010 at 10:00 AM
on button onclick event pass variable and print in textbox in same page... i want to pass value of variable at onclick event of button and also want to print it in textbox in same page.... ... View Questions/Answers

DMCA.com