Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

j2me  August 19, 2011 at 2:28 PM
Hi, how can add image in forms but using lick a button. does not using canvas in j2me for Symbian development ... View Questions/Answers

Please can I get the code for solution of producer consumer problem using semaphores?  August 19, 2011 at 2:24 PM
Please can I get the code for solution of producer consumer problem using semaphores? ... View Questions/Answers

can interface solve this problem in java  August 19, 2011 at 2:17 PM
I have a JDialog which displays the calendar [from 2010-2020], i created this in a different class. In this calendar each day from 1-31 is placed in corresponding cells of a 5X6 JTable. Now i need to get which day is clicked by the user from another class which calls this calander class. can inte... View Questions/Answers

Advertisement

four rectangle/image of the shape of the button.then Draw these on some x and y co-ordinated in j2me then how to draw ?  August 19, 2011 at 12:32 PM
hi, i have button use in j2me. then use a imaga for lick a button. then process is four rectangle/image of the shape of the button.then Draw these on some x and y co-ordinated in j2me. then how to draw in j2me eclipse? ... View Questions/Answers

image Processing  August 19, 2011 at 12:05 PM
Please give Me a JPEG or GIf "LOSS LESS" Image Compression and Decompression Source Code Please Help Me I don't want links Kindly help me Compression ratio not matter....... ... View Questions/Answers

j2me  August 19, 2011 at 12:01 PM
Hi, In my j2me application I have used canvas to display an image in fullscreen.In the image there are four points( rectangular areas ). Now I have to add events to these points. It looks like that those areas will be used as button. How can I select a area of an image and add an event to that a... View Questions/Answers

XSS attack  August 19, 2011 at 11:58 AM
I wish to know about XSS attack. At our server the some of the web pages such as index.php and login.php are getting infected with malicious script. Some script / JS is getting injected. I clean the file uploaded again. But this activity is not stopping. how to avoid this? Kindly advise. ... View Questions/Answers

GeneralBlock Memory Leak  August 19, 2011 at 11:30 AM
Hi all, I'm testing my iPhone application using instrument test in XCode 4... but on every test it throws a GeneralBlock error. Can anyone explain what type of the "GeneralBlock" error is and when it occurs?? **generalblock-16 generalblock -24 generalblock-56 generalbl... View Questions/Answers

java in using brausing  August 19, 2011 at 10:45 AM
sir, i am beginner java developer ,sir i am creat's the image viewer Jframe but not a created frame plz. halpe me give the image viewer Jframe code ... View Questions/Answers

image Processing  August 19, 2011 at 10:28 AM
BCIF Image Compresssion Algorithm s alossless image Compression algorithm ,Pleas Help Me weather it can support only 24 bit bmp images? ... View Questions/Answers

Image Processing Java  August 19, 2011 at 10:26 AM
Using This Code I Compressed A JPEG Image And the Original Size of the image is 257kb and The Compressed Image Size Is 27kb How Can I Decompress It Please Give Me The "SOURCE CODE" And Hee is my Source Code.... Please kindly Help Me? import java.awt.image.BufferedIma... View Questions/Answers

write a program in java.  August 18, 2011 at 11:13 PM
arrange the natural n umber in 5x5 matrix as 21 22 23 24 25 20 7 8 9 10 19 6 1 2 11 18 5 4 3 12 17 16 15 14 13 i at centerd position and remaining arrange in anticlockwise direction. ... View Questions/Answers

asynchronous and synchronous collection  August 18, 2011 at 5:04 PM
which are all interfaces or classes are synchronous and asynchronous in java? please send it in table or picture form. ... View Questions/Answers

java gui-with jscroll pane  August 18, 2011 at 4:48 PM
Dear friends.. I have a doubt in my gui application. I developed 1 application. In this application is 1 Jscrollpane of height 600 and width 400. Normally it is showing 200 height and 400 width.. JscrollPane consist of somany text field arranged row by row...each row has 1 text fi... View Questions/Answers

java gui-with jscroll pane  August 18, 2011 at 4:48 PM
Dear friends.. I have a doubt in my gui application. I developed 1 application. In this application is 1 Jscrollpane of height 600 and width 400. Normally it is showing 200 height and 400 width.. JscrollPane consist of somany text field arranged row by row...each row has 1 text fi... View Questions/Answers

returning doubles with 2 decimals JAVA  August 18, 2011 at 4:46 PM
Hi all. I'm writing a program where users input the cost of an item (in the constructor), so for example, Item (string name, double cost, int qty) { ... } I have a method public double getCost() { ... } <... View Questions/Answers

Help me  August 18, 2011 at 4:14 PM
Hi, LWUIT is working in eclipse j2me for Symbian OS? ... View Questions/Answers

message sending and receiving using UDP TCP in J2ME  August 18, 2011 at 3:22 PM
I need the simple program for message sending and receiving using UDP TCP in J2ME. Could u pls? ... View Questions/Answers

j2me  August 18, 2011 at 3:19 PM
hi, how to use LWUIT in emulator J2me for Symbian OS? and also how to install in emulator, did worked or not? ... View Questions/Answers

j2me  August 18, 2011 at 3:04 PM
hi, i'm working emulator in j2me language, for Symbian OS (Nokia) development. then, what are the click events in this for developing the application.? Thank you. ... View Questions/Answers

j2me  August 18, 2011 at 2:57 PM
hi, in j2me does any click events for developing Symbian.? and How to add click event for dynamically generated button in j2me on Symbian OS ... View Questions/Answers

J2ME  August 18, 2011 at 2:53 PM
i am working in j2ME language on Symbian OS S60 (Nokia)application in this application i am adding buttons for designing in MIDlet application. so how to add button in dynamically. and how can place lancher icon also. ... View Questions/Answers

how to implements jdbc connections using awt  August 18, 2011 at 2:17 PM
sir, My name is subbareddy vajrala.I want to implement small project on awt.so please give me your valuable information about how to implements jdbc connections in awt.please give me sample example awt with jdbc. Thanking you sir.... View Questions/Answers

how to generate pdf file in struts  August 18, 2011 at 1:20 PM
I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am having a button, by clicking that button the registration database values should be shown as pdf or excel ... View Questions/Answers

how to generate pdf file in struts  August 18, 2011 at 1:20 PM
I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am having a button, by clicking that button the registration database values should be shown as pdf or excel ... View Questions/Answers

to display NEXT and previous option after 10 entries in java  August 18, 2011 at 1:09 PM
As after jsp code we refer to java for connectivity and i want that directly only 10 entries will be open and next there will be pages. so what would i do for coding in java? ... View Questions/Answers

question  August 18, 2011 at 12:51 PM
Dear Sir, How do i solve the following problems , i am using jdk1.6.0_22 and eclipse Helios , please help me ................ Access restriction: The type Player is not accessible due to restriction on required library /home/dieutek/jdk1.6.0_22/jre/lib/ext/jmf.jar Access r... View Questions/Answers

inherittance  August 18, 2011 at 12:31 PM
Develop a class Borrower which has 5 important fileds, namely borrowerId, borrowerName, borrowerLastName, contactNumber and dateOfBirth. Your class must demonstrate good encapsulation where all fileds get manipulated through get and set methods. Save your file as Borrower.java Sample inpu... View Questions/Answers

check box condition  August 18, 2011 at 12:21 PM
Hai, my application has two check box one for chart and another one for table.when We click chart check box download only chart but table also download.same problem in table slection..xsl coding was used in my application..please help me... ... View Questions/Answers

java  August 18, 2011 at 12:00 PM
Write a program that print the following pattern: - 1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 5 6 7 8 9 8 7 6 5 ... View Questions/Answers

merge the multilple jasperfiles in java  August 18, 2011 at 10:05 AM
how to merge the multiple jasperfiles in java ... View Questions/Answers

help me plz:-Merge multiple jasper files into Single one  August 18, 2011 at 9:40 AM
how to Merge multiple jasper files into Single one word doc ... View Questions/Answers

Merge multiple jasper file to one word Doc using java  August 18, 2011 at 9:33 AM
how to Merge multiple jasper file to one word Doc using java ... View Questions/Answers

Task manager enable and disable thru java  August 17, 2011 at 10:22 PM
I would like to know, how to enable and disable task manager using java. Kindly, please Let me know ... View Questions/Answers

Java Timer  August 17, 2011 at 7:38 PM
Hai Sir, I want to know How to schedule a task on first date of every month in java by using Java timer.Please help me sir. thank you, Shyam ... View Questions/Answers

how to display data from jsp file into database  August 17, 2011 at 4:58 PM
this is a jsp file . look at the line with code-> Statement st=con.createStatement(); in the below example. the error is "cannot convert from java.sql.Statement to com.mysql.jdbc.Statement please help me with it. thanks <%@ page language="java" contentType="text/html; charset=UTF-8" ... View Questions/Answers

hyperlink  August 17, 2011 at 4:37 PM
I have a .xls file and i want the code to open this .xls file in read only mode when i click on a hyperlink,it should not not be editable,please send me the code ... View Questions/Answers

Hyperlink  August 17, 2011 at 4:28 PM
The excel file is not opening in read only mode ,it is editable,actually i need to open it in read only mode by clicking on link.please help me ... View Questions/Answers

Can Login on Fedora, cannot on Windows- JSP/Servlet for login  August 17, 2011 at 4:05 PM
I am using JSP and Servlet to perform login. When I host the website and test it works fine for clients on Fedora but on Windows (with IE, firefox, google chrome) clients cannot login to the website. How can I fix this? Please help.... ... View Questions/Answers

Displaying database values in pdf format  August 17, 2011 at 3:20 PM
Hi All, I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am having a button, by clicking that button the registration data... View Questions/Answers

Hyper link  August 17, 2011 at 3:00 PM
how to open a document in read only mode by clicking on a hyperlink ... View Questions/Answers

how to display the database values in pdf format  August 17, 2011 at 2:29 PM
in struts how to display the values in pdf format when clicking a button in jsp page ... View Questions/Answers

how to code-updating some details n some details r unchanged  August 17, 2011 at 2:02 PM
i have created a page with empty text boxes,details are.... house no: streetname: cityname: pincode: contact : bloodgroup : my requirement is to update the details of user. and i had written the... View Questions/Answers

Table-chart selection  August 17, 2011 at 1:43 PM
Hai, Our application has pdf download.The pdf file has chart and table..Now the problem is user choose only table option but table and chart download..i want table only..the coding was given below..please help me..... ... View Questions/Answers

Can someone help me with this?  August 17, 2011 at 1:39 PM
I have this project and i dont know how to do it. Can someone help me? please? Write a java class named "PAMA" which define a main () method that performs simple arithmetic. (e.g. Add, Subtract, Multiply, Divide) Help me please! Thanks in advance! ... View Questions/Answers

question  August 17, 2011 at 12:21 PM
I am doing a project using struts framework and spring jdbc .I have a issue that when data is inserted into database if we click the refresh button then the same data is again inserted in to the database.What is the solution of this problem? ... View Questions/Answers

J2ME  August 17, 2011 at 12:04 PM
What is the source code for Mortgage Calculator. using text fields are home price,loan amount,down payments,down payment percent, Annual tax,annual Interest,interest rate,annual insurance,pay per monthly,terms in years,freq.payment then Commands are Interest rates,Rest,More these all are using ... View Questions/Answers

Help Me  August 17, 2011 at 11:49 AM
What is the source code for Sample example for Mortgage Calculator in J2ME language for developing Symbian. ... View Questions/Answers

Java scroll pane-java GUI  August 17, 2011 at 10:23 AM
Dear friends.. Very Good morning. I have a doubt in my gui application. Take ex:- My gui application has 1 Jscrollpane of height 600 and width 400. normally it is showing 200 height and 400 width.. JscrollPane consist of somany text field arranged... View Questions/Answers

event handling  August 17, 2011 at 7:12 AM
diff btwn event handling in ASP.net and in HTML ... View Questions/Answers

java  August 17, 2011 at 7:11 AM
program to send and receive datagram using datagram packet and datagram socket ... View Questions/Answers

Error here  August 16, 2011 at 2:53 PM
<%@ taglib prefix="s" uri="/struts-tags" %> its giving me error as: org.apache.jasper.JasperException: File "/struts-tags" not found org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) org.apache.jasper.compiler.ErrorDispatcher.dispatch(... View Questions/Answers

J2ME  August 16, 2011 at 1:57 PM
Hi, what is the source code for Mortgage Calculator in J2ME for Developing Symbian. ... View Questions/Answers

j2ME  August 16, 2011 at 1:42 PM
give a sample example for using key listener in j2ME for developing Symbian. ... View Questions/Answers

j2me  August 16, 2011 at 1:38 PM
how to use keylistener in j2m? ... View Questions/Answers

transpose  August 16, 2011 at 1:03 PM
how to write transpose of a matrix a program.... ... View Questions/Answers

Help me plzz  August 16, 2011 at 11:12 AM
Hello Roseindia.... I need ur help urgently... I am working on a struts but too beginner to work on it..... I need ur help I am making a registration form which contains user details and on submitting dat form...i shud redirect to some oder page with all details....for eg<... View Questions/Answers

j2me- how to subtract time s in j2me???  August 15, 2011 at 11:29 PM
hello everyone!! Am a final year student doing BCA!! I have taken up j2me as my project and am trying to do world clock using only CLDC!! A simple clock shown in a digital format (hr:min:sec). and i want to add certain features to the app like emergency n... View Questions/Answers

array string  August 15, 2011 at 6:56 PM
how to sort strings with out using any functions? ... View Questions/Answers

jdbc problem  August 15, 2011 at 5:28 PM
hi my name is mohit...i am making a project in java swings....pls help me how to check that the username and password are correct...the user inputs the username and password and then i want to match the username and password with the already entered username and password in the database...if the ... View Questions/Answers

How to copy text from a gif image  August 15, 2011 at 11:13 AM
I have some gif images that containing some important text. i want to have that text in my notepad file. i have some hundred's of gif images like that. so that i can't type the text in notepad. so, please tell me how can i copy that text to my notepad. i am using ubuntu as OS.<... View Questions/Answers

How to save excel sheet into mysql database using blob or clob  August 15, 2011 at 8:40 AM
Hi All, I am new to java and i need to upload excel sheet to mysql, please suggest me the steps to do this, i am able to connect to the database, from there i don't know to go further, which one should i use BLOB or CLOB ? I have tried using CLOB and created a table like this, cr... View Questions/Answers

PLEASE HELP WITH MY JAVA  August 14, 2011 at 10:54 PM
Hey my name is Gavin and im a student at school that takes IT. my teacher has gave me a problem and i can't figure it out please help!!!!!!!! it is a for-loop question: Display the first 5 multiples of 3 Add all 5 values Calculate the average of the 5 values Print the sum and av... View Questions/Answers

core java project by using databse  August 14, 2011 at 8:31 PM
hello sir, i'm a b.tech final year student.... i wantto make a project on java with database... can u plzz suggest me how i can start for it.... means on which topic i can make project??? ... View Questions/Answers

struts tiles framework  August 14, 2011 at 8:31 PM
how could i include tld files in my web application? ... View Questions/Answers

ojdbc12.jar  August 14, 2011 at 1:07 PM
i need ojdbc12.jar for connect database to jsp where we able to download? ... View Questions/Answers

java  August 14, 2011 at 8:58 AM
send me java interview questions? ... View Questions/Answers

gc() method  August 14, 2011 at 12:33 AM
what is difference between java.lang.System class gc() method and java.lang.Runtime class gc() method ... View Questions/Answers

array  August 13, 2011 at 10:59 PM
take a 2d array and display all its elements in a matrix fome using only one for loop and ple explain the program in below......... ... View Questions/Answers

transpose matrix  August 13, 2011 at 10:55 PM
write a program in java to declare a square matrices 'A' or order n which is less than 20.allow in user to input only positive integers into the matrix and print the transpose of it. for this program u r given answer but if i entered 2 by 3 matrix it will not give answer ple check it once... ... View Questions/Answers

reply must  August 13, 2011 at 2:33 PM
is it critical to do a software job based on games(java) i know core java & advanced java basics only please give me answer. ... View Questions/Answers

question  August 13, 2011 at 12:01 PM
Sir, How to stream video on one computer which is playing on another PC in LAN using java + socket / RMI . if you have any idea about that please help me and give the source code ... View Questions/Answers

MS access  August 13, 2011 at 12:04 AM
how do i access my Ms-Access file placed in the same jar file where my application code/class file r present??? Want to access it via Code. Can anyone help me ? Please give reply urgent... ... View Questions/Answers

How to Access MS Access in jar.  August 13, 2011 at 12:02 AM
how do i access my Ms-Access file placed in the same jar file where my application code/class file r present??? Want to access it via Code or is their any alter-native?? Do i need any Driver to do this ... i m able to access a Ms-access via JDBC but cant find the file wen kept inside the same jar... View Questions/Answers

servlet problem  August 12, 2011 at 9:52 PM
wheni m deploying an servlet application im getting trouble context [/filename] startup failed due to previous error in tomcat 6.0.. ... View Questions/Answers

Image Steganography  August 12, 2011 at 8:51 PM
SOURCE CODE FOR IMAGE STEGANOGRAPHY? ... View Questions/Answers

Accessing non-static members through the main method in Java.  August 12, 2011 at 8:40 PM
As an oop rule, a static method can have access only to static variables and static methods. If it is so, an obvious question arises as to how can the main() method in Java has access to non-static members (variables or methods) even though it is permanently public static void...!!! ... View Questions/Answers

Inserting a value to an Enum field in Table  August 12, 2011 at 7:32 PM
I'm writing a code that creates a user account and sends the result to the user table in a mysql database. For example, in the user table I have: username varchar(15) PRIMARY KEY, password varchar (10), is_Admin enum('Y','N'), In the Java co... View Questions/Answers

Finding duplicates using array in for loop  August 12, 2011 at 4:50 PM
how to find the duplicates in array using for loop ... View Questions/Answers

how to create uiwebview programmatically  August 12, 2011 at 4:13 PM
How to create uiwebview programmatically in iPhone application? ... View Questions/Answers

add plist file iphone sdk  August 12, 2011 at 4:07 PM
how to add plist file in XCode? ... View Questions/Answers

add plist file iphone sdk  August 12, 2011 at 4:07 PM
how to add plist file in XCode? ... View Questions/Answers

write data to plist  August 12, 2011 at 4:00 PM
How to write data to plist file in XCode? ... View Questions/Answers

how to test iphone app on iphone without developer program  August 12, 2011 at 3:33 PM
Is it possible to test the iPhone application on different device without the UDID Key? ... View Questions/Answers

question  August 12, 2011 at 2:43 PM
Sir, Please send me Java Swing source code for video streaming , it's very urgent ... View Questions/Answers

difference between hashcode,reference in java  August 12, 2011 at 2:35 PM
difference between hashcode,reference in java ... View Questions/Answers

Please can you help  August 12, 2011 at 1:32 PM
I have a some code which uses a textarea comment box that will on post return the users text to the same page that they entered it on. However I wanted it to be able to check for a existing comment and create a new line rather than replacing it. Here is the code: <... View Questions/Answers

i want to copy files from one machine to other using java and the code will be running on third machine  August 12, 2011 at 1:26 PM
i want to copy some files from one machine say 'A' to some other machine say 'B' by using the java program running on third machine say 'c'. So , can you help me on this that how can i do this using java . Thanks in advance. ... View Questions/Answers

Why is this code working  August 12, 2011 at 5:44 AM
Looking at this piece of code: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct _point{ int x; int y; } point; int main (void) { point *ptr; point obj; ptr = (point *)malloc(sizeof(char)); obj.x = 500; obj.y = 5... View Questions/Answers

use of package concepts  August 12, 2011 at 1:27 AM
i m getting error when i use .* method to access all package files. when i use this through another method like packagename.classname, it works but in this method i will have to write all class names. i want to use packagename.* methhod. please solve the problem. i just start to learning java<... View Questions/Answers

how to read the values for text and csv files and store those values into database in multiple rows..means one value for one row  August 11, 2011 at 7:53 PM
Hai, I need a program by using servlets.. the program is like this i upload a text and csv file.it was stored in perticular directory now i have to read the stored(.csv or .txt) file and get the values from that file and store them into database table in multiple rows(whic... View Questions/Answers

how to solve  August 11, 2011 at 5:23 PM
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources). log4j:WARN Please initialize the log4j system properly. ... View Questions/Answers

C Programming SubString Program  August 11, 2011 at 4:13 PM
Sir I want to Check whether the Single Substring is present in the given 3 string. characters. eg if i entered First String- CPROGRAMMING Second String- CPROGRAM third String- PROGRAMMING if i entered to check PROGRAM is exists in given three strings then output will be TRUE. Plz Help Me... View Questions/Answers

PHP find online users  August 11, 2011 at 4:06 PM
How to find the online users in PHP? ... View Questions/Answers

Detecting the file extension  August 11, 2011 at 3:59 PM
How to detect the file extension in PHP? ... View Questions/Answers

How to open URL in iPhone SDK  August 11, 2011 at 3:37 PM
In my iPhone application ..i wanted to open a url in the application. Is it possible? If yes how will i come back to my application? ... View Questions/Answers

property in javascript get set  August 11, 2011 at 3:23 PM
How to create the get and set property in JavaScript? ... View Questions/Answers

anonymous class  August 11, 2011 at 2:57 PM
what actually is an anonymous class and what is the use of it along with the simple example? if there is a video explaining it that will be fine ... View Questions/Answers

java compiler error  August 11, 2011 at 12:54 PM
I am trying to compile a simple program which is as follows: public class A { public static void main(String args[]) { B b=new B(); } } Above program is in file A.java second program is in file B.java which is... View Questions/Answers

servlet redirect problem help needed  August 11, 2011 at 12:52 PM
package p; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class Ser exten... View Questions/Answers

DMCA.com