32,199 Topics

Member Avatar for
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
75
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
70
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
54
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
91
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
608
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
105
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
104
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
840
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
97
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
104
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
192
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
107
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
218
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
477
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
89
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
187
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
65
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
133
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
139
Member Avatar for FerrousRex

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 …

Member Avatar for vealparry
0
103
Member Avatar for borchu

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 …

Member Avatar for borchu
0
191
Member Avatar for plasticfood

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 …

Member Avatar for plasticfood
0
115
Member Avatar for privatestatic

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 …

Member Avatar for pbl
0
104
Member Avatar for RedDevilMalaya

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 …

Member Avatar for pbl
0
126
Member Avatar for newtechie

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 …

Member Avatar for Apache1
0
92
Member Avatar for CLina

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 …

Member Avatar for CLina
0
692
Member Avatar for Kioulis

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]; …

1
38
Member Avatar for adams161

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 …

Member Avatar for adams161
0
226

The End.