32,204 Topics

Member Avatar for
Member Avatar for JavaI

Hi. This is the first time I am using this forum, so I apologize if I make any mistakes. I am trying to find the minimum value in a 2d Array using different numeric types like double, float, long and int. I can find the correct values for float and …

Member Avatar for Ezzaral
0
70
Member Avatar for asad_80

Hi I have downloaded FMJ(Freedom for media in java). But i am not been able to figure out how to store the media i am capturing through my web cam in FMJ STUDIO. Regards Asad

Member Avatar for Ezzaral
0
60
Member Avatar for WolfShield

Hello everyone, I've just been trying to run the basic JSAPI 'Hello World' program. It's taken me a while to figure out how to get it to work (and to download everything) but now I have it to this point. I have a few of the same errors that pop …

Member Avatar for JamesCherrill
0
126
Member Avatar for Katana24

Hello all, Im having a problem using the Timer class. In one class it works fine but in the other; though I do the exact same thing, it doesn't work. I know that the constructor for the Timer class allows no parameters and with parameters, as the other classes uses …

Member Avatar for Katana24
0
92
Member Avatar for chipsch

I am having a problem with the below applet. It compiles just fine and when it is ran it shows up with the multiplication problem at the bottom of the applet as expected. The problem is that it says if the answer is correct or not before an answer is …

Member Avatar for JamesCherrill
0
387
Member Avatar for Alex_

Hello. I am trying to make a thread pool for a server that will process incoming socket connections. The purpose is to have limited available connections at a time. I can't grasp this concept fully to implement it. Perhaps some of you can help me! Please try. Below is my …

Member Avatar for Alex_
0
344
Member Avatar for blackberrycrazy

in a database for a company,what technology is best for enabling for examples certain staff memebers to make bookings/access the database from any location using a **Browser**? how do i implement this and how can i make it work? please HELP! p.s i have been researching and thinking creating a …

Member Avatar for blackberrycrazy
0
137
Member Avatar for Quintia

The class ArrayList is often used where the interface List could be used instead. How would i go about replacing the ArrayList by List wherever possible?

Member Avatar for jon.kiparsky
0
86
Member Avatar for john butler

Hi Everybody! Can anybody clear my doubt regarding the Android Application Development? I had a question that does the Android Programming has anything to do with the J2ME platform, I mean to say does the Android Programming uses the J2Me concepts? Or the Android development is a totally or somewhat …

Member Avatar for peter_budo
-1
166
Member Avatar for odiejodie

well simply i am coding an animation using netbeans but i wish to calculate the distance between my animation and the landing strip. i am using two labels in the animation, one is a rocket which you can direct and the other is a landing strip. How am i able …

Member Avatar for JamesCherrill
0
150
Member Avatar for gavriela

Hi, I'm a student of Java, and my first homework assignment is more advanced than our reading. So...I'm lost. This question is: Q5: Write a program that reads a list of exam scores from the keyboard. Using A=90 to 100, B=80 to 89, C=70 to 79, D=60 to 69 and …

Member Avatar for Er. Mukesh
0
1K
Member Avatar for Abdel_eid

hello i want to know how to get Arabic data from jtextfield it is writen normally but when i order to show it , it appears in the form of ?????? please help thanks for you attention

Member Avatar for mKorbel
0
462
Member Avatar for Bennychrystal

[CODE]hey there everyone, am a new guy in Java programming, i want you guys to help me on how to write a program that can print out [B]even numbers[/B] below 61? and I want also to write a Java program that prints my name(first and second name on different lines.) …

Member Avatar for Katana24
0
183
Member Avatar for coco24

Can somebody please help me understand what the output of this code would be. I believe I am getting the wrong output due to some technical problems with my computer. [code] public class SetDemo { public static void main(String[] args) { SetInherit inherit = new SetInherit(); SetComposition comp = new …

Member Avatar for stultuske
0
122
Member Avatar for HardWorkingMan

I have a assignmnt to find all prime numbers less then 100 ,using a boolean array, set all to true and then set non primes to false and display them. ( got this!!! ) it also askes me to loop through the array and if number is prime (true) launch …

Member Avatar for JamesCherrill
0
2K
Member Avatar for iceregulus

Hello! I'm currently working on a sort of simple imperial-to-metric converter application for myself, but I seem to have hit a snag. I've got the UI built, and the logic for one of the calculations built, but the button to make it all happen is giving me a problem. [CODE]import …

Member Avatar for mKorbel
0
1K
Member Avatar for PhiberOptik

Hey folks, I'm a student and I have been using Blue J. I have found it rather primitive and was wondering what the majority of other java programmers like to use? I thought about Net Beans but I honestly have no idea, So what do you use ?

Member Avatar for mjason
0
211
Member Avatar for cig_buttz

Anyone got codes for the ff.? Frequency count Stack and queue Conversion of infix to postfix using stack binary search tree Anyone? my prof asked us to search for the ff and i thought this would be the best site with the best codes. thanks

Member Avatar for thekashyap
0
208
Member Avatar for ChieftanBill

I've recently come upon a frustrating Array Index Out Of Bounds error when selecting any of the "calculations" to be applied to the entered values(maximum 1000 values). I suspect it to be a problem with the [CODE]values[(c+1)][/CODE] in the for loop. I can't figure a way around this problem. Can …

Member Avatar for jon.kiparsky
0
235
Member Avatar for Snoozey

Hello, I have a current assignment to make a program copy what is put in, and place it into a paragraph using word wrap. If there is no room for the word+ a space then print the line and that word+ space starts the next line. [code] public class ReportWriter …

Member Avatar for mKorbel
0
127
Member Avatar for gordsmash

Hi! Basically what im trying to do is to add a JPanel onto another JPanel that has painted graphics on it using the paintComponent() method. But the JPanel I am trying to add is not shown because it is covered up by the JPanel w/ Graphics on it. How can …

Member Avatar for Ezzaral
0
92
Member Avatar for monkey0525

My program is a implementation of the Sieve of Eratosthenes algorithm, which finds primes number. It stores two integers up to the maximum, and all odd numbers from 3 upward. It also checks if, for whatever any reason the first number ever reached the square root of the maximum number, …

Member Avatar for sabin_chirila
0
679
Member Avatar for newack

hello, i wrote a code to encrypt the 4 digit number. i broke the number in digits and encrypted it. It works fine. But the problem comes when first digit in output comes 0. that time i get 3 digit number instead of 4 digit number. i want it to …

Member Avatar for newack
0
81
Member Avatar for Mkmd13

Hey, I have completed my code for Java and I have to put it in GUI, problem is I dont know a thing about GUI or if my program works correctly with it or not. Here is my code and what the code does is you type in random numbers …

Member Avatar for Mkmd13
0
499
Member Avatar for black_berry

Hello I am trying to connect to an access database, i have tried using the[CODE]Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")[/CODE] but this does not work. I am using Eclipse IDE and running windows 7 64bit. Does anyone know how to make it work? Thanks

Member Avatar for mKorbel
0
91
Member Avatar for Bayareaboy

Hello everyone- I'm currently working on a GUI solution for a school assignment which creates a tabbed window with only the 'Pool' tab actually populated. I have successfully created all of the labels, textfields and buttons for the 'pool' pane, but I am really struggling with setting up the listener …

Member Avatar for mKorbel
0
172
Member Avatar for newack

I am new to Java I wrote a code to find largest number [CODE] import java.util.Scanner; public class LargestNumber { public static void main( String args[] ) { int number,largestNumber; Scanner input = new Scanner( System.in ); System.out.print( "Enter 10 numbers to compare" ); for( int counter = 1 ; …

Member Avatar for newack
0
104
Member Avatar for Java_90

I have to input a directory in DT, then have Directory recursively return a list of files and folders in that directory. My problem is that at the moment my program is only returning the first file in the directory and then ending. I know that I'm doing my recursion …

Member Avatar for Java_90
0
178
Member Avatar for zetologos

This bug is killing me. I have no idea what I did wrong. My friend has it the exact same way. This program reads a txt file and reads each line which has a request in it EX: Matt Smith;Event 1;2009;March;29;11;120;40; We take the request cut it up according to …

Member Avatar for zetologos
0
154
Member Avatar for shiv0013

I am trying to multicast video using java. i tried jmf with rtp. but i need to sign send them as packets and authenticate them before playing. is it supported in jmf with rtp? or is there any way to play a incomplete video file. thanx in advance for ur …

0
66

The End.