32,204 Topics
| |
hello all i have a string *354*4*string#.what i want is to fetch the string and calculate it's length. plz help | |
I'm trying to make family tree webapplet, to test it out outside of the site I just used JFrame. I've used GroupLayout to set up things, but I'd like to have a fixed size, now it just takes up the size of the JFrame. NewClass.Java [CODE=java] /* * NewJPanel.java * … | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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.... | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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. | |
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! | |
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; … | |
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 … | |
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 … | |
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´' | |
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 … | |
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 … | |
I've been trying to find a library that will either let me display a .ppt file or an .odp file, but I've not really been able to find either so far. I've already tried the Apache POI library, but it only lets me display an image of the PowerPoint. If … | |
Hello Everyone; I have been trouble with putting Random numbers in an array for an 2 hours My problem is ,yes I know that how I can put Random numbers in an array but, for example my array length is 6 and I generated 1 to 6 random number and … | |
this program just prints out prime number within the range of the for loop. however it doesn't print anything. [CODE] boolean prime; for(int i = 11; i < 100; i++){ prime = isPrime(i); //this method works as i tested it before if(prime){ System.out.println(i); } } [/CODE] everytime i run this … | |
hey guys im kinda new to java n want ur help in solvin this problem : post: all of the "letter" characters in the entered string will have been switched (lowercase to uppercase, vice versa) i can only use for loops, character class methods, string methods heres my code but … |
The End.