Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java  February 4, 2010 at 11:50 AM
example of 3d ... View Questions/Answers

Programming Error  February 3, 2010 at 10:41 PM
<p>Image:<input type=text name="Image1" size=25><button type=button name=SubmitBrowse onclick=window.location='http://localhost:8080/ProjectAd/Images.html'">Browse</button></p>When user clicks on Browse Button then a folder of imag... View Questions/Answers

Programming Error  February 3, 2010 at 10:26 PM
<%@ page language="java" import="java.sql.*" %><%@ page import="java.lang.String.*" %><%@ page session = "true" %><% String c=(String)session.getAttribute("Count");int c1=Integer.parseInt(c);... View Questions/Answers

Advertisement

Programming Error  February 3, 2010 at 8:04 PM
<HTML><HEAD><TITLE> Place Ad </TITLE><script>function funct(){if(document.form.DraftAd.value=="" || document.form.DraftAd.value==null){document.form.cnt.value=0;}else{document.form.cnt.value = documen... View Questions/Answers

Java Basics  February 3, 2010 at 4:57 PM
Dear Sir/Madam, Is Array Static? If Yes How can we say Array is static?Thanks and Regards,M.KethraBalan@Arumugam. ... View Questions/Answers

mvc architecture  February 3, 2010 at 3:40 PM
i am asking you give me an example for the object oriented programming using MVC architecturethen my problem is railway tickect generation Systemin my system one of the task is creating the routesfor every route we have number railwaystations are there.so i am using arraylist... View Questions/Answers

Validation in swing  February 3, 2010 at 2:25 PM
I want to validate my swing program. If I didnt enter the field in text box a msgbox should have to appear that enter all the fields. ... View Questions/Answers

source code  February 3, 2010 at 2:16 PM
i need source code for client server application in jsp to access multiple clients ... View Questions/Answers

MyEclipse  February 3, 2010 at 2:12 PM
How to run servlet programs in MyEclipse .Please give me the path and how to add JAR files.I am using MyEclipse 6.0 Thanks and Regards,senthilkumar.p ... View Questions/Answers

mvc architecture  February 3, 2010 at 2:05 PM
can u please provide a example program with code using mvc architecturemine problem is adding routes for the railwaystationhere routes means paths to reach destination from source stationso i need to add the number of routes in to my arraylistevery route is one object... View Questions/Answers

Graphics2D in java  February 3, 2010 at 12:41 PM
I am working on GIS project. I want to represent a line in different formate(for railroad,airplane root etc).I know how to represent solid, dashed,dotted lines.But i am not getting any idea to represent rail road and airplane root. help me ... View Questions/Answers

JAVA  February 3, 2010 at 11:17 AM
How to implement IVRS system using JAVA for mobile? ... View Questions/Answers

java beginners  February 3, 2010 at 11:08 AM
the pattern was not in this format** * ** * * * ** * * * * * *it is like this * * * * * * * * ** * * * * * *thanks ... View Questions/Answers

java beginners  February 3, 2010 at 11:03 AM
is there any other way to do this ?i want to do by using charAt() function and by decreasing the ascii code by 2 .Write a program to encode a message. The idea is to shift each letter of a alphabet (a to z) or numeric digit (0-9) by previous two places. For examp... View Questions/Answers

abt proj  February 3, 2010 at 11:00 AM
I made login page, when i click on login button , thaen how to go on home page on home page containe some tab like add, delete, update,etc.plz helpthanx ... View Questions/Answers

java beginners  February 3, 2010 at 10:57 AM
what is StringTokenizer?what is the funciton of it ?how does it works ?thanks ... View Questions/Answers

Permutation and combination  February 3, 2010 at 9:22 AM
4 steps are there u walk 1 by 1 or 2 output comes like 1,1,1,1 2,1,1 1,2,1 1,1,2 2,2 ... View Questions/Answers

Programming Error  February 2, 2010 at 10:40 PM
Image:<input type=text name="image" ><input type=button name="Browse" value="Browse"><input type=button name="Save" value="Save">I want that when user clicks on browse button then a folder of images should ge... View Questions/Answers

Programming Error  February 2, 2010 at 10:33 PM
<HTML><HEAD><TITLE> Place Ad </TITLE><script>function funct(){if(document.form.DraftAd.value=="" || document.form.DraftAd.value==null){document.form.cnt.value=0;}else{document.form.cnt.value = docume... View Questions/Answers

Overriding  February 2, 2010 at 10:11 PM
Why we cannot increase the scope of the overridden method ... View Questions/Answers

Swing  February 2, 2010 at 6:58 PM
Hi friends. I need a swing programming book for free download. That book should be easily understandable and have lot of examples. If any one have link send me please. ... View Questions/Answers

Java swing  February 2, 2010 at 6:30 PM
I created a text box and a button. When clicking a button a message have to come like "welcome then the thing i entered in the text box" ... View Questions/Answers

java with xml parsing  February 2, 2010 at 3:02 PM
Hi,I need the sample code for parsing complex data xml file with java code.Example product,category,subcategory these type of xml files and parse using java.Please send the code immediately its very urgent.this is my xml file....<?xml version=... View Questions/Answers

HTML EXE FILE Creater  February 2, 2010 at 12:50 PM
How to Create Exe File For HTML Project? ... View Questions/Answers

java  February 2, 2010 at 10:15 AM
how to manipulate thumb impression using java.for that what technology i should use? ... View Questions/Answers

SQL Error  February 2, 2010 at 12:09 AM
Invalid character value for cast specification on column number 5 (Designation) Whats this error about this if the field i specified in programming error.ie DB fields in above question? ... View Questions/Answers

Programming Error  February 1, 2010 at 11:52 PM
import javax.servlet.*;import java.io.*;import javax.servlet.http.*;import java.sql.*;public class UpdateOrd extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException ... View Questions/Answers

java with xml parsing  February 1, 2010 at 7:45 PM
Hi,I need the sample code for parsing complex data xml file with java code.Example product,category,subcategory these type of xml files and parse using java.Please send the code immediately its very urgent.Thanks,Valarmathi P ... View Questions/Answers

combo program  February 1, 2010 at 7:44 PM
I want to give DOB in combo box for that i have to give 1 to 30 for days and 1900 to 2010. Without giving all, using for loop i have to get the values. Please help me.. ... View Questions/Answers

Java runtime not working  February 1, 2010 at 6:23 PM
import javax.swing.*;import java.awt.*;import java.awt.event.*;public class SwingFrame{public static void main(String[] args) throws Exception{SwingFrame1 sf=new SwingFrame1();}public SwingFrame(){JFrame f = new JFrame("Frame in ... View Questions/Answers

javascript  February 1, 2010 at 5:57 PM
i have a problem like i have a 2 combobox when i m selecting any value from first combobox depending on selected value data should be come in second combobox from sql database ... View Questions/Answers

JAVA MAIl  February 1, 2010 at 5:08 PM
Hi,I am trying to send a mail using java mail api. But I am getting following error:javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: <host name>, port: 25; nested exc... View Questions/Answers

Combobox program  February 1, 2010 at 3:53 PM
import javax.swing.*;import java.awt.*;public class SwingFrame1{public static void main(String[] args) throws Exception{JFrame f = new JFrame("Frame in Java Swing");f.getContentPane().setLayout(null);JLabel lbl1 = new JLabel("Name")... View Questions/Answers

java  February 1, 2010 at 3:10 PM
HOW AND WHERE SHOULD I USE A CONSTRUCTOR IN JAVA PROGRAMMING??? ... View Questions/Answers

Swing programming  February 1, 2010 at 3:09 PM
import javax.swing.*;import java.awt.*;public class SwingFrame{ public static void main(String[] args) throws Exception { JFrame f = new JFrame("Frame in Java Swing"); f.getContentPane().setLayout(null); JLabel lbl1 = new JLabel("Name... View Questions/Answers

Questions in Swing  February 1, 2010 at 3:01 PM
I have created combobox in my program. I added MCA,MBA,others etc.. If i click others then a new textbox should open beside that combobox for that am in need of coding in java swing. ... View Questions/Answers

java  February 1, 2010 at 1:47 PM
write a program in a pramid like 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 4 5 4 3 2 1 ... View Questions/Answers

java  February 1, 2010 at 12:38 PM
hi,i have one xml file .i want to parse the xml file ,validate the xml file and stored it into the mysql databzse.Iwant the sample code immediately.Please send to me its very urgent.Thanks,valarmathi P ... View Questions/Answers

JavaMail flagging problems  February 1, 2010 at 11:51 AM
Hi everyone, I am working on receiving a mail currently. I use a substring "status" to search for the mail's subject line and read only those mails which have this as the subject line.My problem is, every time i run the program, the old mails are also displayed. how to flag the mails... View Questions/Answers

abt proj  February 1, 2010 at 11:22 AM
which topic i have to study carefully ,when I am going to start java project using swings ... View Questions/Answers

abt java project  February 1, 2010 at 11:20 AM
I don't know too much about java , and I am working on java project, where editor is eclipse and backend postgresqlHow can i take help about my project, which book I should refers plz help me ... View Questions/Answers

XML  February 1, 2010 at 11:09 AM
How to convert database to XML file? ... View Questions/Answers

Java Compilation error  February 1, 2010 at 10:29 AM
i wrote a simple hello world program i get this error every time please helpException in thread "main" java.lang.NullPointerException at org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.readCertsFromHarddrive(Unknown Source)... View Questions/Answers

Java Compilation error.  February 1, 2010 at 10:12 AM
when ever i run my console application i get this error or message even if it is a helloworld program please help<terminated>AgentId [JavaApplication]c:\javase\bin\javaw.exe 172.25.12.37/1265000394924/7e8058c4570661aax3480d38fx12687e6305exX800077/1172.25.12.37/1265000394924/7... View Questions/Answers

Error output  February 1, 2010 at 10:00 AM
Can anyone please assist me; The printed output should be:The product is 10. But instead of it I got; The product is undefined. Can anyone trace what went wrong of my code pls?===========================================================================<htm... View Questions/Answers

Day.Gui  January 31, 2010 at 12:51 PM
I am new to GUI Java programming and I am attempting to find the best way of creating a frame to contain a series of menus. I am first adding logic to have the date and time appear in the frame, but the way I am doing it they are both showing up on the same line and I can't seem to find any sources ... View Questions/Answers

Eclipse  January 31, 2010 at 12:45 PM
I having problems getting my program to run in Eclipse 3.2. Could I get some assistance perferabley by tomorrow morning. Thank You!!!!package OFC;import java.awt.*;import javax.swing.*;import java.awt.event.*;class Form extends JFrame{ JLa... View Questions/Answers

java (jquery)  January 31, 2010 at 12:13 PM
i want to combine to things to create a photo gallery.http://spaceforaname.com/galleryview eg: http://spaceforaname.com/gallery-light.htmlandhttp://finnrudolph.de/ImageFlow/Download eg: http://imageflow.finnrudolph.de/the thing i want is....i... View Questions/Answers

source code in java for a program using class  January 31, 2010 at 10:17 AM
Dear sir/madam i want source code in java for following program:WAP which creates a class accountthat stores customer name,account number and type of account.From this derive the classes cur-acc and sav-acc to make them more specific to their requirements.include the necessary member methods i... View Questions/Answers

Unable looping using JOptionPane  January 31, 2010 at 10:17 AM
import javax.swing.*;public class Shop{public static void main(String [] args){ Shop shop = new Shop(); String mainMenu= "(MAIN SCREEN )"; mainMenu+= "\n1) Computer Menu"; mainMenu+= "\n2) Storage Menu";... View Questions/Answers

C Help  January 31, 2010 at 8:15 AM
Dear sir,I'm developing a program in c using TURBO-C, i want that when my program runs the console window(cmd) should be hidden. program should run in task manager.thnx ... View Questions/Answers

create named class  January 31, 2010 at 6:35 AM
Can you check my coding@program:How to create a class named Employee with name and salary. Make a class Manager inherit from Employee with an instance field named department. Supply a method toString() that prints the manager?s name, department and salary. Make another class named Direct... View Questions/Answers

JAVA  January 30, 2010 at 7:31 PM
How to read port number using property file in JAVA? ... View Questions/Answers

java  January 30, 2010 at 7:28 PM
How to send audio file through one mobile to another mobile using JAVA? ... View Questions/Answers

swings  January 30, 2010 at 5:48 PM
i have two combobox.In first combo box i have 5 items.If i selecte the first combo box item then the related data will apear in the second combo box, if i select the another item in the first combobox then the related data will appear in the second combo box. how can i acheive this.thank you ... View Questions/Answers

How can i add a new count to this source code ?  January 30, 2010 at 4:46 PM
Hi everyoneI have 5 variables1. XTSM is between 0~2002. XTS is between 0~23. XRX is 0~34. XHAN is 0~75. ZHTYPE is one of these : (1)TCHF_HLF (2)TCHSD (3)TCHFULLthey are related to their with this shape .XTSM->XTS->XRX->... View Questions/Answers

JAVA  January 30, 2010 at 3:53 PM
How to read MySQL user name and password through Property file using Property class in JAVA? ... View Questions/Answers

swings  January 30, 2010 at 3:38 PM
I have two combo box in the same pannel. when i am going two run the program the out put comes from two combobox selected items..when i am going to select the second combo box item, i dont want the output of 1st combo box item. Two combo box in the same pannel, i am using netbeans.......... View Questions/Answers

How can i add a new count to this source code ?  January 30, 2010 at 3:34 PM
Hi everyoneI have 5 variables1. XTSM is between 0~2002. XTS is between 0~23. XRX is 0~34. XHAN is 0~75. ZHTYPE is one of these : (1)TCHF_HLF (2)TCHSD (3)TCHFULLthey are related to their with this shape .XTSM->XTS->XRX->... View Questions/Answers

Avl tre problem code  January 30, 2010 at 1:43 PM
package DataStructures; // BinarySearchTree class // // CONSTRUCTION: with no initializer // // ******************PUBLIC OPERATIONS********************* // void insert( x ) --> Insert x // void remove( x ) --> Re... View Questions/Answers

how to use toString method?  January 30, 2010 at 10:47 AM
i'm a new student, and learn with java.How to create a class named Employee with name and salary. Make a class Manager inherit from Employee with an instance field named department. Supply a method toString() that prints the manager?s name, department and salary. Make another class named... View Questions/Answers

How to implement a superclass Person?  January 30, 2010 at 10:41 AM
How to implement a superclass Person. Make two classes, Student and Lecturer, that inherit from Person. A person has a name and year of birth. A student has a degree program and a lecturer has a salary. Write the class definitions for all classes. Each class must have a constructor and a toString()... View Questions/Answers

applet not initalized  January 30, 2010 at 3:50 AM
I HAVE TRIED MY HEART OUT BUT THIS APPLET IS NOT GETTING INITIALIZED .....THE FOLLOWING IS THE PROGRAM I HAVE WRITTEN:import java.awt.*;import java.applet.*;import java.awt.event.*;/*<applet code=card width=500 height=500> </applet... View Questions/Answers

java progam  January 29, 2010 at 8:01 PM
write to me java program on simple calculator ... View Questions/Answers

java  January 29, 2010 at 6:31 PM
pls tell me file handling tutorials with examples in detailed manner.. ... View Questions/Answers

Java Coding  January 29, 2010 at 3:17 PM
What is the meaning of following statement in Java? Clasname objectname = another_object_name.method_name;The Example Code is Given Belowpublic void sessionCreated(HttpSessionEvent sessionEvent) {// Get the session that was createdHttpSession sessio... View Questions/Answers

swings  January 29, 2010 at 2:48 PM
I have a combobox.In that i added lot of names. i want to display first five names with one type of font and another five names with different font. how can i do this. please help memy code is File f = new File("C:/Program Files/Java/jre1.6.0/lib/fonts/MAPFONT.TTF"); ... View Questions/Answers

XML  January 29, 2010 at 11:30 AM
How to run XML program? ... View Questions/Answers

swings  January 29, 2010 at 10:59 AM
how to add an image to combobox? i searched for this in google, but i got very difficult programs. i am beginner in java swings . i want a small example to add a image .gif file to combobox list. thank you ... View Questions/Answers

SQL Query  January 29, 2010 at 4:06 AM
Hi I would like to know how to create a SQL query which would copy values from a field which contains multiple values to an existing table. I created table 2 and defined the fields.I tried different types of insert statements but could not figure it out.ExampleTab... View Questions/Answers

java  January 28, 2010 at 11:08 PM
hi i m working on a project in which i have to create a page in which i have to give an feature in which one can create a add project template in which one can add modules and inside those modules some more options please give me idea how to start with ... View Questions/Answers

hiberante installation  January 28, 2010 at 8:44 PM
how to install hibernate s/w in windows xp. ... View Questions/Answers

J2ME  January 28, 2010 at 6:56 PM
Have to develop a tracking system as a project have to track a mobile from computer using GPS.I don't know where to start.This is my final year project can anyone tell me is it ok?If not then suggest some another J2ME application.thank you. ... View Questions/Answers

junit test case  January 28, 2010 at 6:25 PM
how to use junit for testing email id format ... View Questions/Answers

java.lang.ClassNotFoundException:  January 28, 2010 at 4:26 PM
Hi,I cant connect my eclipse(ganymede) to mavenEven I got some errors when launching my first applicationThis is what i gotJan 28, 2010 4:03:02 PM org.apache.tomcat.util.digester.SetPropertiesRule beginWARNING: [SetPropertiesRule]{Server/Service/Engine... View Questions/Answers

Java 2D Graphics  January 28, 2010 at 3:28 PM
I am working on GIS project.I want represent a line in different forms like railroad, airplane etc.How can i acheive thisI know the standard forms like dashed, dotted line.My code is bs = null; bs = new BasicStroke(f... View Questions/Answers

I'v a doubt  January 28, 2010 at 1:19 PM
Hai to all, How to break the mysql jar file, and import into the java file by without using any editiors.With regards,Terrance. J ... View Questions/Answers

java swings  January 28, 2010 at 12:42 PM
if i design the more than two menu on the frame, if i click on the menu than another frame open which contain the some data like as item,price,name of item,color,id etc. plz help ... View Questions/Answers

java swings  January 28, 2010 at 12:36 PM
how to send the data in database using java swing. Example : how to design the registration page using java swing, and how to write the coding to store the data into data base.Plz help........ ... View Questions/Answers

Date Java  January 28, 2010 at 11:09 AM
I'm using the eclipse software and I get an error for my porgramming for the Date.java..Please assist.Here's what I have so far:public class Date { private int month; // 1-12 private int day; // 1-31 based on month private int year; // any year... View Questions/Answers

java  January 28, 2010 at 10:59 AM
i am trying to serialize a transient object which is non-serializable .after serialization the object should restore the reference which was initially assigned.is it possible? ... View Questions/Answers

javascript date picker  January 28, 2010 at 9:43 AM
how to insert a date picker user control in a html/jsp using javascript??? please help, it's urgent. ... View Questions/Answers

java  January 28, 2010 at 9:00 AM
write a program the highest common factor of three numbers. ... View Questions/Answers

java  January 28, 2010 at 8:07 AM
write a program in java to print first 10 prime number? ... View Questions/Answers

java  January 28, 2010 at 7:56 AM
write a program in java to print the number as follow;12 13 2 14 3 2 15 4 3 2 ... View Questions/Answers

programming err  January 28, 2010 at 12:01 AM
<%@page import="java.lang.*" %><%! int i; %><form><input type=text name="t" ><%{String s=request.getParameter(t);String[] sa=s.split(" ");for (i=0;i<sa.length;i++){out.println(sa[i... View Questions/Answers

Programming Error  January 27, 2010 at 9:49 PM
Hello Sir, how to convert a txt written in textarea of html must get converted to integers and should get displayed in words in count text box of htmt .And shoukd displayed in wordsEg: if "Hello hi" is written then in count box it must displayed 2 words then h... View Questions/Answers

Programming error  January 27, 2010 at 8:29 PM
Actually there is an error in placeorder.jsp file where there are 5 fields OrderNo ,Name , Address, Email, PhoneNowhere if I delete an order of client based on orderno then suppose in database if there are 5 orders then if i delete an order no 3then the next order no i.e is 4 should not ... View Questions/Answers

JSP Doubt  January 27, 2010 at 8:11 PM
Hello Sir, Sir Actually I have created my DraftAd in Html and I want that any thing i type in draft ad should be converted into digits i.e integers and should get displayed in another text box ie count text box which is created in html.And in count text box it should not sho... View Questions/Answers

generate graf report..  January 27, 2010 at 7:27 PM
How to generate report(graf) using jsp code?? ... View Questions/Answers

flash diamond  January 27, 2010 at 6:39 PM
* ******** * *** *** * ***** * *** *** * ***** *** * ... View Questions/Answers

C#  January 27, 2010 at 2:32 PM
program to print the following: 1 1 1 1 2 2 1 2 3 3 3 2 3 4 4 4 4 34 5 5 5 5 5 4 ... View Questions/Answers

java  January 27, 2010 at 12:58 PM
Write a menu driven program to find the volume of a cuboids, sphere and a cylinder by using overloading method. Formulas are as mentioned below :Volume of cuboids = height * width * depthVolume of sphere = 4/3 * Pi * r3Volume of cylinder = Pi * r3 * h ... View Questions/Answers

java begginers  January 27, 2010 at 12:57 PM
Display the following pattern: * * * * * * * * * * * * * * * * ... View Questions/Answers

UML  January 27, 2010 at 11:39 AM
How to Draw UML DIAGRAM? ... View Questions/Answers

javascript  January 27, 2010 at 11:16 AM
i want to go to the next page when i will click on the particular image in slide show. so can you help me how to go to next page when click on particular image of slide show in javascript. i used href tag but it does not work so i m posting my javascript code here below.note: in the head secti... View Questions/Answers

java  January 27, 2010 at 9:30 AM
Write a program to encode a message. The idea is to shift each letter of a alphabet (a to z) or numeric digit (0-9) by previous two places. For example :C to A, M to K ?. A to Y. Similarly 3 to 1, 7 to 5 ?. 1 to 8 regards ... View Questions/Answers

java  January 27, 2010 at 9:30 AM
Write a program to encode a message. The idea is to shift each letter of a alphabet (a to z) or numeric digit (0-9) by previous two places. For example :C to A, M to K ?. A to Y. Similarly 3 to 1, 7 to 5 ?. 1 to 8 regards ... View Questions/Answers

java  January 27, 2010 at 9:29 AM
Write a complete java program with the following members of its class:Members Members Name Description private data Ac_num Stores account number Ac_name Stores account holders name Bal Stores balance am... View Questions/Answers

code in java  January 26, 2010 at 5:19 PM
program for a two user chess game(Users must be on different systems) please send me this source code to my mail id with step by step explanation. ... View Questions/Answers

DMCA.com