32,204 Topics

Member Avatar for
Member Avatar for 4zlimit

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 …

Member Avatar for 4zlimit
0
143
Member Avatar for CodeMasterFlex

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?

Member Avatar for jwenting
0
220
Member Avatar for shriyash134

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 …

Member Avatar for jwenting
0
105
Member Avatar for fahad

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 :)

Member Avatar for peter_budo
0
88
Member Avatar for joshSCH

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 …

Member Avatar for peter_budo
0
184
Member Avatar for rinko

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, …

Member Avatar for jwenting
0
127
Member Avatar for FUNimations

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. …

Member Avatar for IDSA
0
114
Member Avatar for javax2007

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 { …

0
65
Member Avatar for shila80

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 …

Member Avatar for Rayhan Muktader
0
101
Member Avatar for tralfas

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"); …

Member Avatar for Ezzaral
0
134
Member Avatar for Gorilla

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 …

Member Avatar for Gorilla
0
99
Member Avatar for Jishnu

Hello every-one, I am new to java. Can any-one suggest some basic-level yet solid book for transition from c++ to java ?

Member Avatar for leehyokug
0
93
Member Avatar for rugae

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 …

Member Avatar for dwks
0
123
Member Avatar for mritunjay0506

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 …

Member Avatar for jwenting
-1
58
Member Avatar for shriyash134

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 …

Member Avatar for Ezzaral
0
193
Member Avatar for aneetasuneel
Member Avatar for vinod_javas
0
83
Member Avatar for akash_msrit

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 …

Member Avatar for peter_budo
0
87
Member Avatar for sportbear

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 …

Member Avatar for iamthwee
1
143
Member Avatar for Jishnu
Member Avatar for iamthwee
0
66
Member Avatar for san_fran_crisko

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 …

Member Avatar for san_fran_crisko
0
161
Member Avatar for a1i22000

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");]

Member Avatar for jwenting
0
115
Member Avatar for sarath.koiloth

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 …

Member Avatar for jwenting
0
98
Member Avatar for san_fran_crisko

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 …

Member Avatar for san_fran_crisko
0
166
Member Avatar for akash_msrit

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.

Member Avatar for dogma
0
83
Member Avatar for Acidburn
Member Avatar for Mr.UNOwen

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 …

Member Avatar for ~s.o.s~
0
98
Member Avatar for Acidburn

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 …

Member Avatar for ~s.o.s~
0
67
Member Avatar for Acidburn

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 …

Member Avatar for ~s.o.s~
0
102
Member Avatar for Stoney

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 …

Member Avatar for masijade
0
74
Member Avatar for randomFIRE

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 …

Member Avatar for masijade
0
141

The End.