Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Add menu  September 25, 2010 at 9:15 PM
sir,i m student and learning netbean in which i want to develop web application but i cant find how to add menu item(not the case for java application where menu can be added from palette)so that when i run the application using browser i can see the menus and select accordingly,Plz help me.Thanks i... View Questions/Answers

login screen  September 25, 2010 at 8:24 PM
how can code a login screen please send me the codewith two entries Username and Password and validate it please ... View Questions/Answers

Gui  September 25, 2010 at 8:20 PM
How can i set a background color in my code and also put the Gender panel in the middle or center of the Personal details and The Buttons the adding an image on the label Inpatients maintainance module and also increasing the size of the JTextArea for address so that the JScrollPane can be visible b... View Questions/Answers

Advertisement

java  September 25, 2010 at 4:07 PM
hello their, i am new java learner. my question is write name password registration details in a file and save it to the file.if the name and password matches then login and put registry details or say invalid input. i will be waiting for your reply. i will be grateful to you guys. bye take care. ... View Questions/Answers

Java  September 25, 2010 at 3:30 PM
Hello please help me i have a problem i had done a project with the help of a colleague on Hospital Management system and the the computer i was using crashed tried recovering my project bu could not! And am supposed to hand in in like 36 hours from now but i have nothing and its my end of year pro... View Questions/Answers

java  September 25, 2010 at 1:53 PM
How can i validate this code and also its comilling but has failed to runimport java.awt.*;import javax.swing.*;import java.awt.event.*;import javax.swing.border.*;class Billing extends JFrame{JLabel l1,l2,l3,l4,l5,l6,lPhoto,lN;JTextField text1,t... View Questions/Answers

Java  September 25, 2010 at 1:52 PM
What could be wrong with this code pleaseimport java.awt.*;import javax.swing.*;import java.awt.event.*;import javax.swing.border.*;class Billing extends JFrame{JLabel l1,l2,l3,l4,l5,l6,lPhoto,lN;JTextField text1,text2,text3,text4;JTextArea... View Questions/Answers

JTable  September 25, 2010 at 10:49 AM
Hi Deepak, i want to display the Jtable data on to the console.(By using simple system.out.println() method).can you tell me how could i show jtable data on the console.Thanks,Prashant ... View Questions/Answers

about J2EE.  September 25, 2010 at 7:10 AM
I know only core Java ... what chapter I will be learn to know about J2EE. ... View Questions/Answers

about J2EE.  September 25, 2010 at 6:42 AM
I know only core Java ... what chapter I will be learn to know about J2EE. ... View Questions/Answers

java  September 24, 2010 at 8:51 PM
Could u please help me with these errors in my codeimport javax.swing.*;import java.awt.*;class test1 extends JFrame{ JLabel lblPhoto,lblN,lbl,lbl1,lbl2,lbl3,lbl4,lbl5,lbl6,lbl7,lbl8,lbl9,lbl10,lbl11,lbl12; JTextField txt,txt1,txt2,txt3,txt4,tx... View Questions/Answers

java collections  September 24, 2010 at 7:24 PM
Object o1=new Object("hello");Object o2=new Object("hello"); is hashmap add these objects? ... View Questions/Answers

oracle  September 24, 2010 at 7:10 PM
what is the query for retieving third highest salary table ... View Questions/Answers

struts code  September 24, 2010 at 6:53 PM
In STRUTS FRAMEWORK we have a login form with fieldsUSERNAME:PASSWORD:In this admincan login and also narmal uses can log in with this same page.For this what is the internal cde.how can it validate? ... View Questions/Answers

JavaBeans  September 24, 2010 at 4:51 PM
List out the differences between SampleBeans and UserDefined JavaBeans with examples? ... View Questions/Answers

counting identifiers,no.of inputs and outputs  September 24, 2010 at 1:56 PM
Hi,my name is jyothi.iam doing my miniproject the title is 'evaluation of complexity measure using cognitive metrics'.actually i want to take the program as input and i want to find out 1.no.of identifiers2.no.of unique lines containing identifiers3.no.of identifiers in the s... View Questions/Answers

Java Packages  September 24, 2010 at 1:54 PM
how to write a package by getting the inputs from the user?(ex: student details and staff qualification in one package)and also to compile and run this program ... View Questions/Answers

GUI  September 24, 2010 at 12:11 PM
whats wrong with my code?import javax.swing.*;import java.awt.event.*;import java.awt.*;class prog3 extends JFrame{ JLabel lbl,lbl1,lbl2,lbl3,lbl4,lbl5,lbl6,lbl7,lb18,lbl9,lbl10,lbl11,lbl12; JTextField txt,txt1,txt2,txt3,txt4,txt5,txt6,txt7,txt... View Questions/Answers

code for login fom  September 24, 2010 at 12:00 PM
we have a login form with fields USERNAME: PASSWORD: In this admin can login and also narmal uses can log in with this same page.For this what is the internal cde.how can it validate? ... View Questions/Answers

cs project  September 24, 2010 at 3:09 AM
hello siri am doing my masters in cs ,i have given a project by professor ,title is gossiping protocol,i have no project developing experience,please help me how to start the project from scratch like how to start and what to do step by step in detail ... View Questions/Answers

Tomcat jar file issue  September 24, 2010 at 1:08 AM
Hello All,Currently in my application we are trying to migrate our GUI code from JRun to Tomcat.We copied the application folder from JRUN server to Tomcat 6.0.29 webapps folder. When our GUI code is trying to call backend code , its throwing CORBA error. eAgentCache=tr... View Questions/Answers

GUI  September 23, 2010 at 6:46 PM
How do i make these buttons work?Update, Delete, Save, Submit, Clear,Turn off,Canel, Log off,Close, Add new, First, previous, Next, Last,Print. Send me the code please. ... View Questions/Answers

GUI  September 23, 2010 at 6:41 PM
whats wrong with my code failed to compile// Department interface//import java.sql.*;import javax.swing.*;import java.awt.event.*;import java.awt.*;class EmployeeInformation extends JFrame implements ActionListener{ //Connection con= null;... View Questions/Answers

Struts Warnings ...About FormBeanConfig & about Cancel Forward  September 23, 2010 at 5:05 PM
Hi Friends... I am trying a very small code samples of Contact Application i have created the following jsp pages1)Index.jsp containning the link which points to the AddressSave Form 2)Address.jsp Containning the Name,Email,Address labels & Textfields & 2 buttons sa... View Questions/Answers

Request[/DispatchAction] does not contain handler parameter named 'parameter'. This may be caused by whitespace in the label text.  September 23, 2010 at 4:52 PM
I am trying the DispatchAction example from roseindia.net.following are the contents of my struts-config.xml file & three jsp pages but it shows the warning Request[/DispatchAction] does not contain handler parameter named 'parameter'. This may be caused by whitespace in the label ... View Questions/Answers

JAVA image zoom in/out  September 23, 2010 at 4:11 PM
how to write function in java for image zoom in and zoom out using jFreeChart? ... View Questions/Answers

java  September 23, 2010 at 10:15 AM
,,how can i get the highest value of ten number and the position of the highest number..using one dimensional array..in a very short program??? ... View Questions/Answers

what is joomla in php  September 23, 2010 at 9:43 AM
detail description of joomla ... View Questions/Answers

interface  September 22, 2010 at 11:12 PM
hello sir i am studing in information technology engineering in gujrat.and i dont know about actual useof interface in java and in all java technology so plz solve my question sir ... View Questions/Answers

java  September 22, 2010 at 9:39 PM
Develop a template for linked-list class along with its methods in Java. ... View Questions/Answers

java programming  September 22, 2010 at 5:04 PM
a simple program for library using event driven and use jdbc to connect backend database ... View Questions/Answers

java code  September 22, 2010 at 4:55 PM
design classes for currency,rupee,dollar.write a program that randomly generates rupee and dollar objects and write them into a file using object serialization.write another program to read that file,convert to rupee if it reads a dollar,while leave the values as it is if it reads the rupee. ... View Questions/Answers

Query  September 22, 2010 at 2:11 PM
I would like to a table to display an 80% match between two variables in Parents and Tutors.In my parents, I have:IDSubjectsIn Tutors, I have:IDSubjectsIn my html, I have subjects in options(user can tick more than 1)like this:-UPS ... View Questions/Answers

calendra.css source code  September 22, 2010 at 1:57 PM
hello i need the source code for calendra.csswhich is their in below mentioned linkhttp://www.roseindia.net/javascript/javascript-calendar.shtmlBecoz due to missing of file by defaul month day and year are getting displayed ... View Questions/Answers

cant call cmd from java  September 21, 2010 at 7:54 PM
How can I call this from java to be executed by cmd ? ConvertXLS.EXE /S "C:\Extracto\*.CSV"/T "C:\Extracto\*.XLS" /C-4143 /F6 /M2 /R /V ... View Questions/Answers

Java Steps  September 21, 2010 at 7:40 PM
what are the steps to be taken to create a mobile phone compatible java swing program ... View Questions/Answers

Java Problem Steps  September 21, 2010 at 7:36 PM
How to create a Jar File From the Dos prompt of a Swing program having two classes in the program with one is public class one of them ... View Questions/Answers

java  September 21, 2010 at 7:11 PM
what is the meaning of the precompiled query in preparedStatement object ... View Questions/Answers

button  September 21, 2010 at 5:50 PM
what is the procedure to change the grafics of button .....for ex:if we want to change the graphics of button which are by default rectanguler , i want it in circle...... ... View Questions/Answers

type4driver  September 21, 2010 at 5:46 PM
i want create connectivity of my java program to the ms acces with the help of type 4 driver but we are not able to connect the connection ...becuz i don,t have jar file for ms acces so give me url and also the jar .....and tell me any alternative ........to connect with the ms acces........ ... View Questions/Answers

JAVA  September 21, 2010 at 3:24 PM
Develop a template for linked-list class along with its methods in Java. ... View Questions/Answers

Please help me fix this code  September 21, 2010 at 2:18 PM
Please help me in this area of code.i used three record store for each formI want expenses button to display all the expenses for the selected trip. i want to use image in the background of the forms in this codei want to sum all expenses a... View Questions/Answers

spring  September 21, 2010 at 11:16 AM
sample code for formvalidation by using spring with javascript as presentationex textboxes like dept id dept name Submit buttonif i give id as string then ,i want validation like, number require ... View Questions/Answers

jsp-Hibernate Error  September 21, 2010 at 10:45 AM
hi, my problem is, I designed an Interface where i am tring to listing the all rows of a table using Iterator and putted a link for deleting each row. I am deleteing row using row id of that record.it delete from my database,but not from interface. when i restart the tomcat then only deleted row goe... View Questions/Answers

jsp-Hibernate Error  September 21, 2010 at 10:41 AM
hi, my problem is, I designed an Interface where i am tring to listing the all rows of a table using Iterator and putted a link for deleting each row. I am deleteing row using row id of that record.it delete from my database,but not from interface. ... View Questions/Answers

java servlet  September 20, 2010 at 11:48 PM
i use tomcat server and eclipse as ide for j2ee environment when i tries the example for sevlet context in roseindia to make entry in server log file ( context.log method to log entry) but could not see the log file kindly tell me where i look for the entry and how create external log file ... View Questions/Answers

java threads  September 20, 2010 at 8:27 PM
How can you change the proirity of number of a thread. ... View Questions/Answers

java threads  September 20, 2010 at 8:23 PM
what is difference between the Notify and NotifyAll? ... View Questions/Answers

marie compilation  September 20, 2010 at 8:22 PM
write a program using assembly language that execute(performs) the following algorithm while(n>1){ if (n is even) n=n/2 else n=3*n+1 } ... View Questions/Answers

java JDialogbox  September 20, 2010 at 8:17 PM
Hi how to create JDialogbox with one combobox and one text field..we select one item in combobox then enter the relevent search(text)in textField then click ok button go search else click cancel button to cancel the search ... View Questions/Answers

how to automatically invoke the java program whenever ofbiz starts?...  September 20, 2010 at 6:27 PM
hi to all, i am using apache ofbiz for our server application. now i want to automatically execute a java program whenever ofbiz startup.Please give me guide to do this...Saravanansaravanan.ppm@gmail.com ... View Questions/Answers

design patterns  September 20, 2010 at 6:01 PM
what are the design patterns used in java? ... View Questions/Answers

scrolling problem  September 20, 2010 at 3:54 PM
I have eco framework application in that i created one grid on contentpane and add image on grid . i also add window pane on contentpane also.while scrolling only image is moving but window is not moving .can anybody tell me how can solve this problem...... View Questions/Answers

java conrolling statements  September 19, 2010 at 7:06 PM
write a Java program to accept 10 integers and print the sum of numbers divisible by 5 ... View Questions/Answers

c programming  September 19, 2010 at 7:17 AM
Hello Sir,can you plz post an answer to these quesions :Write a program in c that prompts the user the name of a file and then counts and displays the number of bytes in a file. And create a duplicate fle with the word '.backup' appended to the filename. Please check whether the fi... View Questions/Answers

java server  September 18, 2010 at 8:36 PM
Develop multi-threaded echo server and a corresponding GUI client in java ... View Questions/Answers

Java Codes  September 18, 2010 at 8:08 PM
Please, can someone solve this? A prompt asks the executive secretary to input the time for the first interview, and then a loop continues to prompt for input of subsequent interview, and then a loop continues to prompt for input of subsequent interview times. Input terminates when the s... View Questions/Answers

servlets+jdbc+oracle  September 18, 2010 at 6:27 PM
can you please help me to create a dynamic website.can you send me source code for creating a dynamic website for an engneering college ... View Questions/Answers

atm java program  September 18, 2010 at 4:49 PM
i need an atm system program java code that requires a user to enter his pin.then after entering the pin,it will ask again the user to select from 3 choices such as [1]Inquiry [2]Withdraw [3]Deposit.then if he select [1] it will display his name and the current money he has,if he then select [2] he ... View Questions/Answers

java  September 18, 2010 at 2:43 PM
hi therei am new in java plz tell me how make a simple programe in J2eethisyear my project in jspthen please help me out............where input class nad package and library i dont know plzzzzzzzzzzShubhra Shrivastava ... View Questions/Answers

JSF code Error  September 18, 2010 at 11:14 AM
Hii Friends, When Iam working on JSF..,What jars are have to add in Applicaton?Thanks and Regards BySreedhar ... View Questions/Answers

JAVA  September 18, 2010 at 9:48 AM
How Do I Print the follwoing patterns in JAVA ( Blue J envoirnmant)1. * * * * * * * * * * * * * *2. * * * * * * ... View Questions/Answers

java  September 18, 2010 at 9:24 AM
tell me the sequence of execution of statements in following code with the full explanation of the code class BoolTest{ public static void main(String args[]) boolean b; b=false; System.out.println("b is"+b); b=true; System.out.pr... View Questions/Answers

JTable  September 18, 2010 at 9:12 AM
Hi Deepak, i m facing a problem with jtable. i am able to display the values from the database into the jtable. but not able to modifying multiple cell values in a row. also i want to store those modified values into the dbtable and want to generate the log of that modified entries.... View Questions/Answers

JFRAME  September 17, 2010 at 1:12 PM
i am creating menu bar(file,edit) & in file am creating menuItems(new,open)..actionevent given to open(menuitem)...now when click on open i want open filechooser what is logic sirr??jMenuItem2.addActionListener(new java.awt.event.ActionListener() { pu... View Questions/Answers

Paypal integration to my website  September 17, 2010 at 11:40 AM
Hi there, I am working on paypal.My question is....I have one webiste and in that I kept a button called Buy Now and if I click that it will redirect to paypal website,that is fine I can able do that....and after logging in to that paypal website we'll get d shopping cart I mean we can... View Questions/Answers

recursions  September 17, 2010 at 10:46 AM
Can somebody help me with these four questions. Please. i am learning recursions in Java.Question1. Trying to find the value of result when its (5) from this code.public int result(int n){ if (n==1) return 2; else return 2 * result(... View Questions/Answers

Java Compiler Error  September 17, 2010 at 9:17 AM
I get this error when i compile this Java inheritance OOP. What I'm i doing wrong.F:\Java\WorkerDemo.java:9: cannot find symbolsymbol : constructor ProductionWorker(java.lang.String)location: class ProductionWorker ProductionWorker newProd = new ProductionWorker("... View Questions/Answers

code  September 17, 2010 at 12:36 AM
i want example problem for menubar in swings ... View Questions/Answers

java program example  September 16, 2010 at 10:35 PM
can we create java program without static and main?can u plzz explain with an example ... View Questions/Answers

java  September 16, 2010 at 6:42 PM
how to create the simple text editor using javapls send coding to mail id.......... ... View Questions/Answers

j2me mobile list  September 16, 2010 at 2:46 PM
on which mobiles the j2me applications are compatible to run? ... View Questions/Answers

letter count problem  September 16, 2010 at 2:07 PM
i have a problem in my java coding to count two characters of a string.eg to count the letter "ou" in the string "How do you feel today?". The answer should be 5. but i still have error compiling it here is my coding:public int countCharset(Str... View Questions/Answers

JSP  September 16, 2010 at 1:57 PM
am working with JSPI have one list box which is populated from the database. On selecting the value from the list box I want to populate the text box with the corresponding values of the previously selected value. For example If I select the name from the list box I want the... View Questions/Answers

Java Program  September 16, 2010 at 1:12 PM
A java program that display data in textfields and having buttons for move next, move previous,move last,move first using JFrame ... View Questions/Answers

Java Program  September 16, 2010 at 12:18 PM
A java program that display in in a table in JTable ... View Questions/Answers

java exception handling  September 15, 2010 at 9:38 PM
hi while i am compailing the program given below i am getting an error please help me as soon as possibleimport java.io.*;class insufbal extends Exception{public insufbal(String str){super(str);}}public class bank{private ... View Questions/Answers

Java Program  September 15, 2010 at 7:45 PM
A Java Program that display image on ImageIcon after selecting an image from the JFileChooser ... View Questions/Answers

Java Program  September 15, 2010 at 7:38 PM
A java Program that display data from a Table in MSAccess in JTable using JFrame ... View Questions/Answers

Error  September 15, 2010 at 4:18 PM
1. login.java/* * login.java * * Created on September 14, 2010, 11:47 AM */import java.io.*;import java.net.*;import java.sql.Connection;import java.sql.DriverManager;import java.sql.ResultSet;import java.sql.Stateme... View Questions/Answers

ajax  September 15, 2010 at 12:12 PM
i would like to include ajax method.how can i write the code in javascript for ajax? ... View Questions/Answers

spring question  September 15, 2010 at 12:42 AM
what is quartz API in spring? ... View Questions/Answers

project security tool  September 15, 2010 at 12:39 AM
what are the security tools are available for online money transactions(through credit/debit cards)in the project?mean my project is insurance project,payments are through on line for this process we need any security tool ... View Questions/Answers

Code problem  September 14, 2010 at 10:44 PM
Hi.I want to create a drop down button,where the value will be hard coded and on selecting an option another drop down button will be activated whose values will depend on the value of the first drop down button and these values will come from the database.Can anyone help me with the cod... View Questions/Answers

How ot get a web page title and meta tags in java(jsp/ servlet)  September 14, 2010 at 6:14 PM
Hi i want to get a web page title and meta tags using servlet of java but i am unable to do that and my target will be to read only the title and meta tags with img not the complete web page ... View Questions/Answers

java  September 14, 2010 at 2:19 PM
what is graphics? ... View Questions/Answers

php error  September 14, 2010 at 1:02 PM
how can an error showing undefined index be resolved? ... View Questions/Answers

java program...need help as soon as possible!!!  September 14, 2010 at 12:09 PM
Modify the Lexer (15 points):1. Use a command line argument for the input file for processing tokens ? do not use simple.x2. Recognize the new tokens > void floatBe sure to change token file appropriately and then run TokenSetup as required3. Include line numb... View Questions/Answers

java program.. the question is scary ...please help  September 14, 2010 at 12:08 PM
Modify the Lexer (15 points):1. Use a command line argument for the input file for processing tokens ? do not use simple.x2. Recognize the new tokens > void floatBe sure to change token file appropriately and then run TokenSetup as required3. Include line numb... View Questions/Answers

lucky no programme  September 14, 2010 at 11:24 AM
Sir , with due respect , iam a beginner level programmer i need some hint in making lucky no programmme . So please send me lucky no programmme on my mail id:- gaurishankarbits@gmail.com ... View Questions/Answers

Java  September 14, 2010 at 11:15 AM
(1) What is the exact difference between insance and object in java.(2) Somebody tells Runnable and Comparable also "Markar Interfaces" why ?. It's also having one method.(3) How exact work Servlets "Single instance Multible threads" concept. (if pos... View Questions/Answers

About J2me  September 14, 2010 at 10:50 AM
hello, i want to know that what is j2me and what's the use of the j2me in mobile application. ... View Questions/Answers

java multithread  September 13, 2010 at 7:50 PM
sir i am send it again sir.please reply me sir.Develop multi-threaded echo server and a corresponding GUI client in java. ... View Questions/Answers

programming problem  September 13, 2010 at 2:13 PM
i am using FileDialog to select an image and displaying it on a canvas using getDirectory() and getFile().now i want to use the path obtained from getDirectory() and getFile()to obtain same selected image in my second program. i can not write this second programe in first one as its is very lo... View Questions/Answers

Using a variable filename  September 12, 2010 at 8:12 PM
Dear sir, my program a JFrame containes of 3 JTextFields and 2 different JButtons intend to sends data to 2 Input files. The program should work like that: when I enter a data to the JTextFields and click button1, the data should write to data1.txt file. and when enter other data and click button2, ... View Questions/Answers

java program  September 12, 2010 at 6:01 PM
1.java program to Develop a multi-threaded GUI application of your choice. 2.program to Develop a template for linked-list class along with its methods in Java. ... View Questions/Answers

java EJB  September 12, 2010 at 2:41 PM
Please,Tell me the directory structure of EJB applicationsand how to deploy ejb on glassfish server ... View Questions/Answers

java  September 12, 2010 at 12:42 PM
how can we create private constructor? what is its significance? ... View Questions/Answers

Java Compilation error  September 11, 2010 at 10:20 PM
import java.io.*;import java.util.*;import javax.swing.*;public class saveAccount{private String accNo;private int ind ;private String name;private String nm[] = new String [10];private String acc[] = new String[10];public... View Questions/Answers

Java Compilation error  September 11, 2010 at 10:10 PM
import java.io.*;import java.util.*;import javax.swing.*;public class saveAccount { private String accNo; private int ind ; private String name; private String nm[] = new String [10]; private String acc[] = new String[10];... View Questions/Answers

DMCA.com