Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Maximum number of catches for a try block  January 31, 2011 at 9:54 AM
How many catch statements are allowed for a try statement? ... View Questions/Answers

Table  January 31, 2011 at 8:12 AM
How i create table on showMessageDialog using JOptionpane and Integer.parseInt. No other method to use. Pl make a program which generate 5X1=5 5X2=10 5X3=15 ... View Questions/Answers

student  January 31, 2011 at 6:54 AM
how do i create a program that writes out the message :Welcome to Kaplan University!" ... View Questions/Answers

Advertisement

how printing landscape?  January 31, 2011 at 3:01 AM
I have code which print some data from data base with "drawString()" and it works correct when I chose "Portrait" from "Print Dialog", but it does not work if chose "Landscape". Is any way to print LANDSCAPE? ... View Questions/Answers

editable combobox method selection  January 31, 2011 at 2:31 AM
how to make an editable combobox that shows nothing initially but as a key is pressed it pops up and selects an item starting with that letter, subsequent keys would keep sorting from the list. just like we get when we select method for an object in an IDE ... View Questions/Answers

path classpath  January 31, 2011 at 1:03 AM
EXPLAIN PATH AND CLASSPATH ? DIFF send me ans plz. ... View Questions/Answers

all c library functions  January 30, 2011 at 11:35 PM
hi dear c coders, i need all c library functions with a detailed explanation. Who can give me usefull link? thanks beforehand! ... View Questions/Answers

comparator  January 30, 2011 at 11:03 PM
what is a comparator ... View Questions/Answers

Write String in Word document  January 30, 2011 at 10:27 PM
How to read and write strings in word document? ... View Questions/Answers

character as command line arguments  January 30, 2011 at 8:46 PM
public class testing { public static void main(String args[]) { char a; a=args[0]; System.out.println("character is:"+a); } } what will be the above program output? ... View Questions/Answers

doubt  January 30, 2011 at 8:11 PM
what is the difference between public static void main(String[] args) public static void main(String args[]) ... View Questions/Answers

online examination system project in jsp  January 30, 2011 at 7:32 PM
How many and which data tables are required for online examination system project in jsp in java. please give me the detailed structure of each table ... View Questions/Answers

How to send and view data in seperate tables of a swing application, to a japser reporting(two)  January 30, 2011 at 7:07 PM
I have 2 tables in one swing user interface. I want to view and get printed them in a jasper report. In the jasper report, the tables should be viewed seperately. I have done this when there is one table. I want to know do for two tables. (here I am sending two parameters as well. and this has b... View Questions/Answers

How to send and view data in seperate tables of a swing application, to a japser reporting(two)  January 30, 2011 at 7:07 PM
I have 2 tables in one swing user interface. I want to view and get printed them in a jasper report. In the jasper report, the tables should be viewed seperately. I have done this when there is one table. I want to know do for two tables. (here I am sending two parameters as well. and this has b... View Questions/Answers

Mysql connect  January 30, 2011 at 6:51 PM
i can have a mysql database file and mysql-connector-net .but i have not mysql database. how to connect vb.net thsis database.(C:\Documents and Settings\Admin\My Documents\VB.NET\Stock delna\STC.sql ). plz help me. ... View Questions/Answers

Java  January 30, 2011 at 6:46 PM
what are the 5 logic to print the numbers 1 to 10 excluding 4? ... View Questions/Answers

Collection framework  January 30, 2011 at 5:50 PM
what are the real life examples of using Collection in java ... View Questions/Answers

how should i can solve  January 30, 2011 at 5:45 PM
Web based program - Input - Person's contact details with Passport Number as Unique Key. Save data in to oracle / MySQL. Output - List of Persons saved in the database. Technology to be used - JSP Servltes for UI & APACHE TOMCAT - Server ... View Questions/Answers

cell.imageview.image setimage  January 30, 2011 at 4:52 PM
How can i set an image on UIButton in UITableViewCell? Thanks! ... View Questions/Answers

java  January 30, 2011 at 11:54 AM
tcp/ip client and server programe ... View Questions/Answers

hi!  January 30, 2011 at 11:28 AM
public NewJFrame() { initComponents(); try { Class.forName("java.sql.Driver"); con=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","admin"); } catch(Exception e) { e.printStackTrace(); } } private void jButton1Action... View Questions/Answers

netbeans  January 30, 2011 at 11:18 AM
guysss m nt able to opemn ma netbeans ide.. no error msg s coming... wn i installed yesterday one msg came stating about some run time error... sm one plzzzzzz hlp me...........!!!!!!!!!! ... View Questions/Answers

Help  January 30, 2011 at 10:08 AM
write a program that reads an integer and check whether it is even. for example, if your input is 25, the should be: is 25 an even number? false if your input is 2000, the should be: is 2000 an even number?true ... View Questions/Answers

java Question  January 30, 2011 at 10:03 AM
write a program that reads an integer and check whether it is even. for example, if your input is 25, the should be: is 25 an even number? false if your input is 2000, the should be: is 2000 an even number?true ... View Questions/Answers

java Question  January 30, 2011 at 10:03 AM
write a program that reads an integer and check whether it is even. for example, if your input is 25, the should be: is 25 an even number? false if your input is 2000, the should be: is 2000 an even number?true ... View Questions/Answers

Help With Java...  January 30, 2011 at 9:26 AM
Write a java program that can take a positive integer greater than 2 as input and write out the number of times one must repeatedly divide this number by 2 before getting a value less than 2. ... View Questions/Answers

Table  January 30, 2011 at 8:37 AM
How i generate table in showMessageDialog. I want to creat a table and run in showMessageDialoge. Pl make a table programe which run in showMessageDialog. Using these method. import.javax.swing, public static void main, JOptionpane, Integer.parseInt. Please use only these ab... View Questions/Answers

Installing the Driver and Configuring the CLASSPATH  January 30, 2011 at 7:52 AM
What is the procedure to Installing the Driver and Configuring the CLASSPATH mysql jdbc connector? the jar file... ... View Questions/Answers

Intro Java help with Double  January 30, 2011 at 3:41 AM
I have to evaluate a math expression using double in Java. I can input the code fine for the expression, but I don't know how to view the answer that it gives me. help! ... View Questions/Answers

How to extract the entire line with specific data from a Text in java?  January 30, 2011 at 2:56 AM
Hi, i would like to extract data from text like the following one: [CODE] ........... 2011/01/12 The thread 001 title should clearly describe 2011/01/12 This describe or discussion topic. General 2011/01/12 This desc 002 nor discussion topic. General 2011/01/12 titles is 003 a... View Questions/Answers

UINavigationBar Edit Button  January 29, 2011 at 11:38 PM
UINavigationBar Edit Button Given is the code that adds a edit button item as a nav bar item in your UINavigation Controller. -(void)viewDidLoad; { [super viewDidLoad]; UINavigationBar* navBar = self.myOwnStupidNavigationBar; UINavigat... View Questions/Answers

debugger  January 29, 2011 at 10:22 PM
... View Questions/Answers

Please tell me how I can access a field (data type char) of resultset in a java class  January 29, 2011 at 10:16 PM
I have created a table named empdetails in postgreSql 8.4 databse. There is a field named empsex whose data type is char. I have created resultset for this table and tried to access the access empsex as follows: public EmployeeAddEdit(int emp_id) { String strSql = "SELECT... View Questions/Answers

Snake Problem  January 29, 2011 at 10:11 PM
Hello, to one and all.I am trying to develop a snake game using J2ME and its almost finish but in this apps i have used multiple threads ,each key press causes an event to start. Which means when i press 6 it calls t1(thread) in which i have used t1.start() method to allow snake to move right. ... View Questions/Answers

Table  January 29, 2011 at 9:40 PM
How i generate table in JOptionpane.showMessageDialog with simple code. I dont know that what is result, buffer etc. U make a program using advance coding but i want u make the table using JOptionpane.showMessageDialog, import.javax.swing int Integer.parseInt(). Thats my limit. Pl generata a tabl... View Questions/Answers

Array  January 29, 2011 at 9:05 PM
how can i use elements of an array in a circular form? that is if the searching of the element reach the last elements of the array, then it will start serching from the begining of the array? ... View Questions/Answers

still error  January 29, 2011 at 8:40 PM
public NewJFrame() { initComponents(); try { Class.forName("java.sql.Driver"); con=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","admin"); } catch(Exception e) { e.printStackTrace(); } } priva... View Questions/Answers

file operations  January 29, 2011 at 8:16 PM
everytime we run the program the data in the already file is overridding ,so,how to append the data to the already existing files .so please send the function required and also source code. ... View Questions/Answers

java interview question  January 29, 2011 at 6:06 PM
class Test { void meth1() { System.out.println("meth1()"); meth2(); } static void meth2() { System.out.println("meth2()"); } public static void main(String[] args) { Test t=new Test(); t.meth1(); ... View Questions/Answers

java interview question  January 29, 2011 at 6:06 PM
class Test { void meth1() { System.out.println("meth1()"); meth2(); } static void meth2() { System.out.println("meth2()"); } public static void main(String[] args) { Test t=new Test(); t.meth1(); ... View Questions/Answers

core java  January 29, 2011 at 6:00 PM
how to compare every character in one string with every character in other string? ... View Questions/Answers

Java  January 29, 2011 at 5:20 PM
how to do java in command prompt? ... View Questions/Answers

Table  January 29, 2011 at 4:54 PM
How I generate table in showMessageDialog. E.g 3X1=3 3X2=6 3X3=9print("code sample"); ... View Questions/Answers

Table  January 29, 2011 at 4:53 PM
How i generate table in showMessageDialog. I want that i creat a table and run in showMessageDialogeprint("cprint("code sample");ode sample"); ... View Questions/Answers

Java Generic program with command line argument  January 29, 2011 at 2:33 PM
Implement Generic to perform arithmetic evaluation using command line argument by using Java ... View Questions/Answers

read from cmd syntax and open the file  January 29, 2011 at 2:18 PM
i have to read the name of the database e.g., "database.txt" file from a cmd syntax and open it: java FindKeys database=db.txt;minjoinrows=integer|all how can i do it? ... View Questions/Answers

read from cmd syntax and open the file  January 29, 2011 at 2:18 PM
i have to read the name of the database e.g., "database.txt" file from a cmd syntax and open it: java FindKeys database=db.txt;minjoinrows=integer|all how can i do it? ... View Questions/Answers

cookies  January 29, 2011 at 2:15 PM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; public class Mycookie extends HttpServlet { PrintWriter out; public void service(HttpServletRequest req , HttpServletResponse res) throws ServletException , IOException { res.se... View Questions/Answers

How To Connect MS ACCESS 2003 Database in C Program with Graphics.  January 29, 2011 at 1:39 PM
How To Connect MS ACCESS 2003 Database in C Program with Graphics. ... View Questions/Answers

login  January 29, 2011 at 1:27 PM
i am doing the project by using netbeens.. it is easy to use the java swing for design i can drag and drop the buttons and labels etc.. now i want the code for login.. i created design it contains the field of user name and password and the submit button.. when i click the submit button it has to... View Questions/Answers

login  January 29, 2011 at 1:27 PM
i am doing the project by using netbeens.. it is easy to use the java swing for design i can drag and drop the buttons and labels etc.. now i want the code for login.. i created design it contains the field of user name and password and the submit button.. when i click the submit button it has to... View Questions/Answers

login  January 29, 2011 at 1:27 PM
i am doing the project by using netbeens.. it is easy to use the java swing for design i can drag and drop the buttons and labels etc.. now i want the code for login.. i created design it contains the field of user name and password and the submit button.. when i click the submit button it has to... View Questions/Answers

login  January 29, 2011 at 1:27 PM
i am doing the project by using netbeens.. it is easy to use the java swing for design i can drag and drop the buttons and labels etc.. now i want the code for login.. i created design it contains the field of user name and password and the submit button.. when i click the submit button it has to... View Questions/Answers

jsp  January 29, 2011 at 1:27 PM
<% out.println("hello");%> i have writtn this program .but i am not getting way to deploy it.As in ma weblogic at the time of installation web.xml descriptor problem was there so i am doin exploded deployment.so suggest me ... View Questions/Answers

Java window state event  January 29, 2011 at 1:15 PM
Two java windows, one on top of another... Window at the back is deactivated when the other is on the top. Can iconify when there is only one window using win+d key. In windows, press win+d, window is iconified to the taskbar, unable to deiconify. Can be deiconified using task manager -->... View Questions/Answers

session hanling  January 29, 2011 at 1:07 PM
session handling in facelets/jsf ... View Questions/Answers

swing login code  January 29, 2011 at 12:57 PM
code for the login form.. ... View Questions/Answers

Sms to mobile using java application  January 29, 2011 at 12:28 PM
Hi, i want to send sms to mobile using java application. But i dont have any idea for this procees. So kindly suggest me any ideas. regards vijayalakshmi ... View Questions/Answers

Mysql connector  January 29, 2011 at 12:25 PM
Wer can i get mysql-connector? Is it jar or exe file? ... View Questions/Answers

JDBC connection  January 29, 2011 at 12:05 PM
![alt text][1]I got exception in Connecting to a MySQL Database in Java. The exception is ClassNotFoundException:com.mysql.jdbc.Driver wat is the problem? ... View Questions/Answers

How to iterate over a checkbox group  January 29, 2011 at 12:01 PM
Hi. I am new to using JQuery and would much appreciate your help. I have a form on which I've created 5 checkbox groups. Each of these groups consist of multiple checkboxes. The first group - it's id equals "MASTER" - contains 4 checkboxes. These checkboxes are labelled (th... View Questions/Answers

help me to do it in jsp  January 29, 2011 at 11:31 AM
if we click on a topic it should direct to another page in separate window i need to create a part of the web page which should only view the topic on home page and if we click on it it should direct to the whole article in a separate window. and there are 4 topics in a time which should change i... View Questions/Answers

Eclipse helios "Build Before Launch"  January 29, 2011 at 10:27 AM
Hi The IDE Eclipse Helios present having an issue related to ?Build before Launch?. it still tries to build the entire application whenever the IDE is started. I request you to please look into this issue . i have tried these settings for Eclipse Helios Disable th... View Questions/Answers

browser  January 29, 2011 at 11:19 AM
how to make a browser ... View Questions/Answers

Eclipse helios "Build Before Launch"  January 29, 2011 at 10:27 AM
Hi The IDE Eclipse Helios present having an issue related to ?Build before Launch?. it still tries to build the entire application whenever the IDE is started. I request you to please look into this issue . i have tried these settings for Eclipse Helios Disable the buil... View Questions/Answers

hello in vertical manner  January 29, 2011 at 9:29 AM
How to print HELLO as in vertical manner ... View Questions/Answers

settings in control panel before jdbc  January 29, 2011 at 8:55 AM
do we need to do any settings in the control panel before starting jdbc? ... View Questions/Answers

help me to solve this problem..  January 29, 2011 at 8:06 AM
Given below is a class definition for Book. Type and compile the class, and answer the following questions: class Book { String title; //bookâ??s title double price; //bookâ??s price public Book(String t, double p) { title = t; price = p; } public String getT... View Questions/Answers

How to include?  January 29, 2011 at 4:40 AM
How can we include a JSP file in one application to the JSP file in another application which are in the same server?? please help me out with code... ... View Questions/Answers

How to send the request and get the request?  January 29, 2011 at 4:36 AM
how to send a request to a JSP file in another domain in the same server and get the request done i.e how to include JSP file of one domain to another doamin JSP within in the same server? ... View Questions/Answers

How ro convert char into string using recursive function in c#??  January 28, 2011 at 10:47 PM
This coding is for java...but i want this in c# How ro convert char into string using recursive function in c#?? char [] ch={'H','E','L','L','o'}; TO ans = HELLO ... View Questions/Answers

Java project in Servlet  January 28, 2011 at 9:59 PM
Hi, I have one java (Servlet) project of online help desk. I am ruinning it on stand alone pc using Netbin software. But i have private network (LAN). So i want to run that project from any pc. Access to project should be from any syatem. Means can i access post 2 problems simultineously ... View Questions/Answers

C# question  January 28, 2011 at 9:58 PM
How can we call method pass by reference in C# ? ... View Questions/Answers

C# question  January 28, 2011 at 9:57 PM
In C#, string is a class or primitive type. Explain. ... View Questions/Answers

C# question  January 28, 2011 at 9:56 PM
Explain enumeration base types in C# ... View Questions/Answers

C# question  January 28, 2011 at 9:55 PM
Write a program in C# to create 3*4 matrix and show the sum of diagonal values. ... View Questions/Answers

C# question  January 28, 2011 at 9:53 PM
Write a program in C# to create 3*4 matrix and show the sum of diagonal values. ... View Questions/Answers

Dynamic Array iPhone  January 28, 2011 at 7:42 PM
Dynamic Array iPhone How can i add NSMutable array dynamically into my iPhone App? ... View Questions/Answers

iphone - EXC_BAD_ACCESS  January 28, 2011 at 6:59 PM
What cause this "iphone - EXCBADACCESS" error in my project? How can i test and rectify it? Thanks! ... View Questions/Answers

java  January 28, 2011 at 5:18 PM
how to you implement interfaces ... View Questions/Answers

The Currently Running Servlet is showing some Previously run Servlet's Output  January 28, 2011 at 4:46 PM
My question is clearly stated in the Title part of this page. Suppose for example, I have executed the ParameterServlet servlet where the output was Hallo! <1st parameter> <2nd parameter>! After the above whenever I am executing another different servlet, It is showing the same outp... View Questions/Answers

jdbc connectivity to mysql tutorial  January 28, 2011 at 4:41 PM
here is complete jdbc connectivity to mysql tutorial for newbies. Person who don't even know how to install mysql and don't know about which driver to use can do with ease ... View Questions/Answers

query  January 28, 2011 at 4:11 PM
how to design the web site in PHP? ... View Questions/Answers

project  January 28, 2011 at 4:10 PM
sir i want a java major project in railway reservation plz help me and give a project source code with entire validation thank you ... View Questions/Answers

data type  January 28, 2011 at 4:09 PM
what are the date types in the java and vb.net? what is the difference between java and vb.net? ... View Questions/Answers

Extract Equation  January 28, 2011 at 3:12 PM
Hi Deepak I got your answer that how to extract equation.you said that it requires POI libray.how can i include it?I'm using Ecclipse. Thanks in advance. ... View Questions/Answers

Extract Equation  January 28, 2011 at 3:12 PM
Hi Deepak I got your answer that how to extract equation.you said that it requires POI libray.how can i include it?I'm using Ecclipse. Thanks in advance. ... View Questions/Answers

sample Applet program  January 28, 2011 at 2:43 PM
I need Source Code for sample Applet program. ... View Questions/Answers

java  January 28, 2011 at 2:12 PM
what is framework in detail? ... View Questions/Answers

java  January 28, 2011 at 2:12 PM
what is framework in detail? ... View Questions/Answers

How to read unread emails  January 28, 2011 at 1:20 PM
How to read unread emails from account using POP3? ... View Questions/Answers

Calling from JSP  January 28, 2011 at 12:20 PM
how can we call a class file from JSP ... View Questions/Answers

Jboss related linkage error  January 28, 2011 at 11:27 AM
Please check below error when i run in jboss java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.axis.message.MessageElement.getChildElements (Ljavax/xml/namespace/QName;)Ljava/util/Iterator;" the class loader (in... View Questions/Answers

file searching  January 28, 2011 at 10:50 AM
i need a prog for searching inside a text file after evry 1 min to find does it hav any new entry ... View Questions/Answers

Overloading  January 28, 2011 at 10:33 AM
program in method overloading it compile successfully and gives error in run time? ... View Questions/Answers

Not Able to select an Item in Spark Combo Box control (Adobe Flex Object) using QTP  January 28, 2011 at 10:20 AM
Hi, I am trying to Automate a website developed using Adobe Flex controls. But i am not able to select any item from Spark Combo Box. I tied using .Open (Its not opening the drop down list) , also i tried using Select , SelectIndex... nothing is work. Can anyone help me in this?? ... View Questions/Answers

java  January 28, 2011 at 9:56 AM
hai sir, how to forward the select query result to jso page using java code please help me .its urgent ... View Questions/Answers

java prog  January 28, 2011 at 8:11 AM
find out a string from the collection of string in java ... View Questions/Answers

JVM  January 27, 2011 at 11:10 PM
whats the diference of using JVM on windows or on linux? ... View Questions/Answers

still error  January 27, 2011 at 10:56 PM
public NewJFrame() { initComponents(); try { Class.forName("java.sql.Driver"); con=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","admin"); } catch(Exception e) { e.printStackTrace(); } } private void jButton1ActionP... View Questions/Answers

DMCA.com