32,199 Topics
| |
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 … | |
Write a queue-handling program that asks each customer for their names as they place orders at a fast food restaurant. Each record in the queue should consists of a name field with of 20 characters and an integer field, which keeps track of the total number of customer served. The … | |
hi i have a doubt i did this coding and when i complied it and tried to run the program evenupon giving the correct answer("ritchie") the output i got says answer is wrong. can anyone tell me what is wrong with the coding [code=java]import java.io.*; class Invent { public static … | |
Hi profissionals! Happy new year : ) .... I have a binary tree project and I need to convert a fully parenthesized arithmetic expression to a binary tree. I was thinking of this algorithm: 1. input a string of expression. 2. breakdown the string and creat new node for each … | |
Hello! Could anybody help me to make this java code( or part) to assembly (mips 32)? I would apprecĪ¹ate any help! The java code is: [CODE]import java.io.*; class BinarySearch { final static int MAX=5; public static void main (String args[]) throws IOException { char [] a = new char [MAX]; … | |
Hi, I have a frame and it contains some different JInternal frames. I have a request that some people want some of these frames to be free floating, and not confined within a desktop. Is there any way to do this with JInternal frames? Or is there any way to … |
The End.