Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Java  August 2, 2010 at 12:56 AM
i want to develope an applictaion using java language in whichwhen i double click on some file the computer will autometically shutdown.. not using shortcut key but using java code pls help me to develope this code...and thanks advance...regards ... View Questions/Answers

Java code  August 1, 2010 at 7:49 PM
Develop date class in Java similar to the one available in java.util package. Use JavaDoc comments. ... View Questions/Answers

JAVA  August 1, 2010 at 6:21 AM
I WANT TO LEARN JAVA PERECTLY.WHAT ARE MAIN TOPICS IN JAVA WHICH ARE MORE USEFUL. ... View Questions/Answers

Advertisement

Java Compilation  July 31, 2010 at 9:02 PM
Dear Sir,Could you please send me the program code for the following java program?Q:Create a classname Math with its required variables and use add(),sub(),multiply(),divide(),modulo() methods?Thank You ... View Questions/Answers

java  July 31, 2010 at 7:44 PM
hi sir create a servlet that changes its background color after every 10 seconds ... View Questions/Answers

on clas  July 31, 2010 at 5:22 PM
A class can act as sub class? ... View Questions/Answers

jsp  July 31, 2010 at 2:16 PM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... for that i have below code but when i will add new row than it is not working properly.. it is not ... View Questions/Answers

java Date  July 31, 2010 at 12:01 PM
Dear sir I have an assignment, It is .."Develop Date class in java similar to the one available in java.util package.Use JavaDoc comments "Please help me to do the assignment, and tell me the steps and the necessary coding. <... View Questions/Answers

jsp  July 31, 2010 at 10:56 AM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... ... View Questions/Answers

Java Project  July 31, 2010 at 12:49 AM
Hey, thanks for everything your doing to make us better. Am trying to work on a project in java am in my first year doing software Engineering and the project is m end of year project. Am really believing for the best project ever. And i mind i was thinking of a Soccer Tournament like World Cup as m... View Questions/Answers

Java Code  July 30, 2010 at 10:42 PM
Write a program in Java (with a graphical user interface) that will allow the user to order a Pizza. For the pizza, it could be selected with a desired size, and toppings. The user should be able to pay the total cost of the ordered pizza, with 7.75% tax added, and receive the change back.... View Questions/Answers

java  July 30, 2010 at 7:21 PM
Design a Vehicle class hierarchy in Java. Write a test program to demonstrate polymorphism.and output.please reply must sir. ... View Questions/Answers

how to create executable  July 30, 2010 at 6:05 PM
How do i create a executable file from a java filethnks in adv...! ... View Questions/Answers

jsp code  July 30, 2010 at 4:08 PM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... and also want sum of all third colum. ... View Questions/Answers

jsp help  July 30, 2010 at 2:36 PM
i got below code for dynamically add n delete row... but in my table there are 17 colum in 1 row..i want to add whole row with 17 cloum.. so which changes are required???1)table.jsp:<HTML><HEAD><TITLE> Add/Remove dynamic rows in HTML table ... View Questions/Answers

javascript,jsp  July 30, 2010 at 1:00 PM
Dear Sir, I have a code which is not working properly.It is as follows.function calcMinValue(){ var Val="",minValue=9999; Val=document.pagename.txtbox1Id.value; if(Val!= ""){ if(Val<minValue){ document.pagename.txtbox4Id.v... View Questions/Answers

urgentt  July 30, 2010 at 11:53 AM
Dear Sir,I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group them a... View Questions/Answers

c program  July 30, 2010 at 11:14 AM
Write a program to encrypt a string and decrypt? ... View Questions/Answers

jsp help  July 30, 2010 at 10:10 AM
i want to add n remove rows dynamically and also want to add data in database in jsp .... ... View Questions/Answers

java  July 29, 2010 at 6:08 PM
i want to add a colum in a csv file, how to add it.? ... View Questions/Answers

Java Collections  July 29, 2010 at 5:57 PM
I am designing an application where the program is meant to read from 2 different text files (eg FileA and FileB) containing so many Long numbers (e.g 4 million numbers in each file). The application is meant to sieve out the numbers in FileB which are present in FileA and output the remaining numbe... View Questions/Answers

urgentt  July 29, 2010 at 5:48 PM
Dear Sir,I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group them a... View Questions/Answers

Java Type Casting  July 29, 2010 at 5:43 PM
what is object type casting? give some example with related? ... View Questions/Answers

Java Abstraction  July 29, 2010 at 5:18 PM
suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that meth... View Questions/Answers

Java Method Overloading  July 29, 2010 at 5:13 PM
can method be overloaded in subclass or not? ... View Questions/Answers

Java Abstraction  July 29, 2010 at 5:11 PM
If we declare a class as abstract then it contains may or may not be abstract mathod? why? In abstract class if we declare a variable then what is the access modifiers that variable should be? ... View Questions/Answers

Java Exception  July 29, 2010 at 5:07 PM
Why we are using throws in the java program even if we have try...catch block? If throws will throw the exception then who will catch it? what is the difference between the throw & throws? ... View Questions/Answers

java type casting problem  July 29, 2010 at 4:27 PM
what is type casting? what is the type of type casting? explain with example? ... View Questions/Answers

Inserting Data into mysql  July 29, 2010 at 1:50 PM
My sincere apologize for this post. I noticed there is no category for php. However am hoping my question will fit into the SQL category though under php. I need help with reading from a csv file (using php)and inserting the details in a mysql database. Lets take for instance, a csv file... View Questions/Answers

java compilation error  July 29, 2010 at 12:51 PM
1)java code:import java.awt.*;import javax.swing.*;public class ButtonsPanelApplet extends JApplet{public void init() {Container content_pane = getContentPane();ActionButtonsPanel buttonsPanel=new ActionButtonsPanel ();content_pane.add(butt... View Questions/Answers

javascript,jsp  July 29, 2010 at 12:19 PM
Dear Sir, I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group th... View Questions/Answers

javascript for prompt  July 29, 2010 at 12:07 PM
Dear sir, I am using prompt()for taking a reason from vendor .var reason=prompt('Reason for deleting:','');Then i am checking a that reason cannt exceed 256 length,if it exceed i have to give an alert message.I done the followingif(reason.length>256){alert... View Questions/Answers

java  July 29, 2010 at 11:15 AM
Is jvm plan form independent? ... View Questions/Answers

storing data in xml  July 29, 2010 at 8:51 AM
Can u plz help me how to store data in xml using java ... View Questions/Answers

java compilation  July 29, 2010 at 2:04 AM
import java.awt.*;import javax.swing.*;public class ButtonsPanelApplet extends JApplet{public void init() {Container content_pane = getContentPane();ActionButtonsPanel buttonsPanel=new ActionButtonsPanel ();content_pane.add(buttonsPanel);}... View Questions/Answers

updating a table in a database  July 29, 2010 at 12:59 AM
give me complete source code in java to execute the sqlquery such that(update table_name set phone no=? where cous_id=?). or in simple way give me source code to update my table in MsAccess with new values. ... View Questions/Answers

j2me  July 28, 2010 at 5:49 PM
can we append a list to a form in j2me. ... View Questions/Answers

jsp  July 28, 2010 at 5:12 PM
how to assign IP address to war file to run at server... i want steps to run war file at server... ... View Questions/Answers

jsp  July 28, 2010 at 5:06 PM
i want to add dynamic rows at button click... and also want to add data of that rows in database... ... View Questions/Answers

J2me logi page  July 28, 2010 at 4:05 PM
Iam learning j2me.Iam doing loginpage in j2me which contain username and password.Now i want to get a logo to my page from the internet by giving url. Here when i start the execution of a program then immediately the logo has to display...plz help how can i get this. ... View Questions/Answers

java setup  July 28, 2010 at 3:15 PM
Hi,Iam created a desktoplogin application using swings.pls observe the following code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLa... View Questions/Answers

java setup  July 28, 2010 at 1:54 PM
Hi,Iam created a desktoplogin application using swings.pls observe the following code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLa... View Questions/Answers

xml and xsd  July 28, 2010 at 12:55 PM
<or:AddMACRequestxmlns="urn:uk.org.telcob2b/tML/BT-Order-v15-0" xmlns:or="urn:com.openreach.Fulfilment2-v15-0" xmlns:utcc="urn:uk.org.telcob2b/tML/ukt-CommonComponents-v15-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc... View Questions/Answers

doc to pdf convertion  July 28, 2010 at 12:46 PM
hi ,I need to convert a .doc file that contains tables,pictures and text to pdf using Itext. I tried but it convert only texts.code i tried is package de.vogella.pdf.write;import java.io.*;import java.awt.*;import com.lowagie.text.*;import com.lowagie.... View Questions/Answers

Java Collections  July 28, 2010 at 12:13 PM
I am designing an application where the program is meant to read from 2 different text files (eg FileA and FileB) containing so many Long numbers (e.g 4 million numbers in each file). The application is meant to sieve out the numbers in FileB which are present in FileA and output the remaining numb... View Questions/Answers

dropdown  July 28, 2010 at 12:09 PM
i want to use dropdown select value in query-string in same page.. Using selected 'name' want to fetch details of that person from database.. without using Ajax... ... View Questions/Answers

object creation  July 28, 2010 at 11:51 AM
I need object creation in depth(with stack,pc registers).Any one can provide me if possible with video/audio.? ... View Questions/Answers

JSP Code  July 28, 2010 at 11:47 AM
Dear frnds,I have a problem where i need to display the record based on the drop down selection. It as follows:1. One drop down where i am dynamically binding data in dropdown list.2. Based on the selected item, another query has to be executed. something like:... View Questions/Answers

dwr with struts2  July 28, 2010 at 11:20 AM
CAn u help me how to use dwr with struts2 ... View Questions/Answers

java time  July 28, 2010 at 9:01 AM
Hi,Iam created a desktop login application using swings.pls observe the following code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLabel l... View Questions/Answers

Dynamic polymorphism  July 27, 2010 at 9:43 PM
Develop with suitable hierarchy, classes for point, shape, rectangele, square, circle,ellipse, triangle, polygon, etc. Design a simple test application to demonstrate dynamic polymorphism..Thanks in ADVANCE ... View Questions/Answers

Java problem  July 27, 2010 at 8:49 PM
what are threads in java. what are there usage. a simple thread program in java ... View Questions/Answers

Java Program  July 27, 2010 at 8:47 PM
A java program that display calendar. ... View Questions/Answers

Java Program  July 27, 2010 at 8:45 PM
A java program to move a text in applet from right to left. ... View Questions/Answers

java code digital clock  July 27, 2010 at 5:58 PM
hello can you share or give me a code that will display digital time.hh:mm:ssit shows the seconds is running.thats allthank u ... View Questions/Answers

c program  July 27, 2010 at 3:30 PM
given the string "wordprocessing",write a program to read the string from the terminal and display the same in the following formats:a) word processingb) word processing c) w.p. ... View Questions/Answers

tree view  July 27, 2010 at 3:24 PM
I m using swing for the treeview in my application and also the database(Hsqldb). I want to connect the tree view with the database fields. If u want more clarification ,let me know. Thanks ... View Questions/Answers

dropdown  July 27, 2010 at 2:41 PM
i want to use dropdown select value in query-string in same page.. Using selected 'name' want to fetch details of that person from database.. ... View Questions/Answers

Frame refresh problem  July 27, 2010 at 2:06 PM
Whenever I close a child frame and reload it using the button on parent frame controls on the child frame load twice at different positions...i've used validate() bt it dosen't work!Please suggest how to correct this problem....its urgent!!thnks in adv.. ... View Questions/Answers

java Program  July 27, 2010 at 12:19 PM
1. Write a java program to accept 10 numbers in an array and compute the sum of the square of these number. 2. Wrtie a java program that reads in three strings from the command line arguement and arrange them according to the length of a string. ... View Questions/Answers

DWR eclipse Plugin  July 27, 2010 at 12:05 PM
Hi,I am new to DWR, can u please guide me how to use DWR with eclipse3.1 ... View Questions/Answers

tree view  July 27, 2010 at 11:42 AM
Hello Deepak, Thanks for your help last time regarding java. I have another problem, Actually I want a tree view in my application which will display the files and folder as they are in database. so is there any such... View Questions/Answers

J2me image display  July 27, 2010 at 6:47 AM
How can i display a jpeg image in j2me ... View Questions/Answers

Date format  July 27, 2010 at 12:44 AM
Hi All,I am getting a date from database as a format 2010-15-07.I need to change it to 07/15/2010 and display it on my date field.Every time i need to check the format of the date field and make sure the correct format and then display it.How can i format it using java and al... View Questions/Answers

java and xml  July 26, 2010 at 9:09 PM
<?xml version="1.0" encoding="UTF-8"?><or:AddOrder xmlns="urn:uk.org.telcob2b/tML/BT-Order-v11-0"><Order><BuyersID>test_final_1</BuyersID><utcc:IssueDateTime>2009-025T13:23:45</utcc:IssueDateTime>&l... View Questions/Answers

J2ME project  July 26, 2010 at 9:01 PM
The GPRS based solution will display the latest rates of the products to the sales persons.the latest rates of the products will be shown to the sales personnel as a moving ticker on the screen of the mobile divice. ... View Questions/Answers

j2me project  July 26, 2010 at 8:57 PM
HOW TO CREATE MIDLET WHICH IS A GPRS BASED SOLUTION AND WILL PROVIDE THE SALES PERSONNEL WITH A LIST OF MENU ITEMS. TH SALES PERSONNEL CAN SELECT ITEMS IN THE MENU TO PERFORM VARIOUS FUNCTIONS SUCH AS RETRIEVING SALES DATA FROM THE SERVER.THIS MIDLET IS FOR THE PROJECT MEDICAL CENTRAL S... View Questions/Answers

J2ME project  July 26, 2010 at 8:51 PM
Dear, I have been assigned with a J2ME project on MEDICAL CENTRAL SUPPLIES. Well i have a little bit knowledge about J2ME but i have to present this project with 5 to 7 DIFFERENT MIDLETS . If u have a demo project on MEDICAL CENTRAL SUPPLIES please give... View Questions/Answers

J2ME project  July 26, 2010 at 8:49 PM
Dear, I have been assigned with a J2ME project on MEDICAL CENTRAL SUPPLIES. Well i have a little bit knowledge about J2ME but i have to present this project with 5 to 7 DIFFERENT MIDLETS . If u have a demo project on MEDICAL CENTRAL SUPPLIES please give... View Questions/Answers

java  July 26, 2010 at 6:26 PM
can anyone give me project for sending mail through lan without intenet .it views like gmail having addressbook for sending multiple mails. ... View Questions/Answers

Java Code  July 26, 2010 at 6:26 PM
I need to modify the following code/GUI so that not only does it calculate the volume of a swimming pool, but it tells how much water is needed and how much is costs to fill up the pool if water is .77 cents per cubic foot with a one time cost of $100.00. I just cant figure out how to make the progr... View Questions/Answers

java String array  July 26, 2010 at 5:59 PM
I want to print values stored in array of string ("1","2","3","4","5" ...) in the form 1 2 3 4 5 6 7 8 9 10 11 12 how can it be done ??Thanks ... View Questions/Answers

multi threading code  July 26, 2010 at 5:48 PM
Hi this is Anji.My question is how to share the variable between two threads?.Can any one post the answer please? ... View Questions/Answers

java desktop  July 26, 2010 at 4:42 PM
Hi,Iam created a desktop login application using swings.pls observe the following code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLabel l... View Questions/Answers

java Program  July 26, 2010 at 3:19 PM
1. write a program which accept a string from a keyboard and counts number of characters in it.2 display the following pattern11 21 2 31 2 3 1 2 3 4pls send answ as soon as possible ... View Questions/Answers

servlets  July 26, 2010 at 3:01 PM
Hi I have written a servlet by extending GenericServlet. In that I have overriden init() and service()methods. when I execute the servlet only service() is getting executed bu not init(). can any one tell me the reason? ... View Questions/Answers

jsp code  July 26, 2010 at 11:25 AM
i want to add below code data in mysql database using jsp... using below code we got data in text box i want to add multiple data in database... <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <SCRIPT language=&quo... View Questions/Answers

java source code  July 26, 2010 at 9:56 AM
hello Sir, Im a beginner in java.im greatly confused, so plz send me the source code for the following concept:Telephone directory management system:Accept the ID, name, residential address and phone number for N subscribers and perform the following operations : ... View Questions/Answers

java coding  July 25, 2010 at 8:20 PM
how to send mail in LAN without internet using java progamme ... View Questions/Answers

java  July 25, 2010 at 7:58 PM
Can you please provide me the steps for running the Java Doc Comments with a simple program please ... View Questions/Answers

servlets mails  July 25, 2010 at 4:54 PM
Hi,My problem is " i want to send a one mail to many persons(i.e.,same mail to many persons) using servlets".Pls help me. ... View Questions/Answers

servlets bulk  July 25, 2010 at 4:54 PM
Hi,My problem is " i want to send a one mail to many persons(i.e.,same mail to many persons) using servlets".Pls help me. ... View Questions/Answers

datamining  July 25, 2010 at 4:12 PM
what is the use of data mining? how to do that in java? what is the features of data mining in real time? can you tel me the real time example for this data mining? ... View Questions/Answers

socket  July 25, 2010 at 4:08 PM
in a chat application i have used two sockets s1 and s2, in that s1 is used for sign in a user and s2 is sign out of that user in multiple client program. i have created only one server socket for all the sockets.. is there any exception will occur if i use only one socket for both sign out and sign... View Questions/Answers

image  July 25, 2010 at 3:48 PM
how to identify the watermarked image? or how to convert the watermarked image into original image? can you send that corresponding java code? ... View Questions/Answers

java date  July 25, 2010 at 10:24 AM
Hi,Please observe the below code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLabel label1,label2;final JTextField text1;... View Questions/Answers

java desktop  July 25, 2010 at 10:12 AM
Hi,Iam created a desktop login application using swings.pls observe the following code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.sql.*;class LoginDemo{JButton SUBMIT;JFrame f;JLabel l... View Questions/Answers

Manifest.mf  July 24, 2010 at 11:55 PM
How to add a ralative path in Manifest.mf??please help,Thanks in adv. ... View Questions/Answers

Creating Java Object in Vbscript  July 24, 2010 at 6:33 PM
How to create a java object in Vbscript. Please give the detailed steps to create a java Object in Vbscript. ... View Questions/Answers

File location in FileOutputStream  July 24, 2010 at 5:11 PM
Hai,For uploading a file i used the FileOutputStream() method. And uploading works perfectly. This method allows parameter as file name or the full path(that is from the drive letter. For example-->"C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/mca2006sfssjc.co.i... View Questions/Answers

fetch data from ms acces  July 24, 2010 at 1:56 PM
How do i fetch back AUTO generated key from MS ACCESS table after inserting data through the java panel....Please HelpThanks in adv. ... View Questions/Answers

Swings  July 24, 2010 at 11:23 AM
Sir,I have developed an application in swings i want to call that class in applet. is it possible. or otherwise is there any way to deploy java class in browser. Give an example...Thanks in advance... ... View Questions/Answers

java  July 23, 2010 at 9:19 PM
Thank you sir.i need another program 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... View Questions/Answers

java a  July 23, 2010 at 5:43 PM
i will askiam using servlets ,in one program my requirement is if there is a image(if u like) in anywhere and we browse that image and it is store in u r account like orkut.my doubt is if the image is stored in database it is not the good idea. my requirement is the image is ... View Questions/Answers

data retrival and presentation  July 23, 2010 at 5:27 PM
I want to present the data which is retrieved from xml file.Which contains 1000 records.so i want to present them in order i.e page-wise how can i do this ... View Questions/Answers

again java  July 23, 2010 at 4:55 PM
i will askiam using servlets ,in one program my requirement is if there is a image(if u like) in anywhere and we browse that image and it is store in u r account like orkut.my doubt is if the image is stored in database it is not the good idea. my requirement is the image is ... View Questions/Answers

seo  July 23, 2010 at 4:52 PM
<a href="http://www.spicelandtours.com">spiceland</a> ... View Questions/Answers

seo  July 23, 2010 at 4:50 PM
http://www.spicelandtours.com ... View Questions/Answers

java programming  July 23, 2010 at 3:24 PM
Implement Lisp-like list in Java. Write basic operations such as 'car', 'cdr', and 'cons'. If L is a list [3, 0, 2, 5], L.car() returns 3, while L.cdr() returns [0,2,5].and tell me the output sir. ... View Questions/Answers

again java  July 23, 2010 at 2:59 PM
Hi,i will ask iam using servlets ,in one program my requirement is if there is a image(if u like) in anywhere and we browse that image and it is store in u r account like orkut.my doubt is if the image is stored in database it is not the good idea. my requirement is the... View Questions/Answers

DMCA.com