Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

core java  January 26, 2010 at 3:27 PM
what are the type of scope variables and use? ... View Questions/Answers

core java  January 26, 2010 at 3:26 PM
how many keywords are in java? give with category? ... View Questions/Answers

OOP with Java  January 26, 2010 at 12:20 PM
I had a look at the solution for the answers, in the website already, but my lecturer wants us to do it in another method. Here goes the question.Write a program to assign passengers seats in an airplane. Assume a small airplane with seat numberings as follows: 1 A B C D 2 A ... View Questions/Answers

continue of doubts in place ad  January 26, 2010 at 12:11 AM
and when user clicks on confirm check box then only save or submit button should get displayed and when clicked on save everyting selected on place ad page should get saved in database .and when clicked on submit everything should get displayed on next page.and i want that when user clic... View Questions/Answers

Doubts in PlaceAd.jsp  January 26, 2010 at 12:03 AM
In DraftAd when user types in the textarea then it should get converted into digits and should get displayed in count box. in words that is how many words user have typed and there should be limit upto only 500 characters.And this should get displayed in next page when clicked on submit and it... View Questions/Answers

Prog Error  January 25, 2010 at 11:53 PM
<%@ page language="java" import="java.sql.*" %><%@ page import="java.lang.String.*" %><% Connection con=null; //ResultSet state=null; Statement stmt=null; String st;try{Class.forName("sun.jdbc.odb... View Questions/Answers

Programming error  January 25, 2010 at 11:46 PM
<%@ page language="java" import="java.sql.*" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; int No=0; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.ge... View Questions/Answers

star rating code in jsp  January 25, 2010 at 7:36 PM
how to write star rating system using jsp?? ... View Questions/Answers

jsp retrive image  January 25, 2010 at 7:33 PM
How to Display Images in JSP retrieved from MYSQL database?plz help me.. ... View Questions/Answers

java program  January 25, 2010 at 6:58 PM
write a program that asks the user for a starting value and an ending value and then writes all the integers (inclusive) between those two value. ... View Questions/Answers

UML Diagram  January 25, 2010 at 6:26 PM
How I Can Draw my UML Diagram,my Project subject is Graphical Representation of Array Sorting(Bubble Sorting,Selection Sort,Merge Sort,Insertion Sort,Quick Sort) ,How I Can Draw UML diagram for this project.plz Help Me. ... View Questions/Answers

Struts validation not work properly  January 25, 2010 at 3:10 PM
hi...i have a problem with my struts validation framework.i using struts 1.0...i have 2 page which is:1)index.jsp===================================<%@ page language="java"%><%@ taglib uri="http://jakarta.apach... View Questions/Answers

Spring examples  January 25, 2010 at 2:40 PM
Hi,I need the sample example for how to retrieve the values from jdbc using spring.Please send the sample example immediately.Its very urgent.Thanks,Valarmathi P ... View Questions/Answers

java swings  January 25, 2010 at 2:25 PM
When we click on the button , than open a frame, How to create a link on button to frame , example : Suppose I Have to create a login page and on login page there are three button like login, reset, and register. If user is new than click on the register button , w... View Questions/Answers

interview question  January 25, 2010 at 2:14 PM
hello i want technical interview question in current year ... View Questions/Answers

read text file and store the data in mysql  January 25, 2010 at 2:00 PM
when we store the data in mysql table from text file its store the data from new line to new column. how to store the data in different column from a single line of text file. ... View Questions/Answers

Clarify my doubt  January 25, 2010 at 1:17 PM
Hi All,Although i know the concept of Servlet & JSP, but I have never got a chance to work in EJB . So could u please tell me how to create web Project in netbeans and deploy it in tomcat AND/OR creating a web project in netbeans adding jsp/servlet in this web project and deploying in tomc... View Questions/Answers

Javascript validation  January 25, 2010 at 10:44 AM
Hi, this is ragav and my doubt is: I am having a input type="file" text box in which the user can browse the required file.. If that file is a gif file, I have to allow user for further procession else not.. How to check whether that file name selected by the user is a g... View Questions/Answers

identification quiz  January 25, 2010 at 8:17 AM
what is the html java code for a identification quiz?plz help me.. ... View Questions/Answers

java applet problem  January 25, 2010 at 3:44 AM
i was doing a program using java applet. I want to make a simple calculator. So i added four labels,textboxes. And 6 buttons for add,multiply,divide,minus and a clear and exit button to clear the textboxes and to exit from the applet respectively.Now i want to display a message when the user click... View Questions/Answers

Programming Error  January 24, 2010 at 4:25 PM
<%@ page language="java" import="java.sql.*" %><%@ page import="java.lang.String.*" %><% Connection con=null; //ResultSet state=null; Statement stmt=null; String st;try{Class.forName("sun.jdbc.odb... View Questions/Answers

Java Compilation error and how to continue from this  January 24, 2010 at 3:52 PM
Camford Cars Rental Pte Ltd requires a software system to manage its daily operations like renting and returning of vehicles,booking and cancelling bookings,checking the availability of its vehicle,etc.For this project i am required to write the application only for renting its vehicles.... View Questions/Answers

Mastering Struts  January 24, 2010 at 12:46 PM
Sir, how can i master over struts. The theoritical part is very clear but the implementation part troubles me. What should I do? Until and unless i am guided over some struts Project i dnt think...its possible. Right? ... View Questions/Answers

Programming Error  January 23, 2010 at 10:59 PM
<%@ page language="java" import="java.sql.*" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; int No=0; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.ge... View Questions/Answers

Programming error  January 23, 2010 at 9:19 PM
<HTML><HEAD><TITLE> Payment </TITLE></HEAD><BODY BGCOLOR="lightblue"><marquee behavior="alternate" scrollamount=5 scrolldelay=10><h1><font size=4 face="Stroustroup" color="#993355"... View Questions/Answers

Programming Error  January 23, 2010 at 9:09 PM
Ya States and cities and maincategory and subcategory are combobox and maincategory contains suppose matrimonial then sub category will contain groom and bride,if main category contains vehicals then sub category contains cars and their model and different companies of that car etc.and d... View Questions/Answers

java  January 23, 2010 at 7:12 PM
hi can u say how to create a database for images in oracle and store and retrive images using histogram of that image plz help me its too urgent ... View Questions/Answers

differences  January 23, 2010 at 6:25 PM
What are the differences between structured programming and object oriented programming? ... View Questions/Answers

stop an infinite for loop  January 23, 2010 at 5:22 PM
class InfiniteForLoop{ public static void main(String[] args) { for(;;){ } } }i want this infinite for loop program to be stopped by another program named kill. when i run that another program kill the execution of infinit... View Questions/Answers

servlets output to jsp  January 23, 2010 at 4:42 PM
hey i have writing a code lately and wanted to print the output to the jsp page from the servlet.the servlet would read the command prompt n thn return the output as string to the jsp pagehere is the code.i am unable to get a string rather it is returning an objecttry ... View Questions/Answers

bacterial Evolution algorithms  January 23, 2010 at 9:31 AM
Can I have a code for Bacterial evolutionary lgorithm ... View Questions/Answers

Programming Error  January 23, 2010 at 12:03 AM
<%@ import="java.sql.*"%><%!DBConnect d=new DBConnect();%><HTML><HEAD><TITLE> Place Ad </TITLE></HEAD><BODY BGCOLOR="lightblue"><marquee behavior="alter... View Questions/Answers

Programming error  January 22, 2010 at 11:21 PM
<%--<%@ page language="java" import="java.sql.*" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection(&q... View Questions/Answers

java  January 22, 2010 at 9:56 PM
what is the use of java.utl ... View Questions/Answers

c++  January 22, 2010 at 9:54 PM
WHAT IS the use of#include<<conio.h in c++ ... View Questions/Answers

programming error  January 22, 2010 at 7:04 PM
<%@ page language="java" import="java.sql.*" %><% Connection con=null; ResultSet rs=null; Statement stmt=null; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdb... View Questions/Answers

j2me code  January 22, 2010 at 5:28 PM
hi, im new to j2me programming.i want to store a video into buffer in j2me. can anybody please give me a sample program. thank u in advance.regards,sakthi ... View Questions/Answers

Link List proble,  January 22, 2010 at 12:41 PM
i have a problem about programming...this is the problem..-create an application using Linked List this application can add Nodeto your list and Delete to your list......my brain is bleeding can you help me guyz ... View Questions/Answers

applet  January 22, 2010 at 11:47 AM
how to draw textboxes using applets ... View Questions/Answers

basic java  January 21, 2010 at 11:46 PM
oops concept in java ? ... View Questions/Answers

Project  January 21, 2010 at 11:45 PM
Can you send me the whole project on jsp or servlet so that i can refer it to create my own :the topic is Advertisement Management SystemAtleast tell me how many modules does it include. ... View Questions/Answers

Programming Error  January 21, 2010 at 11:42 PM
How to validate login page using jsp where it checks for username whether it is empty or not or is it including number or not if it is the paste alert message. ... View Questions/Answers

NoClassDefFoundException  January 21, 2010 at 8:50 PM
following code has compiled sucessfully but at run time it givs error "NoClassDefFoundException". no other erorr import java.awt.*;import java. awt.event.*;public class marks extends Frame implements ActionListener{Label l= new Label("en... View Questions/Answers

Spring examples  January 21, 2010 at 4:54 PM
Hi,I need sample program using Spring.Full floww o f the code using tiles ,controller,view,model...Please send the sample code for the above one.Please send immediately.Thanks,Valarmathi ... View Questions/Answers

java  January 21, 2010 at 4:46 PM
Hi roseindia, Recently i got one problem..i want convert string to datetime .Now in my project i need this one ...plz favour meThanqs Advance ... View Questions/Answers

ow to create EJB in eclipse and deploy in tomcat EJB ?  January 21, 2010 at 3:24 PM
Hi All, Although i know the concept of EJB , but I have never got a chance to work in EJB . So could u please tell me how to create EJB Project in eclipse and deploy it in tomcat AND/OR creating a web project in eclipse adding EJB in this web project ant deploying in tomcat.... View Questions/Answers

Point Style code.  January 21, 2010 at 2:53 PM
hi , I am Nagarjuna ,this is my first qestion in this forum, pls to this question through the mail.my E- mail id:bodduna.nagarjuna@gmail.com Q: I am working on GIS project.I want to read the symbols from Map font file and add these symbols to combo box in netb... View Questions/Answers

how to create this diamond structure with java.  January 21, 2010 at 9:24 AM
* ******** * *** *** * ***** * *** *** * ***** * *** *** * ***** *** * ... View Questions/Answers

Servlet and Access  January 20, 2010 at 8:41 PM
How to use RequestDispatcher in servlet to call html os javascript file to validate a login page please reply i am so confused.And how to save image in access database cause i am using Microsoft access 2003 so how to save the image file in access Database.please do reply.... View Questions/Answers

programming error  January 20, 2010 at 8:32 PM
import java.io.*;import javax.servlet.*;import javax.servlet.http.*;import java.sql.*;public class Place_Ad extends HttpServlet{public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException, IOException{res.setCon... View Questions/Answers

java  January 20, 2010 at 7:49 PM
how to create a database for java with images in ms access(2007) version. ... View Questions/Answers

bean  January 20, 2010 at 7:34 PM
what is use bean in jsp? ... View Questions/Answers

JSP  January 20, 2010 at 5:11 PM
Hi!this is my html page which generates data dynamically in div content....I want to store the content of div content in databasePlease help me.....Thanks in advance...<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ... View Questions/Answers

DMCA.com