Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

please give me a java program for the following question  September 16, 2012 at 4:04 PM
Write a java program that displays multiple frames : Step 1: Design a frame with three buttons: ?Fruit?, ?Bird? and ?Animal? Step 2: On clicking ?Fruit? button display another frame that shows a picture of a fruit of your interest. On clicking ?Bird? button display another frame that sh... View Questions/Answers

How To Pass data from one GUI to another in java swing  September 16, 2012 at 12:14 AM
I'm new to java and part of our assignment is to build a GUI and display a result set from data input. I'm stuck at how to get the user's input from JTextFields and combobox selection and display those values to a table. My code is something like this. Thanks in advance. ... View Questions/Answers

How to call the run method from another class?  September 16, 2012 at 12:13 AM
Sorry, if this is a stupid question. I would like to find out how to call the run method that is located in java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new FereastraPrincipala().setVisible(true); from the class AdaugaComanda.java. ... View Questions/Answers

Advertisement

product enquiry form  September 15, 2012 at 6:17 PM
how frames are created and write a java program for product enquiry form using Jframe ... View Questions/Answers

Images in java  September 15, 2012 at 6:01 PM
how to handle images in java ... View Questions/Answers

Html form validation using jquery  September 15, 2012 at 4:45 PM
Hi i am using form with html. Form elements like textbox, radio,checkbox,listbox i was used now how to validate the elements using submit jquery option ... View Questions/Answers

java  September 15, 2012 at 3:27 PM
Hi, can any one please share the code to print below pyramid * ** *** **** ***** ... View Questions/Answers

Core Java  September 15, 2012 at 2:55 PM
Hi, can any one please share the code to find the occurance of characters in a string?? ex:- aaabb o/p: a=3 b=2 ... View Questions/Answers

How to compile PHP file and provide it to user without code?  September 15, 2012 at 12:04 PM
I have created a class in PHP, that contains some useful methods. Now I want to give it to my client so that he can be able to use it just like server control in asp.net instead of providing code file. How can I compile the PHP file and provide it to my user in the form dll or may be with other ... View Questions/Answers

how to make employee i card  September 15, 2012 at 11:13 AM
hello friends can anyone help me.. I have to make a project to make Identity card for employees...but i am facing problems with database and jsp connection ... also tell me how to retrive data such as name and image at a paticular place on the I-card...plz reply as soon as... View Questions/Answers

sessiom management  September 15, 2012 at 10:39 AM
Hi I am a fresher and working as a java developer, I am facing problem with session and session management concepts, so please give me some reference tutorials and examples on session and session management concepts in servlets, hibernate, spring and struts also. pls..... Thank you. ... View Questions/Answers

PHP related - how to explot a string with commas and store into two different variables?  September 15, 2012 at 2:55 AM
Hi, I have a string and is like this '[tubelist 123456,54321,56789,98765]'. I would like to extract the first value after the tubelist, and store '123456' into a variable. Next i would like to store the rest of the values without the first one '54321,56789,98765' into another variable. ... View Questions/Answers

java network  September 15, 2012 at 12:16 AM
Write a Java Networking program, which displays the usage of the getName() and getAddress() method and overrides the String() method to display the domain name and the address of the internet address. ... View Questions/Answers

DATA BASE  September 15, 2012 at 12:15 AM
Create a program to establish a connection to the PCTBC database using the JDBC driver to retrieve the entire Lectures table and displays the data using a J Table. ... View Questions/Answers

jframe  September 15, 2012 at 12:13 AM
Create a JFrame for the Summervale Resort. Allow the user to view the information about different rooms available, dining options and activities offered. Include at least two options in each menu and display appropriate information when the user makes a choice. ... View Questions/Answers

SSL for login page  September 15, 2012 at 12:07 AM
I am trying to apply ssl cert to login page only. Does anyone know how to do this on a tomcat web server? ... View Questions/Answers

quartz scheduler  September 14, 2012 at 5:02 PM
Hai I m new to quartz scheduler. I have run successfully the simple helloworld quartz job by using eclipse ide. Now I have one doubt can i schedule a BIRT report manually by using quartz scheduler ? Is there any steps to do manual scheduling by using quartz ? ... View Questions/Answers

variable answer1 might not have been initialized  September 14, 2012 at 4:46 PM
import java .io.*; public class Test{ public static void main(String[] args) throws IOException{ BufferedReader steffi=new BufferedReader(new InputStreamReader(System.in)); String name; String answer1; int ctr1=0; ... View Questions/Answers

SPRING+JDBC  September 14, 2012 at 3:52 PM
I created table student in oracle database. I have data in text file(i.e notepad). Each data in the notepad is separated by pipe symbol. My requirement is to insert the data from the notepad into the oracle database without the pipe symbol using spring framework.The project should be spring stand... View Questions/Answers

how to create a set up file of java web application  September 14, 2012 at 11:49 AM
I have already developed a java web application using struts 2.x, jsp,tomcat server, oracle as a back end data base in net beans Ide 7.1.2, and I have to deliver my product to my client, so in this case I would like to make my product as a setup file,where my client can install and run from deskt... View Questions/Answers

how to create a set up file of java web application  September 14, 2012 at 11:32 AM
I have already developed a java web application using struts 2.x, jsp, oracle as a back end data base in net beans Ide 7.1.2, and I have to deliver my product to my client, so in this case I would like to make my product as a setup file,where my client can install and run from desktop like our in... View Questions/Answers

How to send Email automatically On Daily Basis Using Systems Date.  September 14, 2012 at 11:24 AM
Hello Sir, I am working on a project in which i have to send emails automatically based on system dates with attchements .Kindly give me the code to complete this task. Thank you Sir. ... View Questions/Answers

how to create a set up file of java web application  September 14, 2012 at 11:01 AM
I have already developed a java web application using struts 2.x, jsp, oracle as a back end data base in net beans Ide 7.1.2, and I have to deliver my product to my client, so in this case I would like to make my product as a setup file,where my client can install and run from desktop like our in... View Questions/Answers

print array in following format  September 14, 2012 at 1:41 AM
i want print two array in following format first array= 1,2,3,4,5,6,7,8,9 second array=11,12,13,14,15,16,17,18,19 i want output as: 1 2 3 11 12 13 4 5 6 14 15 16 7 8 9 17 18 19 ... View Questions/Answers

please help with the coding of this interface,i cnt seem to figure out codes for things to work here.realy nid them ASAP plz  September 13, 2012 at 11:14 PM
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Trucks.java * * Created on 03 Sep 2012, 9:09:28 PM */ //package examples; /** * * @author User */ public class Trucks extends javax.swing.JFrame { ... View Questions/Answers

please help with the coding of this interface,i cnt seem to figure out codes for things to work here.realy nid them ASAP plz  September 13, 2012 at 11:13 PM
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Trucks.java * * Created on 03 Sep 2012, 9:09:28 PM */ //package examples; /** * * @author User */ public class Trucks extends javax.swing.JFrame { ... View Questions/Answers

Inbox  September 13, 2012 at 6:03 PM
can anyone tell me the key concept behind coding a inbox thanks ... View Questions/Answers

anurag  September 13, 2012 at 5:37 PM
how to get textbox in java script having a ok button before it .whatever value i enter in the textbox the same no of txtbox display(ie. suppose we enter 6,the 6 txtbox display as i press ok) and each of the txtbox has a ok button before it ,when i click to the ok button the text comes out from th... View Questions/Answers

need coding  September 13, 2012 at 5:02 PM
sir i need code for simple bank application in jsp please send it ... View Questions/Answers

How to use JTable with MS-Access  September 13, 2012 at 4:56 PM
I have Three Column in Database (MS-Access). 1. Name 2. City 3. Contact I want to Display this data in JTable. How can I do it. I also want to EDIT and DELETE this Data. ... View Questions/Answers

How to use JTable with MS-Access  September 13, 2012 at 4:56 PM
I have Three Column in Database (MS-Access). 1. Name 2. City 3. Contact I want to Display this data in JTable. How can I do it. I also want to EDIT and DELETE this Data. ... View Questions/Answers

save output in multiple text files  September 13, 2012 at 4:52 PM
Hi..I'm getting problem to store the output of this php code into multiple text files. Can anyone sugeest. Here is my code: <?php for($i=1; $i<=100; $i++) { $html = file_get_contents("$i.html"); $dom = new DOMDocument; //Parse the HTML... View Questions/Answers

JSp session time out  September 13, 2012 at 4:33 PM
Consider a case where we are working on a java application.After few hours of continuous work ,my application gets logged out in the middle. I would like to know what statement/keyword is responsible for it?? ... View Questions/Answers

to learn java  September 13, 2012 at 2:47 PM
I am b.com graduate. Can l able to learn java platform without knowing any basics software language. ... View Questions/Answers

how call ireports in jsp  September 13, 2012 at 12:32 PM
please send me code any one for calling ireports in servlet-jsp program i am trying to call the ireports in servlet and jsp error is occurred exception: javax.servlet.ServletException: java.lang.UnsupportedClassVersionError: Bad version number in .class fil... View Questions/Answers

JDBC Connection and Registration  September 13, 2012 at 11:17 AM
How to create a JDBC connection to MSAccess. How to create a table in MSAccess Manually, like going and opening MSAccess and creating column names. How to store data into the above manually created database from Servlets program. how to retrieve user data, which i... View Questions/Answers

java script unable to connect to oracle database and insert data  September 13, 2012 at 10:21 AM
Hello Everyone, I am new to jsp and servers.. my first project given to me is to insert data from jsp to oracle database 8, so i create a table in oracle departments and two coloum name depaermentname and departmentid, i found this below jsp coding in rose india for sql and i c... View Questions/Answers

YUI  September 13, 2012 at 9:54 AM
What is YUI concept ... View Questions/Answers

decrement  September 13, 2012 at 5:54 AM
how do we start a program with C++.....a program that decrements from 225 to 0!!!! ... View Questions/Answers

How to install Hibernate-3 and jars required for eclipse environment. And is jboss jars are necessary..?  September 13, 2012 at 12:55 AM
Dear Friends, I have a lot of doubts in Hibernate. Please guide me. I have Eclipse Platform Version: 3.3.1.1, Apache tomcate-6.0 and jdk7 environment. and woking with web applications. Now I need to add the HiberNate-3 to this above Environment. so my doubt is 1) What are the jars requir... View Questions/Answers

interfaces,exceptions,threads  September 12, 2012 at 11:27 PM
SIR,IAM JAVA BEGINER,I WANT KNOW THE COMPLETE CONEPTS OF INTERFACES,EXCEPTIONS,THREADS ... View Questions/Answers

MultiThreading  September 12, 2012 at 7:24 PM
In MultiThreading....I'm using Hashmap ....Is there any deadlock occurs? ... View Questions/Answers

Threads  September 12, 2012 at 7:19 PM
Extends Thread or Implementing Runnable Interface.....(MultiThreading)which is the best way to increase the application perfomance? ... View Questions/Answers

how to develope a struts application using hibernate?  September 12, 2012 at 7:17 PM
Hi Folks, I am very new to hibernate.I want to develope a login page in struts their username and password should validate against database using hibernate framework. thanks in advance.... View Questions/Answers

Context binding  September 12, 2012 at 7:17 PM
What is meant by Context binding? ... View Questions/Answers

Interface and Abstract class  September 12, 2012 at 7:16 PM
Difference between Interface and Abstract class? Give some example ... View Questions/Answers

iOS View  September 12, 2012 at 6:30 PM
What is the Difference between View's bounds and frame in iOS? ... View Questions/Answers

Retriving zip file stored in database into my own filesystem  September 12, 2012 at 4:43 PM
Hi all, I have a table named tempdb with tempid and zipfile as two column.Currently I am using sybase db. create table tempdb(tempid int,zipfile image) i have several zip file stored in this table now I want to retrieve it and put it in an directo... View Questions/Answers

how to done calculation for dynamic generated textboxes in jquery/javascript/ajax?  September 12, 2012 at 1:56 PM
how to done calculation for dynamic generated textboxes in jquery/javascript/ajax?... View Questions/Answers

conversion from decimal to hexadecimal and vice versa  September 12, 2012 at 1:30 PM
can i get the code for converting decimal to hexadecimal ... View Questions/Answers

EXT JS  September 12, 2012 at 12:19 PM
Hi, how to start coding Extjs with netbeans. Please help me doing that with steps and sample coding ... View Questions/Answers

Spring and Oracle Database  September 12, 2012 at 12:11 PM
I need example for Batch update process using oracle database and spring framework with full explanation. ... View Questions/Answers

basic login and registration web page using jsp and servlet without using bean .....  September 12, 2012 at 10:55 AM
Hello Folks please i m totally beginner so guys please help me with very simple solution..... thnx.. ... View Questions/Answers

Date Picker  September 12, 2012 at 10:39 AM
"I want to set default calendar date when using datepicker. This date means auto-loaded date when the calendar appears. The default date is the current date. I want to change it. How could I do? ... View Questions/Answers

structures  September 12, 2012 at 10:24 AM
what will be the size in 64 bits of this structure struct{ int i; char c; }node; ... View Questions/Answers

memory allocation  September 12, 2012 at 10:22 AM
If we assign memory malloc(5) and access more than the assigned memory then what will happen? 1.segmentation error 2.memory leak 3.program will not compile 4.Your view? ... View Questions/Answers

Structures and unions  September 12, 2012 at 10:17 AM
union{ struct{ int i1; char c1; }s1; struct{ int i2; char c2; }s2; }u1; what will be the value of (int)u1.s1.i1-(int)u1.s2.i2 and (int)&u1.s1-(char)u1.s1.c2? ... View Questions/Answers

calling webservices that return complexTypes in android using ksoap2  September 12, 2012 at 10:16 AM
Here's my code for android application,to call aweb service method and return a complexType object from it. package com.example.gramaniladharidetails; import java.util.Vector; import org.ksoap2.SoapEnvelope; import org.ksoap2.SoapFault; import org.k... View Questions/Answers

I/O Java  September 12, 2012 at 1:44 AM
import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.Scanner; public class Concat { public boolean accept(File file) { //if the file extension is .txt ... View Questions/Answers

Dialling from computer with other phone via modem card  September 11, 2012 at 10:37 PM
Hello everyone I would like to create a c# desktop application that has ability to call a phone number through a modem connected in the computer. During research I ended up in TAPI. For now I wish not to use TAPI rather I would prefer coding form scratch. It would be helpful if anyone pas... View Questions/Answers

printing series in java  September 11, 2012 at 10:35 PM
1 123 12345 1234567 12345 123 1 ... View Questions/Answers

printing java series  September 11, 2012 at 10:34 PM
* *** ***** ******** ***** *** * ... View Questions/Answers

JAVA PROGRAMMING  September 11, 2012 at 10:27 PM
Write an OVERLOADED FUNCTION in java that swaps(interchanges) 2 user given numbers.(one integer and one float value) and displays the result after swapping. Invoke the function in a class. ... View Questions/Answers

java programming  September 11, 2012 at 10:20 PM
WAP to accept 10 strings from the user and find out the string with maximum length and print the same. ... View Questions/Answers

java programming  September 11, 2012 at 10:18 PM
WAP to find the longest word from a user given string. ... View Questions/Answers

calling servlet from jsp in netbeans ide  September 11, 2012 at 6:49 PM
I have tried to call servlet from jsp code in netbeans for checking the database values . but while running it showing the error that the resource not available. i dono wat mistake i did. can anyone help me ? ... View Questions/Answers

float validation for jTextField  September 11, 2012 at 6:27 PM
Hi; I try that users enter only float number into jtextfield but I can not handle it. I try regex in keylistener but I couldn't be successful. Can you help me please? ... View Questions/Answers

Java REGEX  September 11, 2012 at 6:23 PM
I have a String {"name":"ashish","surname":"singh"} I have to check whether each word is surrounded by the " (double quotes) or not using the java regex. without using Json lib. Kindly help ... View Questions/Answers

How to store user registration details into database(MS Access database), and how to validate the username and password, If again the same person logins.  September 11, 2012 at 4:16 PM
Please help me, My Question is - How to store user registration details into database(MS Access database), and how to validate the username and password, If again the same person logins. Please write the programs in Servlets,JavaBeans and jsp. ... View Questions/Answers

how send nsnotification to forward class  September 11, 2012 at 4:11 PM
how to send nsnotification to a forward class? i am sending a nsnotification to a class which is not loaded yet. example,there is a class A,where i am creating a dictionary and posting it to class C ,and class C will be loaded after class B loads.the flow is class A loads firsts,then class B and ... View Questions/Answers

java question  September 11, 2012 at 3:11 PM
I am converting a .net website into java one. Can you help me how to code things step by step. project name - src -java -main -webapp - common - jsp - css - images - javascripts I have all these files. I am trying to make header.jsp, footer.jsp, me... View Questions/Answers

create html form as follows  September 11, 2012 at 2:06 PM
a form that contains two textboxes;one for your name and another for telephone number.telephone number should have exactly 10 digits starting with the digit '9' and name should not be left blank.add a submit button also,when it is clicked name and telephone number would be dislayed on the screen.... View Questions/Answers

create html form as follows  September 11, 2012 at 2:06 PM
a form that contains two textboxes;one for your name and another for telephone number.telephone number should have exactly 10 digits starting with the digit '9' and name should not be left blank.add a submit button also,when it is clicked name and telephone number would be dislayed on the screen.... View Questions/Answers

spring hibernate  September 11, 2012 at 12:25 PM
i need to display many fields( fields are in different tables) in a jsp page....how to implement this using spring hibernate ... View Questions/Answers

Please tell me the code to generate the below structure  September 11, 2012 at 9:44 AM
1 2 3 4 5 6 7 8 9 1 2 3 4 6 7 8 9 1 2 3 7 8 9 1 2 8 9 1 9 1 2 8 9 1 2 3 7 8 9 1 2 3 4 6 7 8 9 1 2 3 4 5 6 7 8 9 ... View Questions/Answers

webpage which client can enter his or her name  September 11, 2012 at 4:23 AM
1.if client has entered name he must click on submit button,new webpage should appear which welcome him or her with either one of following messages: "good morning,[name]!","good afternoon,[name]!".greeting should depend on the current time. ... View Questions/Answers

webpage which client can enter his or her name  September 11, 2012 at 4:23 AM
1.if client has entered name he must click on submit button,new webpage should appear which welcome him or her with either one of following messages: "good morning,[name]!","good afternoon,[name]!".greeting should depend on the current time. ... View Questions/Answers

Database named studentinfo  September 11, 2012 at 4:18 AM
1.create design of studentinfo using swing component 2.Create a database named student info. 3.create a table that stores all the details from the form,application of basic Normalization is required. 4.write code that creates a connection to the database using Access Database. 5.Write code that ... View Questions/Answers

Database named studentinfo  September 11, 2012 at 4:18 AM
1.create design of studentinfo using swing component 2.Create a database named student info. 3.create a table that stores all the details from the form,application of basic Normalization is required. 4.write code that creates a connection to the database using Access Database. 5.Write code that ... View Questions/Answers

Database named studentinfo  September 11, 2012 at 4:18 AM
1.create design of studentinfo using swing component 2.Create a database named student info. 3.create a table that stores all the details from the form,application of basic Normalization is required. 4.write code that creates a connection to the database using Access Database. 5.Write code t... View Questions/Answers

JAVA Keywords Highlighting Puzzles IN JAVA  September 11, 2012 at 1:54 AM
Syntax Highlighting SCENERIO 1 When given a set of keywords we need to identify the occurrences of keywords in given input text and mark them with [blue] color attribute Sample Keywords: as if and then when Sample Input: If we write a program and compile it, then w... View Questions/Answers

java  September 11, 2012 at 1:10 AM
Hi 1) in arraylist i have sorted salary ,id last , first then how can i display last name, and id. in java 2)how to restrict multiple submission in struts framework. ... View Questions/Answers

Java I/O  September 10, 2012 at 9:55 PM
how to write different type of arrays like string,int,double etc into a file using DataOutputStream ???? ... View Questions/Answers

swing question  September 10, 2012 at 6:56 PM
please provide me a program with oracle conectivity in which it consist of a log in page. and when i clicked login it takes data from table(which contain username and password) and matches and give msg for login suceed and denied ... View Questions/Answers

logical operators in objective c  September 10, 2012 at 6:51 PM
logical operators in objective c ... View Questions/Answers

code  September 10, 2012 at 6:27 PM
hi I need help in creating a java code that reminds user on a particular date about their festival. i have no clue of how to do it.. am looking forward to seek help from you. ... View Questions/Answers

calling webservices that return complexTypes in android using ksoap2  September 10, 2012 at 4:51 PM
Can anyone direct me to a site or show me an example ,on how to call a webservice which returns a complexType as the result, in an android app. ... View Questions/Answers

string  September 10, 2012 at 4:20 PM
How to count a particular character in a given sentence and also displaying that contain word? Like I want to find "a" in the string "This is example of java Programme" and also display word that contain "a" character. ... View Questions/Answers

how to pass string array from action class to jsp page? pls reply me.  September 10, 2012 at 4:09 PM
how to pass string array from action class to jsp page? pls reply me. ... View Questions/Answers

How to pass Array of string from action class to jsp page  September 10, 2012 at 4:05 PM
this is my action class package login.ipm; import java.sql.*; import java.util.ArrayList; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionForm; import org.apac... View Questions/Answers

hello world program. EXT JS  September 10, 2012 at 2:48 PM
Hi, i need to do extjs coding. but i don't know even hello world program. please teach me with step be step procedure for doing extjs coding ... View Questions/Answers

Java Program  September 10, 2012 at 1:32 PM
Java program for beginners ... View Questions/Answers

how to create a jsp page like gmail inbox page  September 10, 2012 at 1:16 PM
in my struts project i need to create a page like gmail inbox page..........how can i create this? help me some one........ ... View Questions/Answers

how to prevent from navigating Back after logout or session expire in jsp  September 10, 2012 at 1:00 PM
Hii Sir, I am making a web app in which after logout one can go to back pages from the browsers back button which i dont want in my app. Plz sir give me the desired code to solve this issue and plz specify where to use it either in every page of in login page or at log... View Questions/Answers

java pages run  September 10, 2012 at 8:54 AM
how do we run jsp file in the browser. do we need to install server. could it be run on the xamp server ... View Questions/Answers

how to calculate EMI of the loan  September 10, 2012 at 2:40 AM
package carloanapp; import java.io.FileWriter; import java.io.IOException; public class CarLoan { Customer gObjCustomer = null; double gDbRequestedLoanAmount = 0; double gDbInterestRate = 0; String gStrLoanRiskLevel = null; String Calculate... View Questions/Answers

initialising a checkers board  September 9, 2012 at 8:52 AM
Hi there I am new to java and i am trying to place checkers pieces into a checker board which is set up as an array. What i have done so far is create an array and fill it with nothing. I have then created a copy and now want to place the appropriate pieces into the array He... View Questions/Answers

initialising a checkers board  September 9, 2012 at 8:52 AM
Hi there I am new to java and i am trying to place checkers pieces into a checker board which is set up as an array. What i have done so far is create an array and fill it with nothing. I have then created a copy and now want to place the appropriate pieces into the array He... View Questions/Answers

plz tell me  September 8, 2012 at 11:52 PM
how to get no. of times the 'button' is pressed ... View Questions/Answers

Date Picker  September 8, 2012 at 9:26 PM
Hi Java Developers ! I came across the coding for date picker in this site which was almost similar to the coding done by our team. But our requirement is a little different one . After the start date is selected in the calendar( by using date picker ) it needs to get updated/highlighted in the f... View Questions/Answers

DMCA.com