Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How do you add a numerical value to a regex  March 29, 2011 at 8:37 PM
how do you add a numerical value in a regex. I want to replace my pics ex: bob.jpg susan.jpg mike.jpg with 1.jpg 2.jpg 3.jpg etc. Thanks ... View Questions/Answers

Underscore b/w consecutive capatalized words  March 29, 2011 at 8:10 PM
I have a text something like this "25km from N of Rio Negro" I want to add underscore between consecutive Capatalized words having space between them. Can some one give me the solution to it. regards YJS ... View Questions/Answers

Q, 12 WAP to calculate addition of two distances in feets and inches using objects as functions arguments in java  March 29, 2011 at 7:22 PM
Q, 12 WAP to calculate addition of two distances in feets and inches using objects as functions arguments in java ... View Questions/Answers

Advertisement

what is wrong in this program......  March 29, 2011 at 7:04 PM
program to implement given inheritance import java.io.*; class Student { int rno; String name; DataInputStream ob = new DataInputStream(System.in); void getRoll() { System.out.println("Enter Name:"); name=ob.readLine(); Syst... View Questions/Answers

sorting Line in c  March 29, 2011 at 6:23 PM
Hi I need help with sorting line in programming c asking user to enter 1-10 characters and then sort them in lower case, alphabetical and ascending order. Any help will be appreciated! please help! void sortLine(char* source) { char arr[10]; } ... View Questions/Answers

detect tap on uiimageview  March 29, 2011 at 6:00 PM
detect tap on uiimageview UIScrollView. Thanks! ... View Questions/Answers

saving files  March 29, 2011 at 5:59 PM
i want to create a program that would allows me to save my file and attach data on it ... View Questions/Answers

problem in database  March 29, 2011 at 5:59 PM
thanks for web site. I want change this code to insert data into PostgreSql database using jsp,servlets. but i getting output "Record has been inserted", 1.no data in the table(sample) public class ServletUser extends HttpServlet { try { Class.forN... View Questions/Answers

link border 0 css  March 29, 2011 at 4:56 PM
Hi, What will the css for making links border 0 in image? I am looking for example code for link border 0 css. Thanks ... View Questions/Answers

I am not getting Problem (RMI)  March 29, 2011 at 4:13 PM
When i am excuting RMI EXAMPLE 3,2 I am getting error daying nested exception and Connect Exception ... View Questions/Answers

two linked combobox  March 29, 2011 at 4:12 PM
give jsp example of two combo box when i select state in one combobox in second combo box cities will display according to state which i select ... View Questions/Answers

Upload Photo to Server  March 29, 2011 at 4:08 PM
Hi I am using NetBeans IDE for developing application for java(Swings). And i am using MySQL as backend database. My Problem is I have created JFrame form in NetBeans and i have inculded label in which i am loading photo. BufferedImage image=null;... View Questions/Answers

integers  March 29, 2011 at 3:50 PM
How do I get an integer from a text field in java? ... View Questions/Answers

Eclipse  March 29, 2011 at 3:02 PM
How to develope web application servlets or jsp using eclipse id ... View Questions/Answers

Demon thread  March 29, 2011 at 2:57 PM
What is demon thread? why we need Demon thread? ... View Questions/Answers

How to get more than one value from ajax  March 29, 2011 at 2:42 PM
I have multiple select list box in php. i filled the value using ajax. how to get different value to fill the same list box Ex. option value as id option name as some string ... View Questions/Answers

Fresher-Trainee  March 29, 2011 at 2:24 PM
a java program to calculate the area of different shapes using Multilevel Inheritance ... View Questions/Answers

how to print all colors using awt  March 29, 2011 at 2:17 PM
how to print all colors using awt ... View Questions/Answers

How to capture video and then how to store it in mobile memory  March 29, 2011 at 1:35 PM
Hello there, I'm developing a mobile application where i'm capturing video from mobile camera and uploading it to my own video portal.. I'm trying many codes but they are not working properly some of them capture video but doesn't allow me to store it in mobile memory. so plz tel me ow to... View Questions/Answers

Refresh JFrame  March 29, 2011 at 1:35 PM
How to refersh a JFrame and its componets ... View Questions/Answers

i need the source code to generate id in jsp  March 29, 2011 at 1:05 PM
hai,i need the source code for generate id...which is i need to generate the new id from the maximum+1,like automatically when i click the button...as well i have several kinds of generate ids each should have some range...plz give the source code in jsp with ms access connectivity ... View Questions/Answers

java  March 29, 2011 at 1:05 PM
convert class file into javafile ... View Questions/Answers

class file  March 29, 2011 at 1:04 PM
how to convert java classfile into java sourcefile ... View Questions/Answers

retrive the data from access database to drop down list box in jsp  March 29, 2011 at 12:58 PM
hai, im new to jsp now im using the jsp along with access database.in table i load all the data's i need to retrive the data from database to dropdown list box...plz any one help to me.. thanks in advance ... View Questions/Answers

type casting  March 29, 2011 at 12:50 PM
<--bean class-->method calllist is of object type List <Object> o=bss.totalList(i); <--service class--> public List (object type) <Object> totalList(int pi){ try{ Query q= em.createQuery("select p,c,b from Boo... View Questions/Answers

Java Programming Language  March 29, 2011 at 12:06 PM
Hi, For beginner which programming concepts is important? Discuss the importance of Java programming language. In the discussion please let's know how to use Java in developing web applications? Thanks ... View Questions/Answers

MySQL replace all non alphanumeric characters  March 29, 2011 at 11:59 AM
Hi, How to replace all non alphanumeric characters in MySQL? Thanks ... View Questions/Answers

Javascript  March 29, 2011 at 11:50 AM
Dear Sir, I want your help urgently.Can please give me the code for selection in the drodown.That means,in the dropdown of items,there are checkboxes woth each item.By which user can select as many items as he/she wants to purchase.After checking more than one items,he/she saves to databa... View Questions/Answers

Tooltip Alignment  March 29, 2011 at 11:46 AM
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

Java replace all non alphanumeric  March 29, 2011 at 11:31 AM
Hi, In Java how to replace all non alphanumeric characters with blank? Share me the best code for java replace all non alphanumeric. Thanks ... View Questions/Answers

list boxs  March 29, 2011 at 11:27 AM
i have two list boxes first list box values from database and i want to assign selected options to the second list box using jsp is it possible to do this in jsp? ... View Questions/Answers

file read  March 29, 2011 at 11:21 AM
hi i am reaing from a file which has punjabi words. can some one help with me some code ... View Questions/Answers

browser  March 29, 2011 at 11:03 AM
hello this is saurav srivastav, thank you for sending the cvode for creating the menu item, but I want the code for file open and save frame in the swing because I am working on my project Browser and one more problem is that when I entered the URL then some page open which made in java and the p... View Questions/Answers

Database Connectivity Withe Oracle  March 29, 2011 at 9:49 AM
Develop a program to perform the database driven operation like insert, Delete, Update and select. To perform the above operations create one table named Employee. Field Name Field Type EmpId Integer Empname Varchar Emp_desig Varchar EmpJDate Varchar Emp_Salary Numeric ... View Questions/Answers

Visual studio C#  March 29, 2011 at 7:24 AM
Create a class called Employee that includes three pieces of information as instance variables√Ę‚?¨‚??a first name (type string), a last name (type string) and a monthly salary (decimal). Your class should have a constructor that initializes the three values. Provide a property with a get and set... View Questions/Answers

How to create an area chart using jfreecharts?  March 29, 2011 at 2:27 AM
i want to create an area chart that represents ip addresses of top countries. i have gone thru the area chart example using jfreechart but i am still not clear with its method. If u please explain in detail what the reaminning statements means after populating dataset? Thank you in advanc... View Questions/Answers

why get method is used?  March 29, 2011 at 1:38 AM
why get method is used in 60% commercial application while using post is more secure? ... View Questions/Answers

Creating circle inside a circle  March 29, 2011 at 12:29 AM
hi can any one give code for following output by awt/swing creating circle inside a circle ,outside cirlce and intersect a circle ... View Questions/Answers

notepad  March 28, 2011 at 11:55 PM
i want java code for notepad. ... View Questions/Answers

syntax for create a table  March 28, 2011 at 11:51 PM
syntax for create a table ? ... View Questions/Answers

conert java code to jsp... plz imm i wan...  March 28, 2011 at 11:39 PM
how to convert this java code into jsp?? Java| Frameworks| Databases| Technology| Development| Build/Test tools| OS| Servers| PHP| Books| More| What's New? More Tutorials| Bioinformatics| Open Source| Photoshop| Questions? | Software Development Search iPhone Baby Nam... View Questions/Answers

Need Help on the script  March 28, 2011 at 11:08 PM
hello there, My name is Femi and am a web developer using php. am working on a project. and am having some difficulties. i dont know if you can help me out with it. The platform am building will receive a text message and the format of the text message is "shoe, 40, bag, 5, tea,1" without... View Questions/Answers

java query  March 28, 2011 at 9:30 PM
what is the alternative of fflush(stdin) in java? ... View Questions/Answers

xml  March 28, 2011 at 9:22 PM
how to creatte html file and validate using java and finally i need get web.xml file ... View Questions/Answers

Retrieval data from database against timer  March 28, 2011 at 6:10 PM
Please send me a sample timer code which retrieve data from the database against timer in JSP. ... View Questions/Answers

write a program to evaluate the following investment equation make use of wrapper class v=p(1+r)rest to n  March 28, 2011 at 5:58 PM
write a program to evaluate the following investment equation make use of wrapper class v=p(1+r)rest to n ... View Questions/Answers

write a program to demonstrate wrapper class and its methods......  March 28, 2011 at 5:56 PM
write a program to demonstrate wrapper class and its methods...... ... View Questions/Answers

write a program to demonstrate call by value and call by reference.(pass objects as parameters)  March 28, 2011 at 5:53 PM
write a program to demonstrate call by value and call by reference.(pass objects as parameters) ... View Questions/Answers

sql  March 28, 2011 at 5:04 PM
write a query to select emplname from employees where lname of employees should be equal ... View Questions/Answers

Write a program to print using for loop  March 28, 2011 at 4:46 PM
Write a program to print using for loop * * * * ... View Questions/Answers

to jsp combobox exmple  March 28, 2011 at 4:15 PM
to jsp combobox exmple ... View Questions/Answers

how to refresh my GUI page  March 28, 2011 at 4:05 PM
how to refresh a GUI in java? ... View Questions/Answers

unable to import class com.opensymphony.xwork2.ActionContext not found  March 28, 2011 at 2:24 PM
Imported class com.opensymphony.xwork2.ActionContext not found gettin the above error, ... View Questions/Answers

com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Communications link failure due to underlying exception  March 28, 2011 at 1:20 PM
Hi, In my application following error is coming: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Communications link failure due to underlying exception: Tell me how to solve this problem? Thanks ... View Questions/Answers

browser  March 28, 2011 at 1:14 PM
how to add menu items in the menu in java swing through java coding ... View Questions/Answers

how to connect client to server using Sockets  March 28, 2011 at 12:47 PM
how to connect client to server using Sockets ... View Questions/Answers

How to write a rsa algorithm using thread  March 28, 2011 at 12:43 PM
Hi... This my **rsa algorithm sequential code..can u anyone plz change/convert to concurrent java or parallel this code.. print("code sample"); import java.security.KeyPairGenerator; import java.security.KeyPair;... View Questions/Answers

Finding MAX value from emp_id column using SQL query?  March 28, 2011 at 12:26 PM
I need to select maximum of the Emp_id values from SQL server 2005 table.I was using the command which selects max value till 10 but after that it fails to pick max value of emp id from the table.(Actually it picks up Max value using by looking at 1st digit only,so till 9 its fine, but after that... View Questions/Answers

Frame query  March 28, 2011 at 11:58 AM
Hi, I am working on Images in java. I have two JFrame displaying same image. We shall call it outerFrame and innerFrame.In innerFrame i am rotating the image.After all the rotations i need to display this image on outerFrame. Can you please help me. ... View Questions/Answers

Total Hours Calculation.  March 28, 2011 at 11:30 AM
Hi,How to calculate the total hours by startime and endtime.not railway time just only normal time.please help. Thanks. ... View Questions/Answers

ADT ,data structure (ArrayList), sorting  March 28, 2011 at 11:27 AM
Write a program to calculate a bonus for 10 employees of WAFA Supermarket. The program consists of an abstract class Employee. Each employee contains IC number, name, basicSalary, noOfYearService, set methods for each attributes and an abstract method calculateBonus(). Cashier and Supervisor are ... View Questions/Answers

Developer discussion forums  March 28, 2011 at 11:08 AM
Hi, What is discussion forums? Is there any good forum for discussion programming technologies? Thanks ... View Questions/Answers

answer this qs in 5 mins plss  March 28, 2011 at 10:30 AM
Create an Web Application, which allows a user to search a book as follows: Based on ISBN code, if he is aware of the code (or) Based on the Book Categories The results of the search has to be displayed in a new Web page. If no books are available appropriate message shou... View Questions/Answers

JAVA TOTAL LOST DATA IN HARD DRIVE  March 28, 2011 at 9:45 AM
please help me, i need java source code about total lost data in hard drive. how to find the total deleted data ih hard drive using java programming... this my project...pls help me.. ... View Questions/Answers

java total lost data in hard drive  March 28, 2011 at 9:38 AM
please help me, i need java source code about total lost data in hard drive. how to find the total deleted data ih hard drive using java programming... this my project...pls help me.. ... View Questions/Answers

java total lost data in hard drive  March 28, 2011 at 9:38 AM
please help me, i need java source code about total lost data in hard drive. how to find the total deleted data ih hard drive using java programming... this my project...pls help me.. ... View Questions/Answers

java total lost data in hard drive  March 28, 2011 at 9:38 AM
please help me, i need java source code about total lost data in hard drive. how to find the total deleted data ih hard drive using java programming... this my project...pls help me.. ... View Questions/Answers

hi.. please give me a java coding for the following question  March 28, 2011 at 9:20 AM
Write a function called ChangeToNext that take in an uppercase character parameter ch. The function returns the next uppercase character if ch is between 'A' and 'Y'. If ch == 'Z', the function returns 'A'. You may assume that the character parameter ch is always an uppercase alphabetic character... View Questions/Answers

hi.. please give me a java coding for the following question  March 28, 2011 at 9:20 AM
Write a class that contains the following two methods: /* converts from inches to centimeters */ Public static double inchToCentimeter(double in) /* converts from centimeters to inches */ Public static double CentimetertoInches (double cm) The formula for the conversion is... View Questions/Answers

hi.. please give me a java coding for the following question  March 28, 2011 at 9:19 AM
Write a program that prompts the user to enter the number of students and each student‚??s name and score, and finally displays the name of the students with the highest score. ... View Questions/Answers

hi.. please give me a java coding for the following question  March 28, 2011 at 9:18 AM
Suppose that the tuition for a university is RM10,000 this year and increases 5% every year. Write a program that computes the tuition in ten years and the total cost of four years‚?? worth of tuition starting ten years from now. ... View Questions/Answers

hi.. please give me a java coding for the following question  March 28, 2011 at 9:18 AM
Write a program that displays the following table (note that 1 mile is 1.609 kilometers). Miles Kilometers 1.609 3.218 ‚?¶‚?¶‚?¶. 10 ... View Questions/Answers

hi.. please give me a java coding for the following question  March 28, 2011 at 9:17 AM
Body Mass Index(BMI) is a measure of health on weight. It can be calculated by taking your weight in kilograms and dividing by the square of your height in meters. The interpretation of BMI for people 16 years or older is as follows: BMI Interpretation Bel... View Questions/Answers

hi.. please give me a java coding for the following question  March 28, 2011 at 9:16 AM
Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula: futureInvestmentvalue = investmentAmount x (1 + monthlyInterestRate)numberOfyears *12 ... View Questions/Answers

hi... pls give me the example of java coding fo following question  March 28, 2011 at 9:12 AM
Write a java program that reads the following information and prints a payroll statement: Employee‚??s name (e.g: Sam) Number of hours worked in a week (e.g: 10) Hourly pay rate (e.g: 6.75) Federal tax withholding rate(e.g: 20%) State tax withholding rate(e.g: 9%) The program sho... View Questions/Answers

hi... pls give me the example of java coding for following question  March 28, 2011 at 9:12 AM
Write a program that computes loan payments. The loan can be a car loan, a student loan, or a home mortgage loan. The program lets the user enter the interest rate, number of years, loan amount, and displays the monthly and total payments. (using GUI input) ... View Questions/Answers

hi... pls give me the example of java coding fo following question  March 28, 2011 at 9:09 AM
example java coding that reads in the radius and length of cylinder and computes volume. formula: Area = radius * radius * PI Volume = area * length ... View Questions/Answers

how add tabs at the left side of a pane  March 28, 2011 at 2:32 AM
sir i have added the tabs at the top left corner of the pane, but i am unable to add it at the left side of the pane, so please help me ... View Questions/Answers

Java Applet  March 27, 2011 at 7:32 PM
How to add Image in Java Applet? what is getDocumentBase()? ... View Questions/Answers

how to save an input to jsp page in a text file?ave an input given b  March 27, 2011 at 7:25 PM
how to save the input given by the user in jsp page to a text file? ... View Questions/Answers

Timestamp value and query  March 27, 2011 at 7:02 PM
convert a string to timestamp and pass it into database settimestamp value We get a string from jsp.The string value is a date and time value. Convert the string value to a timestamp and a query for selecting the start time between start time and endtime and set the timestamp valu... View Questions/Answers

threads  March 27, 2011 at 4:31 PM
plz tell me about wait(), sleep(),block,yield() with examples ... View Questions/Answers

Mr  March 27, 2011 at 3:36 PM
still on how to create an exe file. your answer worked very fine.Thanks. It help me to generate an exe file of my program. but when I wanted to start the program, my computer raised compartibility issues that "The version of this file is not compatible with the version of Windows you're running. ... View Questions/Answers

How java work on Unicode machanish  March 27, 2011 at 2:55 PM
How the data are stored in java as unicode, how the conversions is done for input/output stream. Please describe in detail with memory aspect. ... View Questions/Answers

ArrayList object  March 27, 2011 at 11:53 AM
i have am ArrayList object it containg data base records in it, now i want to display this ArrayList object data in my jsp programe, plz help me ... View Questions/Answers

Thread  March 27, 2011 at 11:17 AM
why we need threads? why we need Multithreads? with code and real time example..... ... View Questions/Answers

Breaking captcha  March 27, 2011 at 9:40 AM
can we break d captcha using java ? ... View Questions/Answers

Mine Problem  March 27, 2011 at 9:35 AM
how to view a row from a table created in mysql in a java swing application.? ... View Questions/Answers

how can retrive value from combo box in servlet?  March 27, 2011 at 8:46 AM
i have a jsp page with combobox. And i want to get value from combox to servlet? ... View Questions/Answers

Adapter class  March 27, 2011 at 8:17 AM
here may I use paint metod?If not then whats the error comes here ... View Questions/Answers

java  March 27, 2011 at 12:04 AM
Program to retrieve the all the classname from a file. and count the LOC between the two class. and Program to retrieve all the methodname inside the class. ... View Questions/Answers

drop down menu  March 26, 2011 at 10:03 PM
drop down menu using html ... View Questions/Answers

PDE(plugins development environment)  March 26, 2011 at 9:17 PM
i am working on java plugins. adding to context menu. when i run my plugins from run as it shows the label on the popup window but when i click on my label it shows this error. ""the chosen operation is currently not available."" please help if any body knows about it. i am using window v... View Questions/Answers

servlet Query  March 26, 2011 at 9:07 PM
i wanna get servlet directory structure. i m creating servlet. i have created directories according to servlet rules i.e. put .war & .xml file in WEB-INF directrory. i also put .class file in servlets directory. but still my Tomcat server doesn't execute. directory structure ... View Questions/Answers

Awt programming with java  March 26, 2011 at 7:22 PM
Write a java program, which provides a text area with horizontal and vertical scrollbar.Type some lines in the text area and use scrollbars to move the text within the text area.Read a word in a text field and find whether the word is in the content of the text area or not. ... View Questions/Answers

A java Program  March 26, 2011 at 7:13 PM
Write a java program, which provides a text area with horizontal and vertical scrollbar.Type some lines in the text area and use scrollbars to move the text within the text area.Read a word in a text field and find whether the word is in the content of the text area or not. ... View Questions/Answers

java  March 26, 2011 at 6:45 PM
Write a program to accept an array of names and a name and check whether the name is present in the array.Return the count of occurance.Use the following array as input { √Ę‚?¨Ň?Dave√Ę‚?¨¬?,√Ę‚?¨¬?Ann√Ę‚?¨¬?,√Ę‚?¨¬?George√Ę‚?¨¬?,√Ę‚?¨¬?Sam√Ę‚?¨¬?,√Ę‚?¨¬?Ted√Ę‚?¨¬?,√Ę‚?¨¬?Gag√Ę‚?¨¬?,√Ę‚?¨¬?S... View Questions/Answers

how to extract css properties using java?  March 26, 2011 at 4:00 PM
how to extract css properties using java? ... View Questions/Answers

web technology  March 26, 2011 at 3:47 PM
how to upload the registration form details into the database db2 using java codes ... View Questions/Answers

youtube movie  March 26, 2011 at 3:03 PM
how to get you tube movie in java please help me for code thanks in advance raman ... View Questions/Answers

DMCA.com