32,205 Topics

Member Avatar for
Member Avatar for DeadJustice

I seem to be able to load the files in my program. Then I can loop through the lines one time, but if I try a second loop to load the strings into an array that one won't work. Here's my code. I thank you for any help in advance. …

Member Avatar for DeadJustice
0
102
Member Avatar for vladdy191

I'm doing a project for a class and it says to write a program that translates code from one programming language to another. It says that my class containing my static main method should be named "Translate". It should take as input source code of a programming language as a …

Member Avatar for javaAddict
0
81
Member Avatar for soultrav

I am building an xml parser in java which will handle a catalog with some books (that have price and usefulness) and I want to implement an [B]optimum[/B] algorithm that selects the books from the catalog which have the maximum usefulness while staying within the budget. Example: [code] <catalog cash=”100”> …

Member Avatar for dickersonka
0
99
Member Avatar for dipsn

I m working on a crawler and want to hash the urls that my crawler is crawled already. I have used hashcode() function but it is returning a null value. Is there any other efficient way for hashing them .Also i want to know abt hash functions related with string …

Member Avatar for destin
0
70
Member Avatar for coolbuddy059

I'am making a mini project on telephone directory management system. My lecturer wants me to submit the documentation of the project.I'm not sure about how to prepare my documentation of project.What to tell??????? the feature which I could add to make my documentation impressive.

Member Avatar for jbennet
0
79
Member Avatar for SRWenner

I'm a total nubie. I thought it would be useful to download the source for an applet and study the code. I picked a wonderful applet by Don Hatch: [URL]http://www.plunk.org/~hatch/HyperbolicApplet/?size=513[/URL]. The code in the jar file is all in .prejava files. My IDE (NetBeans) doesn't know what to do with …

Member Avatar for jbennet
0
331
Member Avatar for Achupa

Hi, can someone help me modify this code to achieve the following: Add methods to your Human that return collections of arms and legs. implement these methods by iterating through the collection of limbs and checking what type of limb they are. Note that you will need to use the …

Member Avatar for stultuske
0
122
Member Avatar for Kamal_Java

How to write recursive method that takes an array of Strings and prints them out in reverse order, one per line. I was able to do this by iteration but not by recursion since its an array of string .could any one help me ...

Member Avatar for stultuske
0
94
Member Avatar for nouryn

hi,my program should plot a graph of two function and then get the intersection point and get the points on the x,y axis then i get the value of it in a function z and get the highest value of z i completed the program but there is a problem …

Member Avatar for stultuske
0
108
Member Avatar for rainny

Hi, I have some question and hope that someone can help me to solve it. When I click one button in JFrame form, then can the JFrame form hide and another JFrame form will appear? Hope can provide some sample code on how to do it? Thanks

Member Avatar for javaAddict
0
95
Member Avatar for nabilchampion

Hi all I urgently need a tool that either convert java code to c++ or make reverse engineering diagrams of java code..like uml/sequence digs..etc…or explanation of the code…. If anyone have idea of such a tool then let me know please. Regards

Member Avatar for ithelp
0
159
Member Avatar for asus2008

does any1 knows how to create mobile game using java?i need help.. im clueless... im trying ti cr8 a mobile game "go" but dont know how to start... can ym me: [email]mushaz15@yahoo.com[/email]... need help asap..

0
69
Member Avatar for jsully1

I am taking a web design and development class and we have been thrown into MySQL along with java without much knowledge beforehand. Was wondering if anyone could help me with understanding how to query the database and update entries, as I am confused on how to accomplish this. I …

Member Avatar for jsully1
0
101
Member Avatar for phalaris_trip

I'm new to java (like a few weeks new), but coming from a C++ background.. This is going to sound retarded, but... can someone explain to me how I can make a BigInteger object to make it have the same value as another BigInteger object? That is they have to …

Member Avatar for destin
0
1K
Member Avatar for Younes951

Hello to Every one... First time greetings.... -I just found about this great site, I wish I'll enjoy it,, -I'm looking to share experiences with others around the world under such open community... I'll do my best to benefit others as I hope also to get solutions for problems I …

Member Avatar for jbennet
0
159
Member Avatar for complexcodes

can you guys help me how can I remove all those drawn rectangles if user click the mouse in the applet field? I am supposed to write a program that displays a rectangle and color it with green when user drag the mouse. But if user click the mouse anywhere …

Member Avatar for BestJewSinceJC
0
505
Member Avatar for BestJewSinceJC

I saw someone, I think it was s.o.s, recommend the use of BigDecimal to someone else. So out of curiosity, and having heard of BigDecimal before, I looked at the Javadoc to see how large the values it could hold were and how it held them. From the doc: "Immutable, …

Member Avatar for jbennet
0
162
Member Avatar for apeaser

I need help with this code. I am already a week late on this part because part 2 took to long to code. I am not getting the LeatherBlueDot class to compile. I am getting a message that in my constructor statement saying each variable has private access in class …

Member Avatar for BestJewSinceJC
0
181
Member Avatar for amroto

Hi,Please i need some help in my java program,it's purpose is to enter 2 equations and it solves them graphically,the problem is that the graph has a glitch with the x and y axis,plz can someone help me so that all the equations are solved correctly.. here's my source code: …

Member Avatar for Ezzaral
0
113
Member Avatar for ashish_nirkhe

I am designing a project in java.I am mostly done with the code. I need to know how to convert my java code into .exe file? pls reply soon. Thanks in advance.

Member Avatar for ashish_nirkhe
0
118
Member Avatar for complexcodes

I am trying to write a program that displays a rectangle when user drag the mouse and when user release mouse, it displays the rectangle with green color. I am terribly confused here is what I am thinking to do import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.net.*; public class …

Member Avatar for BestJewSinceJC
0
568
Member Avatar for chengineer

hi,i started to learn java nearly 2 weeks ago so i dont know java clearly,i try to write a program about trainingzone. i must provide an interactive training zonecalculator that prompts a user for age. i write a program but it gives errors and i dont improve this,if anyone can …

Member Avatar for masijade
0
145
Member Avatar for Dio1080

Ok, the code is almost done and I need help finishing up my delete function(between lines 51 to 71), I can't seem to figure out how to delete the 50 and the 20. Here is my code. BTW i'll list the output first. Thanks Sample output 10 20 30 50 …

Member Avatar for BestJewSinceJC
0
161
Member Avatar for NOTSomebody

Hi, I am developing an application about tracing for preschoolers. Currently, I am developing a application and is using touch screen that does tracing. Currently, I am using mouseListener because if I am not wrong, touch screen basically equals mouse clicks. So now my application can does drawing. Next, I …

Member Avatar for NOTSomebody
0
134
Member Avatar for sahrourr

i have to do a program that takes to equations from the user and draw a graph for them and then get the intersection point and then find the optimal solution and my program draws the graph but it makes the intersection point in a wrong way and i don't …

0
57
Member Avatar for sahrourr

hello, i need a help, i wanna make a program which deals with boolean algebra functions. i will enter a function like ( xy+x'+y'(x'+y) ) or any function and the program shoul get the complement of it. actually i don't know how to solve it.

Member Avatar for Ezzaral
0
107
Member Avatar for bahr_alhalak

hi every one... i need some help from u.. i solved my assingment by my self an I need from u some help I will post my prgram and please check it if it need any edite or anything... This is the mainClass [CODE]import java.util.*; public class mainClass { public …

Member Avatar for dickersonka
0
114
Member Avatar for cherryduck

Hey everyone, I'm writing a program as follows: CourseMarker course Java u4 exercise sunflower: Sunflower Growth part 2 (Weight: 3) =================================================================================== Introduction ============ This is a continuation of last weeks exercise on the growth of sunflowers, but the problem is now more complex. It now involves loops and makes sure …

Member Avatar for cherryduck
0
211
Member Avatar for new_2_java

Hi all, I have a threaded program, which migrates contetn from one repository to another. The program works fine, when I test for small number of documents, say arround 10 or 20. But when I increase the number of documents, then I get [B]java.lang.OutOfMemoryError[/B]. I can't seem to figure out …

Member Avatar for ~s.o.s~
0
134
Member Avatar for tgkprog

I want to position an element span tag by the natural positioning in a page (its a drupal page so the theme can change and i dont know where my span will fall but i also want to position an an image on top of this span how do i …

Member Avatar for MidiMagic
0
81

The End.