35,617 Topics

Member Avatar for
Member Avatar for Jishnu

Hi everybody, I'm new to Java language & was previously working with C++. I'm totally confused as to what is the mechanism of passing variables having 1) built-in datatypes 2) array datatypes 3) user-defined objects as datatypes to any function. Is it pass by value or reference ? If arguments …

Member Avatar for jwenting
0
117
Member Avatar for 4zlimit

I am trying to store information then retrieve it on my program. I know I have to use a class and a constructor. The problem is that my text doesn't have any good examples that I can view. I am truly lost. I am not sure 1. where to build …

Member Avatar for stultuske
0
215
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 sonu1

[COLOR=red]Hi frins[/COLOR]...i have done file uploading on client side but can any one just help me out with [COLOR=red]uploading file on server side[/COLOR]......[COLOR=red]Please [/COLOR]my deadline for project submission is approaching....I dont want it done using applet.

Member Avatar for jwenting
0
279
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
224
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 JSP_javascript

In a JSP file I have this: <script language="JavaScript" src="cookies.js"> </script> <Form …….> <INPUT type="text" class="kar3" tabindex="1" MAXLENGTH="3" size="3" value='<%=fr4021a.getFrvbekd()%>' name="frvbekd" onBlur="document.forms[0].frvbekd.value=document.forms[0].frvbekd.value.t oU pperCase();document.forms[0].action='fr4021a.jsp?element=2';document.f orms[0].submit();" onFocus="displayVeldHelp('0');"> </form> How can I add the javascrit function Save_field( this) tot the element <Input ……..> or <Form …..> aanroepen. Must I use this: save_field(this); …

Member Avatar for ~s.o.s~
0
74
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
129
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
116
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
94
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
124
Member Avatar for akash_msrit

hi this akash i have created a frame, in that frame i am inputing some text fields like txt1,txt2....., now i want to accept these inputs into mysql query. please suggest me how i can do this. this is the query select * from cartable where owner = 'akash' and …

Member Avatar for jwenting
0
56
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
194
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 mahajanrahuld

hi i need to connect the jsp page with database using hibernate framwork how to possible ? can any one have the example or source code for this it's urgent my configration is following hibernate+jsp+netbean5.0+tomacat server+postgreSQL database [COLOR=red][B][U]HELP ME URGENT PLZ[/U][/B][/COLOR]

Member Avatar for jwenting
0
63
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 qaizaar

I have to make a simple JSP page that takes 2 inputs as file names and then when you hit submit these files a passed to another method that takes 2 file inputs. i just wante to know how to do this in the second page. the first page is …

Member Avatar for ~s.o.s~
0
103
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 student_help

Can someone please advise me. I have a program which is who interface is JSP. It is running Java in the background. I have a timeout session which works. The problem starts when you log back in. Some of the files are set up with authorized access when created, howver …

Member Avatar for ~s.o.s~
0
63

The End.