35,618 Topics

Member Avatar for
Member Avatar for rm_72756

Hi - I have a JSP which gets data from database via VO. Same time user also can enter some of the data which was not populated from database. Once I enter everything, hit submit- values are not set into the form bean. both input VO (data comes from DB) …

Member Avatar for peter_budo
0
39
Member Avatar for galva

Hello. Can someone help me with this ATM program. The program is working good but I have to show the 10 last transactions Instead the program prints only out 9 lasttransactions, what do I do wrong? import java.util.Scanner; public class Atm { private static int balance = 0; public static …

Member Avatar for Democles
0
143
Member Avatar for javanew

i want to make a simple java program,,to input on keyboard Shift+Crtl+D it means that instead of me to type on keyboard ,, i want my java program to type it by just running my program how to do it ,, is it difficult?? please help

Member Avatar for Democles
0
109
Member Avatar for peter_budo

I'm trying to find some "common" human understandable resources in regards of memory management, beside resources from Sun/Oracle that are sort hard to digest. There are plenty of short articles and blog entries, but they mostly touch just certain aspects of this subject

0
94
Member Avatar for mfaisalm

I am beginner in java. I decided to develop a ip messenger in java. any advices and ideas are very appreciable thanks in advance MFM

0
76
Member Avatar for methmignonne

so, im doing an image detection which i have to process on each red, green, n blue element to get the edge map and combine them become one to show the output. but it doesnt show my output image would anyone pls be kind enough to help me? here is …

0
71
Member Avatar for sivaprakashm

Hii right now I am using Struts 1.1 framework . Now I would plan to Use Spring Framework in my application . Can I Use Spring framework in struts 1.1 ? Please I need valuable Reply Thanks In Advance....

0
55
Member Avatar for Johnsupertramp

Hi, I'm making a Lottery simulator and really need help. These are the specifications (scroll for code): Hi, I would like to make a Java lottery simulator. This one is different than most, however. The program requirements are: 1) The patron enters his/her 6 chosen numbers (from the numbers 1 …

Member Avatar for Akill10
0
1K
Member Avatar for sciprog1

Hello, I have a 800 x 800 board where I post several pictures by using the Image class and the drawImage() method. Each image is 100 x 100 in size. If I click at any location of this board, I can easily identify the top left coordinates(x,y) and the length …

Member Avatar for sciprog1
0
92
Member Avatar for sumeetdesaeee

Hello Friends... I have one urgent query... Please help me solving it. I am trying to use PreparedStatementCreator interface. By making an anonymous inner class,i have implemented it's createPreparedStatement(Connection) method. When this method is implemented, it will automatically called every time. But, I want to know which is that connection …

Member Avatar for sumeetdesaeee
0
609
Member Avatar for andyhunter

the code does not validate spaces and results into moving onto the next line of code to which it should keep in a continious loop until valid data is entered. I have a problem with matching for whitespaces using \s as it doesnt work. many thanks do{ /*if salesPersonName is …

Member Avatar for hanvyj
0
106
Member Avatar for softswing

hai friends, How can i comiple and run java program using java code(with out using batch file) plz any one help me in t \his.

Member Avatar for ankit.jivrani
0
107
Member Avatar for shakssage

Hi. I've got a JSlider in my applet which I want to change the position of. [CODE] int initValue = 10; int minimum = 10; int maximum = 20; JSlider slider = new JSlider(JSlider.HORIZONTAL, minimum, maximum, initValue); [/CODE] I've got this in the applets init() method. [CODE]add(slider); //add the slider …

Member Avatar for shakssage
0
842
Member Avatar for anithajerome
Member Avatar for chepelucho

Hello I have this.. I have a Scrip with name [B]MiScript.jsp[/B] and code.... [CODE]<%@ include file="Func.jsp" %> <jsp:include page="Func.jsp"/> <% String Mipath = "C:\\"; String Mifile = "File.Ext"; if(mifuncion(Mipath , Mifile )) { out.println("OK!!!"); } else{ out.println("ERROR!"); } %>[/CODE] And I have the other Script [B]Func.jsp[/B] with a Method.... [CODE]<%@ …

Member Avatar for parry_kulk
0
295
Member Avatar for pigmario

I have a text file contain a coordinate 100,20 240,100 23,45 I manage to read row and split it into and integer. and get it to point x=100 ,y=20. the problem is in the end i got a null when i print in console show a null like this 100 …

Member Avatar for JKP()
0
98
Member Avatar for alvalany

Im using jcombobox in a simple database application . I want add the resultset of a particular query as element in jcombobox. Im using netbeans and i found an option called binding but im confused how to use it!! Please help.

Member Avatar for pbl
0
106
Member Avatar for aesthete

I need help in my JAVA assignment plz. kindly guide me any technique/idea to do the following. m not at advance level of programming. i already have the initial part of my assignment completed which is to make a simple command line calculator. this is the next part. The program …

Member Avatar for Akill10
0
193
Member Avatar for gaupoit

I have an exercise : Accept operator(+, / , * , -) Example : I type 5 + 3 this result is = 8. I have a problem when I print result : 5 + 3 = 8 "= 8" is not same line with 5 + 3. Can you …

Member Avatar for Akill10
0
82
Member Avatar for scarcella

I want to know how to update a href link with javascript using an image. I have a image which has to update a href which displays a lightbox. Could someone please tell me know to do this.

Member Avatar for scarcella
0
108
Member Avatar for scobi

could u tell me plz how we can Radio Button in different location as wel as in image atachment.Below i attached the code u can see this!

Member Avatar for scobi
0
219
Member Avatar for mohit007kumar00

hello friend's I have writeen a program for music player here is the code... . [CODE] import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.sound.sampled.*; import javax.swing.event.*; /*<Applet code="kkk" height=400 width=400></Applet>*/ public class kkk extends JComponent { static File f1; int prog; static JFrame jf; int al; JLabel time; …

Member Avatar for Celtrix
0
478
Member Avatar for gunbuster363

I have searched on the internet before, but cannot get a suitable tool. I found tools to profile jdbc performance, gc statistics, but no some obvious tool to measure the time spent in each statement. I would like found which statements are spending the most of the time of my …

Member Avatar for gunbuster363
0
92
Member Avatar for mokztan

[I]Hi, I'm a intern as a web developer in a bank.. I really don't know much about this field but still im trying. I am a given a project "Service Request Monitoring System".[/I] [COLOR="Red"] IDE: Eclipse Europa Database Mgt System: Postgre SQL 9.0 Server: Tomcat 6.0[/COLOR] [B]my task now, is …

Member Avatar for peter_budo
0
238
Member Avatar for jackcfj0129

I am ask to write a class for rational numbers. A rational number is quotient of two integers, such as 2/3 or ½. Your class should have three constructors. One constructor takes no argument, and initializes the rational number to 0. Another constructor takes a numerator only (the denominator is …

Member Avatar for javaAddict
0
189
Member Avatar for Shanti C

Hello all, I am working on a project where i save client machine path into my database. And if end user clicks download files button, then the files from ftp server have to be download in client machine directly. My application resides in web server. Please give me some suggestions …

Member Avatar for Shanti C
0
277
Member Avatar for anilkumar-m

i want the java methods or the mechanism which will work as that of COMPOSE and DECOMPOSE functions in ORACLE/PLSQL. please help me out. thanks in advance.. COMPOSE-ORACLE [CODE]compose('o' || unistr('\0308') ) [/CODE] would return ö DECOMPOSE-ORACLE [CODE]decompose('é') [/CODE] would return 'e´'

0
67
Member Avatar for fredrickme

Good day all please ADO, I need help.After developing my jsp,the code work fine except that it displays image link from the database instead of the image itself.I tried manipulating the blob datatype by setting (Blob bl=resultset.getBlob(n)) but it returns an error.Secondly,assuming i want the size of that image to …

Member Avatar for Shanti C
0
6K
Member Avatar for unknown12

i dont know y but my driver wont work. i cant get a= getBalance(). if i create an object like CheckingAccount jjj = new CheckingAccount my scanner wont work. could you hep me fix this problem and also so when i input a negative number it prints out the error …

Member Avatar for pbl
0
137
Member Avatar for sirlink99

is there an option where you can opt out a certain color (green, red, blue, etc.) and replace it with a different picture. lets say I had a stick figure with a blue background and I had a mountain as a background image would there be a way to take …

Member Avatar for pbl
0
140

The End.