32,204 Topics
| |
I have been trying for two days to figure out how to use a loop in my program. It is the ever dreaded payroll program. I can't seem to get the program to start over once the program goes through each question. Can anyone point me in the right direction … | |
I'm trying to write a Btree remove method in JAVA I'm having trouble combining my nodes and then recursing up through the parent does anyone know where I can get some info about this online? | |
Hi.. I have parsed a XML file with the DOM parser. I need assistance in reading the parsed content ...and then preform actions in my java program accrodingly.. Now what i have to do is print some text depending on the value that is ther in the xml element. for … | |
Hi, I want to sign an email through some java API using a digital signature ,IF anyone of you can help me or give me a refrence to such API, that wil be nice and as always its a bit urgent :) | |
I've written many java apps; however, I have never created anything that communicated with the Internet, or more specifically, web pages. How exactly would you go about doing this.. For instance, say I wanted to write a program that would log me in Daniweb, and send messages or posts to … | |
Hello to all users, I am using a NetBeans IDE 4.1. I want to import packages that are packed in a zip file. I open the project window, then with right click on the project icon I selected properties and then in libraray menu i added the zip file. Then, … | |
Hi i'm trying to make a JFrame with 4 jlabels. So far no problems, but i want it to show the first only. 4 seconds later the second, and so on... I know how to make the labels invisible and vasiable again, i just don't know about the time delay. … | |
This program should draw a car, erase it, and draw it again but in a different spot on the window. I have all of this except when the car is drawn again the wheels aren't moved with the car. [code] import TurtleGraphics.StandardPen; import java.awt.Color; import TerminalIO.KeyboardReader; public class TestCar { … | |
Hello i'm new in java and i'm sorry if my english is not very good i have a question to solve and i cann't figure it out how to solve it i have this class public class B { public boolean what(int []arr1,int[] arr2,int num) { for (int i=0;i<arr1.length;i++) for(int … | |
here is the code [code]/* Chapter 6: Borders Programmer: ELIIIIIIIIIIIIIIIIIIIIIIIIII DOOOOOOOOONNNNNNNNAAAAAAAAAAAAAAAAAAAAAAAHHHHHHUUUUUUUEEEEEEEEEE Date: Filename: Borders.java Purpose: */ import java.awt.*; import java.awt.event.*; public class Borders2 extends Frame implements ActionListener, ItemListener { public Borders2() { setBackground(Color.red); //set the layout setLayout(new BorderLayout(50,50)); //Add buttons Button Red = new Button("Red"); Button Yellow = new Button("Yellow"); … | |
My problem is: [LIST] [*]I've try many times with DataOutputStream, FileWriter but I cannot write intergers into a file as I wanted.[/LIST][LIST] [*]I seemed to succeed but after writing them into a file, when I open it with notepad, I can read it. They all tuned out to many strange … | |
Hello every-one, I am new to java. Can any-one suggest some basic-level yet solid book for transition from c++ to java ? | |
I was wondering if it's possible to change or add values to enum types? Such as changing the string "This is a msg" or add additional value to the type test. May I have some tips? [CODE] public enum Test { VALUE("This is a msg"); private String x; Test (String … | |
I am trying to store the value in a variable and after referesh the page the old variable remain same is it possible like :I have stored 1,2,3,4,5 in a option box.and max % is selected by default I want if i select 3 and then referesh the page then … | |
HI there, The program which I am working on involves[B] reading XML document and then depending on the input data save the output files(text) in different folders[/B]...can any body tell me where do i find tutorials which can help me in doing this.... I need help .. waiting for response … | |
hi this is Akash , i need help in adding java code to jsp. i have a class called JTree , which displays a tree structure menu. now i want to include this code in jsp. i am using websphere to design my GUI. i trying this but i am … | |
I'm just trying to make a four-player card dealing game! But my problem is that my deck is eternal! I wan't it to deal 52 cards. So 13 card per person! The name of my persons are JLabel1,2,3,4! Can someone help me out! I'm working with Blue J and I … | |
Hi everybody, Would any-one send me java compiler at <email snipped> | |
| Hello, I'm trying to add a JMenuBar to a JFrame and having alot of difficulties with it. I've searched the net and gone through a book I have looking for a solution to the problem, but everywhere tells me I'm doing it right, yet I've no JMenuBar at the top … |
Hi whom it may concern How can i write my first java application in windows os? 1)what do I needs to install before start coding? 2)what environment(notepad,wordpad,..)do you offer me to try in? 3)what ever you think may help me to start java programming? [System.out.println("Thankyou so much");] | |
Hi Freinds, I am learning Ant Tool,I developed a java program which is using an external jar file.I had set it in the classpath.I can run that program from my command line,but not able to run using ant.saying that it cannot find a class which is in that jar.i had … | |
| Hi, I am designing a puzzle game and I am trying to use the data that comes back from "getLocation()". It tells me the x, y co-ordinates of a button on the screen but so far I cannot export the x, y data to a String or int. There is … |
hi this is akash i am doing project in java, i have some code in CGI , now i have to transfer that code in to javascript, can any one help me .it is very urget,please help me. | |
Hello, So I created a simple game with the use of Applet and I noticed I would get lines going through it as repaint is called. Is there a way to make it work smoother or a way to have layered images so that only a few images have to … | |
Hello guys, Firstly I want to thank you for taking time reading my post. Secondly I'll explain my problem... I've got some DAO's (Data Access Objects) These talk to the database and are soley responsible for transfering data too and from the database. I've thought for demonstration purposes it would … | |
Hello guys , I'll start with my code: [code] package testapplication; import java.util.HashMap; public class Main { /** Creates a new instance of Main */ public Main() { } /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here … | |
I'm trying to get the minimum of 3 floating numbers. I believe my minimum3 method is alright but I think the problem is getting 3 numbers that are being entered in the main method. [CODE]public class Methods1 { public static void main(String [] args) { float x = input.nextFloat(); float … | |
Hi. I'm trying to learn about using threads in java, so I decided to try to make a new thread in which an alarm rings while the rest of the program continues. My program is supposed to go about it's business graphing some data, and then if the data exceeds … |
The End.