32,205 Topics
| |
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. … | |
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 … | |
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”> … | |
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 … | |
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. | |
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 … | |
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 … | |
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 ... | |
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 … | |
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 | |
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 | |
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.. | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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: … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … |
The End.