Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

difference between lock and synchronization  September 4, 2011 at 2:20 PM
Hi, I am new in java please anyone tell me difference between lock and synchronization in java. its urgent. Thank in advance ... View Questions/Answers

how to play audio track in java applat  September 4, 2011 at 2:39 AM
Sir,i took help of coding in how to play audio track in java applet....nd i found perfect code ..but when i run same code on net beans then it shows error that could not found main class file...as u see there is no main claas in this coding then how would i run dis code...and the code is <... View Questions/Answers

Invoice Form  September 3, 2011 at 10:06 PM
How can I create an Invoice web application (preferable PHP) with customer look-up (with option to add new customer) and a grid to add items (search for items) with a total line below the grid. The grid should have the functionality to retrieve the item price and compute an extended price based o... View Questions/Answers

Advertisement

Inner classes  September 3, 2011 at 9:46 PM
Hi I am bharat . I am student learning java course . I have one question about inner classes . question is how to access the instance method of Non-static classes which is defined in the outer class that is main class . I didnâ??t understand following code Suppose t... View Questions/Answers

college student admission  September 3, 2011 at 6:58 PM
Front End -JAVA Back End - MS Access Hello Sir, I want College Student Admission Project in Java with Source code, that includes Following Forms 1) Student Admission based on Enterance Exam Marks - Regular\Fresher,Backlog,Passed Students LAST DATE OF ASMISSION 2) Student Information 3) Faculty I... View Questions/Answers

parser error xmlparseentityref no name  September 3, 2011 at 2:49 PM
While parsing the error in my mobile application ..i'm getting the following error.. "parser error xmlparseentityref no name" and that is because of "&". I have also tried the "&" but it escapes the "&". Please suggest.thanks. ... View Questions/Answers

How to convert entity character to html character  September 3, 2011 at 2:48 PM
Please help me to "convert entity character to html character" in java. If possible please provide source code which take String as input and return as String. ... View Questions/Answers

about the base class of file  September 3, 2011 at 12:34 PM
what is the basic class of file? ... View Questions/Answers

java program 32  September 3, 2011 at 11:45 AM
Write a java program to create server and clint such that server receives data from clint using BufferedReader and send reply to client using PrintStream ... View Questions/Answers

java program 54  September 3, 2011 at 11:41 AM
Write a java APPLET program to display an image using drawImage metod of java Graphic class ... View Questions/Answers

java program  September 3, 2011 at 11:40 AM
write a java program to read a file content into a string object using available and read methods of java bufferedinputstream. ... View Questions/Answers

java program 47  September 3, 2011 at 11:39 AM
Write a java program to read a file content into a String using available and read methods of java BufferedReaderInput Stream ... View Questions/Answers

java program  September 3, 2011 at 11:38 AM
write a program showing two threads working simultaneously upon two objects(in theater one object "cut the ticket" and second object "show the tikect") ... View Questions/Answers

Jtable-Java  September 2, 2011 at 6:13 PM
Hi all,I have a Jtable And i need to clear the data in the table .I only Need to remove the data in the table.not the rows.Please help me. ... View Questions/Answers

java  September 2, 2011 at 3:26 PM
can we make/declare static class in java? if yes ,why? ... View Questions/Answers

question  September 2, 2011 at 1:16 PM
which package do i need to import to use length() method for strings. the compiler shows an error telling me that it can't find length() method.. ... View Questions/Answers

how to insert check box  September 2, 2011 at 12:26 PM
how to insert check box into jtable row in swing ... View Questions/Answers

Getting data from servlet into javascript  September 2, 2011 at 12:02 PM
How do i get json data from my servlet on to a variable in javascript n bind the data to display onto sigma grid.Has anyone Idea how to do this? ... View Questions/Answers

jawa  September 2, 2011 at 9:00 AM
Prompt the user to choose an item/product using the number (1,2,3) that corresponds to the item, or to enter 0 to quit the application. After the user makes the first selection, if the choice is 0, display a bill of RM0. Otherwise, display the menu again. ... View Questions/Answers

session management  September 1, 2011 at 11:18 PM
Hi, I'm new to session management things. i need a program that provides session details and restricts multiple client requests. which means, i had a log-in page and two other pages9admin page and support page) .when i log-in in to my particular application if i'm an autho... View Questions/Answers

java  September 1, 2011 at 6:49 PM
What is thee use of interface in java? where in java we can only use interface neither abstact class nor class is useful there? ... View Questions/Answers

java programming  September 1, 2011 at 6:47 PM
abstract class demo { void play() { System.out.println("hello"); } void play2() { System.out.println("hi there"); } } class abs extends demo { public static void main(String[]args) { ... View Questions/Answers

Typecasting  September 1, 2011 at 3:24 PM
Hi,,plz give me explanation of upcasting and downcasting using reference with examples. ... View Questions/Answers

Typecasting  September 1, 2011 at 3:24 PM
Hi,,plz give me explanation of upcasting and downcasting using reference with examples. ... View Questions/Answers

Problem in Spring 3 MVC and Hibernate 3 Example tutorial source codes  September 1, 2011 at 10:12 AM
I referred your tutorial "Spring 3 MVC and Hibernate 3 Example" and downloaded your source codes. I created a build.xml and built it using ant. And copied to Jboss server and tried to run the project, but there is a error threw to jboss console which mentioned org.springframework.beans.f... View Questions/Answers

how to add scrollbar to JFrame  September 1, 2011 at 9:10 AM
hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when i add my panel to scrollpane and then add that scrollpane to JFrame than it shows the scrollbar but do not show the scrolling tabs here is my code pls do help me if u can p... View Questions/Answers

how to add scrollbar to JFrame  September 1, 2011 at 9:10 AM
hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when i add my panel to scrollpane and then add that scrollpane to JFrame than it shows the scrollbar but do not show the scrolling tabs here is my code pls do help me if u can p... View Questions/Answers

how to add scrollbar to JFrame  September 1, 2011 at 9:10 AM
hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when i add my panel to scrollpane and then add that scrollpane to JFrame than it shows the scrollbar but do not show the scrolling tabs here is my code pls do help me if u can p... View Questions/Answers

how to add scrollbar to JFrame  September 1, 2011 at 9:10 AM
hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when i add my panel to scrollpane and then add that scrollpane to JFrame than it shows the scrollbar but do not show the scrolling tabs here is my code pls do help me if u can p... View Questions/Answers

how to add scrollbar to JFrame  September 1, 2011 at 9:10 AM
hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when i add my panel to scrollpane and then add that scrollpane to JFrame than it shows the scrollbar but do not show the scrolling tabs here is my code pls do help me if u can p... View Questions/Answers

b.tech fresher 2011  August 31, 2011 at 7:04 PM
Program to find depth of the file in a directory and list all files those are having more number of parent directories. Program to calculate the sum of two big numbers (the numbers can contain more than 1000 digits). Don't use any library classes or methods (B... View Questions/Answers

Getting Json data from servlet to javascript variable  August 31, 2011 at 5:56 PM
How do i get json data from my servlet on to a variable in javascript n bind the data to display onto sigma grid.Has anyone Idea how to do this? ... View Questions/Answers

iphone avfoundation  August 31, 2011 at 5:43 PM
What is iphone avfoundation and why it is required? Can anyone show how to implement the AVFoundation in iPhone application with example or tutorial? Thanks! ... View Questions/Answers

b.tech fresher 2011  August 31, 2011 at 5:35 PM
an application for managing an educational institute. That application should provide the details of Students Courses Faculty Fee details etc.., ... View Questions/Answers

b.tech fresher 2011  August 31, 2011 at 5:35 PM
an application for managing an educational institute. That application should provide the details of Students Courses Faculty Fee details etc.., ... View Questions/Answers

Which gives better performace Stack vs Arraylist  August 31, 2011 at 4:28 PM
I want to implemet a generic Stack implementation. I am confused whether to use java.util.Stack class or to simulate ArrayList as Stack? I am very much concerned about performance ( even if it increases 1% am happy! ). I have only 2 operations on stack push,pop. That's all. Waiting for y... View Questions/Answers

dbms_change_notification new_reg_start  August 31, 2011 at 4:22 PM
Please explain it "dbmschangenotification newregstart" Thanks in advance! ... View Questions/Answers

parsing xml with jquery  August 31, 2011 at 4:12 PM
Please explain how to parse a xml file into jquery. Thanks. ... View Questions/Answers

How can I open my Java desktop app by clicking on its file?  August 31, 2011 at 4:06 PM
How can I open my Java desktop app by clicking on the file it creates? This app creates files when selecting its "Save as" option with an extension specificaly defined for this app. For instance, imagine I create an editor app called BlueSky and make its text files save as "*.bsky" files. What mu... View Questions/Answers

html tags  August 31, 2011 at 11:53 AM
html tags ... View Questions/Answers

hibernate  August 31, 2011 at 1:52 AM
when we using schemaExport in hibernate every time it drops the existing table and create new table ,if table contain dependent table then is it drop (or) not ... View Questions/Answers

Exception handling  August 31, 2011 at 1:41 AM
exception are occur at run time but when we connect to the database errors will come at compile time why? ... View Questions/Answers

frame generation  August 30, 2011 at 9:29 PM
Hi I wnat to genarate one frame with two tabs working ,production..and I want two radiobuttons sector ,others in the frames..based on the tab selection I want to clikc the radio button..when i ckick the radio button i want list of items in agrid format in ascrollpane.. like **working prod... View Questions/Answers

javascript adding a value to an array  August 30, 2011 at 6:02 PM
How to add a value to a function argument or an array in JavaScript? ... View Questions/Answers

spring mvc validation error messages  August 30, 2011 at 5:53 PM
on running the application i getting the validation error in spring..why? Thanks! ... View Questions/Answers

how to show popup in javascript  August 30, 2011 at 5:41 PM
How to show popup in javascript? ... View Questions/Answers

How to use an object properties in jsp page  August 30, 2011 at 4:47 PM
I have a arraylist of objects 'User' populated using struts 2 action class while loading that jsp page. In that JSP I have included another jsp using following tag: Here instead of hardcoded value 'AMIT' I want to use value of User object. Ho... View Questions/Answers

call to a member function  August 30, 2011 at 4:47 PM
While uploading the data on server i am getting following error... call to a member function children() ... View Questions/Answers

error call to undefined function mysql_connect  August 30, 2011 at 4:45 PM
what is error call to undefined function mysql_connect? ... View Questions/Answers

JSon Tutorial  August 30, 2011 at 3:00 PM
What is JSon? Where i can find the JSon tutorial? Thanks! ... View Questions/Answers

How to copy existing column along with data and column name into another existing table  August 30, 2011 at 1:56 PM
i want to copy the existing column along with data and column name also into another existing table... For ex; TableA : Address email TableB : contact bgl abc 123 hyd xyz 678 <... View Questions/Answers

activity indicator for iphone sdk  August 30, 2011 at 1:29 PM
Setting the UIActivity indicator in search bar for iPhone SDK. ... View Questions/Answers

Disable UITableView Scrolling  August 30, 2011 at 1:10 PM
How to disable the UITableView Scrolling either programmatically or in XIB? ... View Questions/Answers

converting string to double in java  August 30, 2011 at 12:57 PM
Please post an example to converting string to double in java. Thanks! ... View Questions/Answers

how to destroy java thread  August 30, 2011 at 12:53 PM
how to destroy java thread? ... View Questions/Answers

How to stop java scripting engine when the script being run is taking too much time?  August 30, 2011 at 11:49 AM
How to stop java scripting engine when the script being run is taking too much time? for e,g, in case of infinite loop the memory is getting exceeds to throw out of memory error. I searched lot in google but didn't find a solution suited. ... View Questions/Answers

remove previous view iphone  August 30, 2011 at 11:34 AM
How to remove previous view in iPhone application on loading a new subview on it? ... View Questions/Answers

hide show keyboard iphone  August 30, 2011 at 11:24 AM
How to hide show keyboard in iPhone programmatically?? ... View Questions/Answers

hide show keyboard iphone  August 30, 2011 at 11:24 AM
How to hide show keyboard in iPhone programmatically?? ... View Questions/Answers

hide show keyboard iphone  August 30, 2011 at 11:24 AM
How to hide show keyboard in iPhone programmatically?? ... View Questions/Answers

JSP & Swings  August 30, 2011 at 11:10 AM
How to integrate jsp and swings? ... View Questions/Answers

login page validation  August 30, 2011 at 9:55 AM
hi could you please send me code for login validations Email validation and password email should be in correct format and valid password in java ... View Questions/Answers

game programming  August 30, 2011 at 12:07 AM
Hi. i have witten the script and have almost completed developing a social game like mafia wars. can any one plz help me by answering me some of my doubts.. after uploading the game on facebook how tokeep data of different players? how to receive payments? how to keep record of their stages weapo... View Questions/Answers

mail server logs  August 29, 2011 at 11:19 PM
Imagine you have a mail server log. It has many lines. Each line tells a Person A sent an email to Person B. There are two rules:â?¨1. If Person X sent an email to Person Y, they are in a same group. Similarly, if Y also sent an email to Z, Z is in the same group too.â?¨2. If Person A did... View Questions/Answers

javaprograms  August 29, 2011 at 7:59 PM
sum of the following series s=1/1! + 2/2! + 3/3! + 4/4! +...............n/n! ... View Questions/Answers

javaprograms  August 29, 2011 at 7:56 PM
compute the following series s=1x3+3x5+5x7+..................+31x33 ... View Questions/Answers

javaprograms  August 29, 2011 at 7:51 PM
1 1 12 3 123 6 1234 10 12345 15 write java program for above series? ... View Questions/Answers

java programs  August 29, 2011 at 7:38 PM
problems 1 21 312 4123 51234 ... View Questions/Answers

javaprograms  August 29, 2011 at 7:33 PM
please help in this java program.... 2345 1345 1245 1235 1234 ... View Questions/Answers

isequaltostring returns false  August 29, 2011 at 6:25 PM
Is "isequaltostring" returns false? How can we set the "isequaltostring nil"?? Please answer. Thanks in advance! ... View Questions/Answers

NSMutablestring memory leak  August 29, 2011 at 6:19 PM
Why i am getting the nsmutablestring memory leak "NSCFString" leak..? ... View Questions/Answers

can we inherit static method in java?  August 29, 2011 at 6:14 PM
can we inherit static method in java? ... View Questions/Answers

how to inherit static variable  August 29, 2011 at 6:07 PM
how to inherit static variable or methods in Java?? Please explain the entire process of inheriting the variable. Thanks in advance! ... View Questions/Answers

pair of words  August 29, 2011 at 3:29 PM
Law : Citizen Joy : Ecstasy Synagogue : Religion Control : Order ... View Questions/Answers

jdbc and swing problem in netbeans  August 29, 2011 at 2:24 PM
i reteived the table from database in a jdbc program. next i want to do is place the table as it is in a jpanel.. i am using netbeans IDE can u tel me how to do that one?? urgent ... View Questions/Answers

jdbc and swing problem in netbeans  August 29, 2011 at 2:24 PM
i reteived the table from database in a jdbc program. next i want to do is place the table as it is in a jpanel.. i am using netbeans IDE can u tel me how to do that one?? urgent ... View Questions/Answers

Java knowledge  August 29, 2011 at 11:57 AM
Hi, I am having 2yr IT experience in java. I know core java ana JSP, Serlets only. Further what shuld I need to know to get good growth in my career ? Please help ... View Questions/Answers

precedence operators c++ example  August 29, 2011 at 11:44 AM
What is the precedence of operators in c++ and how does it works? ... View Questions/Answers

java program 29  August 29, 2011 at 11:35 AM
write a program to create a package mypack and interface Mydate with single method to display system date & time in this package. Implement this interface in Userclass import this packege and use the interface and its method in this class. ... View Questions/Answers

java program  August 29, 2011 at 11:23 AM
write a program showing two threads working simultanously upon two objects(in theater one object "cut the ticket" andsecond object "show is the seat) ... View Questions/Answers

java program 18 algorthm  August 29, 2011 at 11:20 AM
writ a alogrithm for this program to get current date and time in the following format: current year is:2007 current month is:12 current date is:25 current hour in 12 hour foramt is :6 current hour in 24 hour format is :18 current minute is:28 current second is:54 current milisecond is:797 curren... View Questions/Answers

Dynamically hide textbox  August 29, 2011 at 2:04 AM
I have a drop down(combo box) with 2 values (reference and file).When refrence is selected from the drop down the components of file(that is displayed when file is selected) should get hidden dynamically. AVOID PAGE REDIRECTING jsp+servlet+oracle+javascript I am u... View Questions/Answers

How to add "View more results" kind of functionality in my PHP based website?  August 28, 2011 at 8:59 PM
Hi, I want to make a website which will recommend users books according to the genre selected by them. I am using PHP, JavaScript and mySQL. The problem is that there will me almost more than 100 books for a particular genre. I want to display only 10 books at a time and subsequen... View Questions/Answers

How to add  August 28, 2011 at 8:55 PM
Hi, I want to make a website which will recommend users books according to the genre selected by them. I am using PHP, JavaScript and mySQL. The problem is that there will me almost more than 100 books for a particular genre. I want to display only 10 books at a time and subsequen... View Questions/Answers

pizza  August 28, 2011 at 7:10 PM
create a class names pizza data fields include a String for toppings such as pepperoni and inteager for diameter in inches 12" abd a diuble ofor price such as 13.99 include methods to get and set values for each for these fields ... View Questions/Answers

Biginteger  August 27, 2011 at 11:28 PM
program to calculate the sum of two big numbers(the numbers can contain more than 1000digits) Don't use any library classes or methods(Big integers etc...) ... View Questions/Answers

get ( ) Method in PHP  August 27, 2011 at 6:28 PM
what is get method in PHP ... View Questions/Answers

post  August 27, 2011 at 6:25 PM
what is post ... View Questions/Answers

get latitude and longitude from google maps  August 27, 2011 at 5:39 PM
How to get the latitude and longitude from google maps? ... View Questions/Answers

facebook like button code  August 27, 2011 at 5:24 PM
How to create a facebook like button? can anyone share the code..?? Thanks in advance! ... View Questions/Answers

java program  August 27, 2011 at 4:28 PM
write a java program to get current date and time in the following format: current year is:2007 current month is:12 current date is:23 current hour in 12 hour format is:6 current hour in 24 hour format is:18 current minute is:28 current second is:54 current millisecond is:797 current full date ti... View Questions/Answers

java program 18  August 27, 2011 at 4:21 PM
write a java program to get current date and time in the following format: current year is:2007 current month is:12 current date is:25 current hour in 12 hour foramt is :6 current hour in 24 hour format is :18 current minute is:28 current second is:54 current milisecond is:797 current full date ... View Questions/Answers

jdbc sql exception.  August 27, 2011 at 2:28 AM
import java.sql.*; import java.io.*; class InsertEx { public static void main(String args[])throws Exception { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:ora","system","tiger"); Statement stmt=con.cr... View Questions/Answers

find error inc++  August 27, 2011 at 12:21 AM
include include int main() { int a[10],b[10],i,j,m,n; cout<<"Enter size of matrix"; cin>>m>>n; for(i=0;i<m;i++)//Initializing matrix a for(j=0;j<n;j++) { cout<<"a["<<i&l... View Questions/Answers

INBOX STRUCTURE  August 26, 2011 at 8:15 PM
Please someone help me by telling how an inbox will be created to display dynamic records. Using oracle, jsp, servlets, javascript. If you can send me format for this,hat will be a great help for me. ... View Questions/Answers

"unable to load tag handler struts.views.jsp.ui.Form tag "  August 26, 2011 at 7:25 PM
while working with tags i show"unable to load tag handler struts.views.jsp.ui.Form tag " same error is also with iterator tag ... View Questions/Answers

Regarding javascript  August 26, 2011 at 7:06 PM
Hi, I want 4 upload buttons in HTML CODE and Among 4 browse buttons user is not selected any one then provide a prompt message like plz select any 1 file among 4 buttons.If user is selected either 1st browse or 2nd browse or 3rd browse or 4 th browse btn,i don't want any alert msg.plz provide ... View Questions/Answers

php mysql web application tutorial  August 26, 2011 at 5:29 PM
How to create a simple php mysql web application? Please post an example or tutorial... ... View Questions/Answers

php form post to mysql  August 26, 2011 at 5:27 PM
How to post data into mysql database from the PHP post data form? ... View Questions/Answers

php mysql fetch array example  August 26, 2011 at 5:24 PM
How to fetch data from mysql and store it into an array in PHP? Please post an example. Thanks in Advance! ... View Questions/Answers

DMCA.com