Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

problem Scrolling jTable in scrollpane  March 26, 2011 at 1:14 PM
hi i get into a problem of scrolling jtable in scrollpane.Only horizontal scroll is working, vertical scroll is not working...here is m code: try { PreparedStatement pst=c1.prepareStatement("select * from entry where visit_to_person=?"); pst.se... View Questions/Answers

CALULATION IN TEXT FIELD  March 26, 2011 at 12:12 PM
Suppose 3 text Field first amount ,second amount and third sum of these amount,this amount will appear when tab in next filed(i don't want use any type button) in java swing HOW? PLEASE HELP ... View Questions/Answers

questions  March 26, 2011 at 12:01 PM
Q. 1 programes on if....else 1. write a program to check whether entered year is leap year or not 2. write a program to check whether entered no. ends with 5 or not 3. write a program to find minimum of 3 nos using nested if else. 4. write a... View Questions/Answers

Advertisement

Mini project on Book Bank using netbeans tool with java and for database using mysql  March 26, 2011 at 11:49 AM
hi roseindia, i have need the miniproject on bookbank with the deisgn using the netbeans tool, and create the database for that using mysql. please send me, its very very urgent. so, please .....! ... View Questions/Answers

Mini project on Book Bank using netbeans tool with java and for database using mysql  March 26, 2011 at 11:48 AM
hi roseindia, i have need the miniproject on bookbank with the deisgn using the netbeans tool, and create the database for that using mysql. please send me, its very very urgent. so, please .....! ... View Questions/Answers

programes on if....else  March 26, 2011 at 11:39 AM
write a program to check whether entered year is leap year or not write a program to check whether entered no. ends with 5 or not write a program to find minimum of 3 nos using nested if else. write a program to check whether entered no. is divisible by 5 or 7 or ... View Questions/Answers

hai  March 26, 2011 at 11:35 AM
bring out the oop features in java with examples? ... View Questions/Answers

programes on switch  March 26, 2011 at 11:34 AM
write a program to design menu driven arithmetic calculator write a program to print no of days in a given month ... View Questions/Answers

programes on while loop  March 26, 2011 at 11:30 AM
write a program to calculate sum of an entered digit write a program to find gcd and lcm of 2 positive integers ... View Questions/Answers

programes on do... while  March 26, 2011 at 11:22 AM
write a program to print reverse of a given digit write a program to check whether entered digit is palindrome or not write a program to check whether entered no. is Armstrong or not ... View Questions/Answers

programs on for loop  March 26, 2011 at 11:16 AM
a. write a program to find squares and cubes of 1st 10 integers b. write a program to to calculate factorial of a no, c. write a program to print Fibonacci series d. write a program to check whether entered no is prime or not e. write a program to print given pa... View Questions/Answers

programes on for loop  March 26, 2011 at 11:14 AM
a. write a program to find squares and cubes of 1st 10 integers b. write a program to to calculate factorial of a no, c. write a program to print Fibonacci series d. write a program to check whether entered no is prime or not e. write a program to print given pattern * * * * ... View Questions/Answers

programes on for loop  March 26, 2011 at 11:14 AM
a. write a program to find squares and cubes of 1st 10 integers b. write a program to to calculate factorial of a no, c. write a program to print Fibonacci series d. write a program to check whether entered no is prime or not e. write a program to print given pattern * * * * ... View Questions/Answers

programes on for loop  March 26, 2011 at 11:14 AM
a. write a program to find squares and cubes of 1st 10 integers b. write a program to to calculate factorial of a no, c. write a program to print Fibonacci series d. write a program to check whether entered no is prime or not e. write a program to print given pattern * * * * ... View Questions/Answers

programes on for loop  March 26, 2011 at 11:14 AM
a. write a program to find squares and cubes of 1st 10 integers b. write a program to to calculate factorial of a no, c. write a program to print Fibonacci series d. write a program to check whether entered no is prime or not e. write a program to print given pattern * * * * ... View Questions/Answers

programes on array  March 26, 2011 at 10:58 AM
a. write a program to find max and min element in an array of an integer b. write a program to convert decimal no. to binary and back to decimal. c. write a program to do following:- i) addition of two matrices ii) subtraction of two matrices iii) multiplication of two matrices iv) fi... View Questions/Answers

JComboBox  March 26, 2011 at 10:52 AM
I have jcombobox. In which tha values are loaded from MySql Database. My problem is that i want to load content of the jtable whenever i change the selected item. Please some one help me to do this. Thank you. ... View Questions/Answers

programes on strings  March 26, 2011 at 10:43 AM
a. write a program to copy one array to another array using System.arrayCopy() method. b. write a program to check whether entered string is palindrome or not. ... View Questions/Answers

programes on methods  March 26, 2011 at 10:40 AM
write a program to implement bubble sort write a program to demonstrate call by value and call by reference.(pass objects as parameters) write a program to calculate factorial of a no. using recursive function write a program to concatenate two strings entered by ... View Questions/Answers

write a program to store information of 50 products  March 26, 2011 at 10:34 AM
write a program to store information of 50 products(code, quantity and price). Calculate the total cost (quantity*price) of each product and print the information. ... View Questions/Answers

write a program to calculate volume of a cube  March 26, 2011 at 10:30 AM
write a program to calculate volume of a cube, cylinder, rectangular box using method overloading ... View Questions/Answers

How to Create Quiz Application using iPhone  March 26, 2011 at 10:12 AM
Hi, I am learning iphone application Programming Language. my question is that how to create a quiz application using iPhone. Please provide online reference to study and example. Thanks, ... View Questions/Answers

decimal to hexadecimal  March 26, 2011 at 5:43 AM
using array in java convert decimal to hexadecimal. ... View Questions/Answers

JSP &MYSQL  March 26, 2011 at 12:57 AM
Develop a web page for the telephone directory using jsp and mysql ... View Questions/Answers

struts client side validation  March 25, 2011 at 11:23 PM
how can i code for client side validation? ... View Questions/Answers

JProgressBar  March 25, 2011 at 10:15 PM
Hello sir, I want to use the progress bar in my project. I want the progress bar in such a way that after it finish loading the output should come. i.e i want to download some files using that progress bar.pls help me ......... ... View Questions/Answers

toString  March 25, 2011 at 8:48 PM
how to override toString method to display integer ... View Questions/Answers

abstraction  March 25, 2011 at 8:20 PM
give a simple example program for abstraction ... View Questions/Answers

abstraction  March 25, 2011 at 8:20 PM
give a simple example program for abstraction ... View Questions/Answers

game  March 25, 2011 at 4:52 PM
Hi thank you for answers.I am devoloping a java game caled Duck Hunt Game in netbeans6.7.1 software and I need help in some codes such as moving picture left and right and how ducks flaying and how gun works. All and all,if you have this game's code please post me as soon as possible ... View Questions/Answers

Webservices  March 25, 2011 at 4:45 PM
Hi, this is chinna, i am trying to develop a web service that has to return one table data. i have taken table data in a two dimensional array for soap request i have passed one value to get table data in soap response i am getting in the following format value1 ... View Questions/Answers

disable and enable the submit buttons  March 25, 2011 at 4:34 PM
i have two summit button in my form. one is disabled and other is navigating to the other page. after 3 submissions of the submit button the disabled one must be enabled and the enabled one must be disabled.. pls help me ... View Questions/Answers

java application  March 25, 2011 at 4:31 PM
How can i create an exe file in java application ... View Questions/Answers

Tooltip alignment  March 25, 2011 at 4:18 PM
Dear Sir, I have a code given below,which gived tooltip design.But,in one table i am getting three students' information.On putting the mouse on the roll numbers of the students i can not get the right alignment of that tooltip as desired.The Div is seen in the other position other than n... View Questions/Answers

struts with ajax  March 25, 2011 at 3:01 PM
i have two selectboxex.the first selectbox contains all states.when i select one state then the cities corresponing to that state will appear in another textbox.i want code for this in struts and ajax ... View Questions/Answers

JAVA project  March 25, 2011 at 2:54 PM
How to extract tags and their corresponding properties of a "cascading style sheet" file using JAVA? ... View Questions/Answers

Importing data into sql plus from a text file...  March 25, 2011 at 1:12 PM
How to import a text file into oracle 10g enterprise edition directly to create tables and data? ... View Questions/Answers

Importing data into sql plus from a text file...  March 25, 2011 at 1:12 PM
How to import a text file into oracle 10g enterprise edition directly to create tables and data? ... View Questions/Answers

inheritence in java?  March 25, 2011 at 1:10 PM
what is inheritence and how it work inn java? ... View Questions/Answers

executio of xml file  March 25, 2011 at 12:56 PM
how to execute xml file , on web browser ... View Questions/Answers

Can i insert image into struts text field  March 25, 2011 at 12:33 PM
please tell me can i insert image into text field ... View Questions/Answers

Advanced GUI  March 25, 2011 at 12:08 PM
I want some effects like contraction when i close a frame or expansion when i open a frame.. Can someone help me in this.. Thanks. ... View Questions/Answers

asking for android program  March 25, 2011 at 12:01 PM
can i use this code in android calculator program? ... View Questions/Answers

Exception  March 25, 2011 at 11:26 AM
public class FooException extends Exception { public FooException() { super(); System.out.println("hdihfiuhif"); } public FooException(String message) { super(message); System.out.println("hdihfiuhif"); } public FooException(String... View Questions/Answers

java  March 25, 2011 at 11:20 AM
declare one paragraph as string. every word starting letter is automatically convert to caps in tat paragraph ... View Questions/Answers

java  March 25, 2011 at 11:16 AM
give me program for this output 12345 1234 123 12 1 ... View Questions/Answers

please check my code is wrong or ok.it was not work .this is form validation in javascript using jsf page  March 25, 2011 at 10:46 AM
<p>?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf... View Questions/Answers

Form validation in javascript using jsf page  March 25, 2011 at 10:45 AM
?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" ... View Questions/Answers

How to Autogenerate of ID from database and show on JSP page?  March 25, 2011 at 10:44 AM
problem in web application : I have a database names tasks in SQL server 2005 having tasks id as primay key, I am using JSP and struts for database connectivity,Now I can update my database but i want to autogenerate tasks id in numbers on JSP page when I click on CreateTask.jsp page.How can ... View Questions/Answers

How to Autogenerate of ID from database and show on JSP page?  March 25, 2011 at 10:42 AM
problem in web application : I have a database names tasks in SQL server 2005 having tasks id as primay key, I am using JSP and struts for database connectivity,Now I can update my database but i want to autogenerate tasks id in numbers(ie increasin 1 in the previously stored tsk id) on JSP page ... View Questions/Answers

How to Autogenerate of ID from database and show on JSP page?  March 25, 2011 at 10:42 AM
problem in web application : I have a database names tasks in SQL server 2005 having tasks id as primay key, I am using JSP and struts for database connectivity,Now I can update my database but i want to autogenerate tasks id in numbers(ie increasin 1 in the previously stored tsk id) on JSP page ... View Questions/Answers

How to Autogenerate of ID from database and show on JSP page?  March 25, 2011 at 10:41 AM
problem in web application : I have a database names tasks in SQL server 2005 having tasks id as primay key, I am using JSP and struts for database connectivity,Now I can update my database but i want to autogenerate tasks id in numbers(ie increasin 1 in the previously stored tsk id) on JSP page ... View Questions/Answers

What is the output if....  March 25, 2011 at 8:51 AM
Here is my code. what is the output if a. the value of lowerLimit is 50? b. if the value of lowerLimit is 150? int lowerLimit; ... try { System.out.println("Entering the try block."); if (lowerLimit < 100) throw new Exception("Lower limit violati... View Questions/Answers

How do I use JGraph to create a MST(minimum spanning tree) using java?  March 25, 2011 at 6:59 AM
How do I use JGraph to create a MST(minimum spanning tree) using java? thanks for the help!!! ^_^ ... View Questions/Answers

currency conversion  March 25, 2011 at 5:58 AM
hi frds.. I wan jsp code to convert currency in different formats??... if u know plz plz plz post it ... View Questions/Answers

write a program in C to print following triangles on the screen  March 25, 2011 at 4:18 AM
write a program in C to print following triangles on the screen ** * *** * * ** ** * * ... View Questions/Answers

looking to have the abilty to send boardcast alerts  March 25, 2011 at 2:38 AM
I'm looking to have the abilty to send boardcast alerts Is there a way to send alert messages to a user or to a group of users in java/websphere Need to know where to start ... View Questions/Answers

CMS project using JSF  March 25, 2011 at 2:03 AM
Can i use jsf for CMS project..? If yes pls give some guidelines to how to start....? ... View Questions/Answers

java  March 24, 2011 at 7:35 PM
How to create progress bar in neatbean software(using java)? Can i have shooting code in neatbean software(using java)? ... View Questions/Answers

doubt on DAO's  March 24, 2011 at 5:57 PM
hai frnds.... can anyoneexplain about how to integrate struts with hibernate,any predifined plugin is available or we need to create our own plugin????? and please help me. how to use dao s while integrating struts with hibernate..??? actually what is the purpose of dao's ?????... View Questions/Answers

doubt on DAO's  March 24, 2011 at 5:57 PM
hai frnds.... can anyoneexplain about how to integrate struts with hibernate,any predifined plugin is available or we need to create our own plugin????? and please help me. how to use dao s while integrating struts with hibernate..??? actually what is the purpose of dao's ?????... View Questions/Answers

multiple select values  March 24, 2011 at 4:46 PM
can you provide an example for multiple select values for html:select tag ... View Questions/Answers

How to add or create instant messaging in website?  March 24, 2011 at 4:44 PM
How to add or create instant messaging in website? ... View Questions/Answers

How to add or create instant messaging in website?  March 24, 2011 at 4:44 PM
How to add or create instant messaging in website? ... View Questions/Answers

HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE?  March 24, 2011 at 4:41 PM
HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE? ... View Questions/Answers

HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE?  March 24, 2011 at 4:41 PM
HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE? ... View Questions/Answers

java  March 24, 2011 at 3:04 PM
code of image movement left and right ... View Questions/Answers

JAVA  March 24, 2011 at 2:37 PM
Hi, here is my code: package project1; public class dddddddddd { public static void main(String[] args) { System.out.println("dddddddddddddddd"); } } but output is as follows: run: java.lang.NoSuchMethodError: main Exception in thread "ma... View Questions/Answers

Replace TEXT  March 24, 2011 at 2:10 PM
I have two text files in two diff locatons.The text file like below using java program 1)a.txt 1 abc bangalore 2 def adfsdf 3 ghij asdfdsad 2)b.txt A B C Now i want output is like below format a.txt A abc bangalore B... View Questions/Answers

Replace  March 24, 2011 at 2:01 PM
Hi, I have two text files in two diff locatons.The text file like below using java program 1)a.txt 1 abc bangalore 2 def adfsdf 3 ghij asdfdsad 2)b.txt A B C Now i want output is like below format a.txt A abc ... View Questions/Answers

j2me  March 24, 2011 at 12:42 PM
i need more points about j2me ... View Questions/Answers

Please explain me the flow of this program..  March 24, 2011 at 12:02 PM
// Substring replacement. class StringReplace { public static void main(String args[]) { String org = "This is a test. This is, too."; String search = "is"; String sub = "was"; String result = ""; int i; do { // replace all matching subs... View Questions/Answers

calculate volume of cube, cylinder and rectangular box using method overloading in java  March 24, 2011 at 11:40 AM
calculate volume of cube, cylinder and rectangular box using method overloading in java ... View Questions/Answers

sturt2-jdbc  March 24, 2011 at 11:35 AM
Hello sir, GoodMorning I want struts2.0 with jdbc of insert ,search, delete, update example. ... View Questions/Answers

demonstrate a) static data members b) static methods  March 24, 2011 at 11:17 AM
demonstrate a) static data members b) static methods ... View Questions/Answers

how to calculate addition of two distances in feets and inches using objects as functions arguments  March 24, 2011 at 11:16 AM
how to calculate addition of two distances in feets and inches using objects as functions arguments in java ... View Questions/Answers

jsp and bean problem  March 24, 2011 at 11:09 AM
Hi i have the following jsp code... Can you plz help me in separating the code to bean? I'm new to bean and need it for my project...Plz help...Its quite urgent... Regards Priya <%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <head&g... View Questions/Answers

List  March 24, 2011 at 10:54 AM
i do have one list object, i want to compare this list from database table and if match found i want to update the list ... View Questions/Answers

servlet  March 24, 2011 at 10:52 AM
is there any way to include pdf's in servlet ... View Questions/Answers

struts  March 24, 2011 at 10:20 AM
I have no.of checkboxes in jsp.those checkboxes values came from the databases.we don't know howmany checkbox values are came from database.dynamically based on the database values checkboxes were created.we create setter and getter methods for those checkboxes in ActionForm.finally we get those ... View Questions/Answers

code related problem  March 24, 2011 at 10:17 AM
this code is compiling but not running please help import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Mybutton11 extends JFrame { JTextField text1 = new JTextField(20); JButton button1; JButton button2 ; JFrame frm; public Mybutton11() { new... View Questions/Answers

form validation  March 24, 2011 at 10:09 AM
how the form validation is done in jsf form using javaScript ... View Questions/Answers

expression language array  March 24, 2011 at 9:42 AM
var test='${abc.myarray}'; //myarray is string array in bean //abc How to get the length of myarray? I tried test.length which does not work. ... View Questions/Answers

HOW TO RUN JDBC PRORAM ON JDK1.5.0  March 24, 2011 at 7:00 AM
import java.sql.*; import java.util.*; class MyDbCode3* { public static void main(String [] args) { try `print("code sample");` { `print("code sample");` Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); } catch(ClassNotFoundException cnf) { System.out.println("Cannot ... View Questions/Answers

Stream Cipher  March 24, 2011 at 6:28 AM
I want to encrypt data use two layer cipher as follow,but it seems not work, why and how, thanks´╝? encrypt part´╝? Cipher cf1 = Cipher.getInstance(ciphAlg1); cf1.init(Cipher.ENCRYPT_MODE, key1, paramSpec); Cipher cf2 = Cipher.getInstance(ciphAlg2); cf2.init(Cipher.ENCRYPT_MODE, key2, par... View Questions/Answers

indexof case insensitive java  March 24, 2011 at 1:13 AM
Hi, I have to use the indexOf function on String class in Java. I am looking for indexof case insensitive java example. Share the code with me. Thanks ... View Questions/Answers

JDBCAppender  March 23, 2011 at 7:46 PM
I have already included (log4j.xml) in my project, in which JDBCAppender is defined but still there is a problem. ... View Questions/Answers

uploading and copying files  March 23, 2011 at 7:28 PM
how can i upload and copy one file based on the given inputs and copy it from one directory to another ... View Questions/Answers

how to convert jsp to exe  March 23, 2011 at 4:41 PM
hello sir, i am doing webapplication. the configuration is windows xp operating system,IE6.0,apache tomcat5.0,j2se5.0 and jsp,servlets i am using.this is doing in localhost only. now i want this application in another system. i donot like to install tomcat and j2se to another system. so... View Questions/Answers

Merge databases in SQL SErver 2005  March 23, 2011 at 4:25 PM
Please help me to merge databases in SQL server 2005. ... View Questions/Answers

java jvm  March 23, 2011 at 4:22 PM
In java in what memory area instance,static and local variables will be stored. ... View Questions/Answers

Hexadecimal numbers multiplication  March 23, 2011 at 4:14 PM
Sir, I have to multiply 128 bit hexadecimal numbers. Do u have any logic for this?? The numbers are like ab7564fa342b5412c34d9e67ab341b58 ... View Questions/Answers

struts2 filters  March 23, 2011 at 3:40 PM
hi i created a filter,if the session is null then it should to go error page that ur not authorized to access, nw my question is how to use means how to call filter to do the task pls help me........... ... View Questions/Answers

how to connect program to database  March 23, 2011 at 3:40 PM
Sir i want ur help in my program. I want to save the data in the database. When i'll click on save button the entered data must be save in the database. I want an action performed method for this. import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; public ... View Questions/Answers

insert code jsp to access  March 23, 2011 at 3:40 PM
insert code jsp to access ... View Questions/Answers

Why binding attribute is required in jsf frame work  March 23, 2011 at 3:37 PM
Why binding attribute is required in jsf frame work. And what use of binding attribute. ... View Questions/Answers

code for insert the value from jsp to access database  March 23, 2011 at 3:33 PM
code for insert the value from jsp to access database ... View Questions/Answers

how to create web page on jsp?  March 23, 2011 at 3:00 PM
how to create web page on jsp? ... View Questions/Answers

File Transfer  March 23, 2011 at 2:25 PM
How to create a file in server side using java swing? ... View Questions/Answers

how to get the checkbox value in jsp  March 23, 2011 at 1:18 PM
how to get the checkbox value in jsp? ... View Questions/Answers

DMCA.com