36,051 Topics

Member Avatar for
Member Avatar for shirish_kal

HI guys am completely new to java ... and have this couple of bugs am not clear of wt to do... can anybody help me with it i wud be gr8ful E:\j2sdk1.4.2_19\bin\JAR>javac Training.java [B].\Base64.java:39: cannot resolve symbol symbol : constructor InputStream (java.io.FileInputStream,boolean) location: class Base64.InputStream Base64.InputStream localInputStream = new Base64.InputStream(localFileInputStream, …

Member Avatar for prashant yadu
-1
268
Member Avatar for ashwathy

hello, got to develop a project on online reservation system.just help me to know how to start with.need help urgently.help......

Member Avatar for ~s.o.s~
-1
155
Member Avatar for mona515

Hi, I'm new to the whole programing world, so I'm a bit lost. The problem is: Enhanace the "BankAccount" class by, 1.) Rejecting negative amounts in the deposit and withdrawl methods. and 2.) Rejects withdrawals that would result in a negative balance. (Simply return from the method without modifying the …

Member Avatar for javaAddict
0
75
Member Avatar for jaiprakash15

Dear Friends, I a working on a project where i have to let the user to type in other languages(hindi,tamil,kannada etc..) and i have to store into the database and retrive it back and show it to the client in the same language he has entered..I am using postgres 8.0 …

Member Avatar for peter_budo
0
216
Member Avatar for vedmack

For example i want that the [code]System.out.println("blablabla");[/code] wont be displayed on the screen of the console.... how can I do it?

Member Avatar for vedmack
0
5K
Member Avatar for tulsi_apr03

hi all, Can anybody help me, In my project, Im using Tomcat5 webserver and Oracle10g as backend.now I want to display one report .For that Im using CrystalReportsXi with JSP page , Report is generated correctly and displayed on to browser with out images.Images are those came with CrystalReport Tool. …

Member Avatar for tulsi_apr03
0
186
Member Avatar for cicigirl04

Trying to create a 2 dimensional array for converting temperature and returning max. Having problems declaring max such as these 2 lines. max = max(inputFahr[0][0]); max2 = max2(inputCel[0][1]); [code]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package project3; import …

Member Avatar for arseniew
0
493
Member Avatar for DJMASSIAH017

Hello Everyone! I have a homework assignment due and I am having a problem with an compiling it to get an output. This is my first and only Java class. Can someone please tell me what I am doing wrong? Thanks in advance. [CODE]/* Programmer:Steve A. Massiah Date:01/29/09 Course:PRG/420 File: …

Member Avatar for javaAddict
0
3K
Member Avatar for pbwebdev

Hello, I'm writing a program that calculates payroll. I'm using an int array for the employee ID and a for loop for the hours and payrate. I have the code working with one exception. I must write a method for input validation that: Does not accept negative values for hours …

Member Avatar for javaAddict
0
121
Member Avatar for Rameses

I've created database in Mysql and would like to access db tables from localhost jsp. This is what I've created for far: [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <HTML> <HEAD> <TITLE>insert data using JSP </TITLE> </HEAD> <BODY bgcolor="#ffffcc"> <font size="+3" color="green"><br>Welcome to my world !</font> <FORM action="statement.jsp" method="get"> …

Member Avatar for javaAddict
0
152
Member Avatar for Roger L

Hello, I am a JSP newbie. I am trying to encode a password on a login form, before it is sent to the server. I created a test button to display the hashed password, but errors out with the message 'digestPswd not defined' Here are the code snippits that I …

Member Avatar for Roger L
0
172
Member Avatar for MarMcD

Hello, I need help badly. I was able to compile the program but when i ran it, it didn't do what it is supposed to do. The program should continue to promt for next employee's info until user enters "stop". I am not sure what I am missing.. Any help …

Member Avatar for MarMcD
0
152
Member Avatar for britto

is there any method or class for getting the datatype of a variable???? After the variable is declared i must get the datatype...... hw can i do .... any ideas??

Member Avatar for britto
0
145
Member Avatar for Praveenhai

Hi Friends, Any body please send me a complete java project on "Hospital Management System" or "Government Health care System". Please provide me in detail to [I]<<snipped email address>>[/I]

Member Avatar for ~s.o.s~
0
93
Member Avatar for lahiru17

I am new to java. im trying to create a report from a table called users, in the database called userDatabase. I dnt know how to connect and get the required output! If u can please give a an example coding that can be used to connect this with my …

Member Avatar for lahiru17
0
93
Member Avatar for kos88

[code] class Register { public static void main(String[] args) { Personer pr = new Personer(); pr.settInnPerson("mrt","Kasra"); pr.settInnPerson("avinnogg","Anders"); pr.settInnPerson("omelgsto","Oyvind"); pr.settInnPerson("joakibj","Joakim"); pr.settInnPerson("richar","Richard"); pr.settInnPerson("linnaad","Linn Kristin"); pr.settInnPerson("hennikar","Henni"); pr.settInnPerson("haavarte","Havard"); pr.settInnPerson("rubendw","Ruben"); pr.settInnPerson("dingh","Ding"); pr.settInnPerson("nikitam","Nikita"); pr.settInnPerson("huyt","Huy Quang"); pr.settInnPerson("chunyuyc","Chun-Yu"); pr.settInnPerson("kabeern","Kabeer"); pr.taUttPerson("kabeern","Kabeer"); pr.taUttPerson("chunyuyc","Chun-Yu"); pr.print(); System.out.println("------------------------------"); Person skalFaVenn = pr.finnPerson("dingh","Ding"); skalFaVenn.leggTilVenn("rubendw","Ruben"); skalFaVenn.leggTilVenn("hennikar","Henni"); skalFaVenn.leggTilVenn("mrt","Kasra"); skalFaVenn.leggTilVenn("avinnogg","Anders"); skalFaVenn.fjernVenn("hennikar","Henni"); Person vn = new Person("dingh","Ding"); vn.print2(); …

Member Avatar for Kabbelabb
0
186
Member Avatar for riyashm

Hai Please send me if any one have a j2ee online shopping project in full or part

Member Avatar for ithelp
0
59
Member Avatar for funlovingashish

HII EVERYONE. i AM WORKING ON JSP AND I WANT TO SET THE SCREEN RESOLUTION ACCORDINGLY.ANYONE PLZ HELP ME OUT!!!

Member Avatar for masijade
0
101
Member Avatar for funlovingashish

thanks for ur suggestions peter sir. I have another problem sir. I am creating a jsp application where I am using a custom class for sending emails. THe java class is working fine. but when i am importing it's package using page directive and creeating an object of it,then Tomcat …

Member Avatar for peter_budo
0
57
Member Avatar for britto

im trying to compile a c program using java i have to invoke tinyc compiler from command line ......i need to run these commands in console using java... first set the directory to the location of c file then invoke "tcc filename" how can it be done??? thanks in advance

Member Avatar for britto
0
298
Member Avatar for Noliving

The purpose of a reach algorithm is to return the variable (or set of variables) that is defined by the given node. Correct?

Member Avatar for verruckt24
0
63
Member Avatar for gadisandeep

Hi,I want to assign a name to the nodes i created but I am unable to do this.Can anyone tell me how to do this.

Member Avatar for rohanbk
0
55
Member Avatar for devlin021

Hey all Iam new to programming, so please help me with my problem.... I want to take voice input into a Java program and save it in the form of string....?? Plesae help..

Member Avatar for devlin021
0
123
Member Avatar for dmanw100

I'm having a pretty weird logic error. It seems that this code is always ending my arrays with 3. It should (being a recursive function) iterate through 0, 1, 2, 3. My test array is of length 4 but I am completely missing the reason. Can anyone else see the …

Member Avatar for dmanw100
0
145
Member Avatar for Rashakil Fol

From [url]http://www.daniweb.com/forums/thread172120.html#post791196[/url] : [quote=Ezzaral]On a side note, never throw exceptions from main(). Use a try-catch block.[/quote] Why?

Member Avatar for ~s.o.s~
0
151
Member Avatar for kavithaGowda

Hi, I want to create a progress bar for folder copy using SWT. So i request you ppl to give some sample codes regarding d same. Thanks in advance.

Member Avatar for peter_budo
0
23
Member Avatar for Anu_JSP

Hi I have got a WSDL created by using one tool (Query As a Web Service: which creates a wsdl for the given query) and now I want to consume this WSDL in jsp to display the data through web. Anyone of you can give me some idea on this …

0
51
Member Avatar for PriyaFingent

the code is given below <script type="text/jscript"> // Check the length of the textbox //for new function Length_Phone1TextField_Validator() { if ((aspnetForm.ctl00_ProfilePlaceHolder_txtPhone1.value.length > 2)) { aspnetForm.ctl00_ProfilePlaceHolder_txtPhone2.focus(); return (false); } return (true); } <script> and in cs file its code like this `this.txtPhone1.Attributes.Add("onKeyup", "return Length_Phone1TextField_Validator()");` Its not working in firefox but in …

Member Avatar for cguan_77
0
74
Member Avatar for w32.sysfile

i have a jtextpane now, i want that some text on it become bold, and not all how can i possibly do this, for exmple, i want to bold all the word "cool" found in my textpane.. i know that i should use a DocumentListener(Do I need??) but i really …

Member Avatar for zawert
0
130
Member Avatar for AllenB

Hello, Is there a way to take a String, for instance "4 * 5" from a JTextField and convert it into an expression where I will get a result? Thank you.

Member Avatar for sciwizeh
0
139
Member Avatar for kateblossom

Hi I would like to create a crawler using java with mySQL as backend. It must work in such a way that it will crawl to a site and grab the data from that site. And then store that data in the database. So can anybody tell me a way …

Member Avatar for sciwizeh
0
510
Member Avatar for jdbarry

Can somebody help tell what they think is the matter with this code. It is supposed to be a random password generator. You will see what is the matter with when it runs. Thanks in advance [code] /** * This program generates random passwords based on the user selecting the …

Member Avatar for markhogg
0
121
Member Avatar for curtissumpter

Hi, I'm having trouble with using and updating graphics in a JFrame. I'll include my code below along with some classes. They're necessary for the program to work properly. The issue is that the paint method is painting over my UI. Then it won't display the graphics. I don't have …

Member Avatar for Ezzaral
0
998
Member Avatar for tarikiihem_01

Your web based ordering should work as follows: 1. Authorized customer must be able to place his online orders. 2. Authorized customer MUST log in first before making any transaction. If the login is invalid the customer access is denied and a message is displayed to the customer “ACCESS DENIED” …

Member Avatar for ~s.o.s~
0
132
Member Avatar for neighbordave

This code is supposed to find the nth short word For example, if you are passed an array containing the words "Mary", "had", "a", "little", "lamb" and you are asked to return the second word, you would return "a" Below is my attempt to solve this but im pretty confused …

Member Avatar for verruckt24
0
105
Member Avatar for zhane88

good day, I am in need of a hand ...i am building a Wire transfer software for remmitance into bank accounts but i am having some errors..i would like you to contact me in any case if you can be of assistance. my email is [email removed] Please do get …

Member Avatar for stultuske
0
76
Member Avatar for Legend003

Hi! I want to develope Data Dictionary in java just like Data Dictionary in C++; if some one already worked on it plz send this code for the sake of Knowledge..... thanks.......

Member Avatar for stultuske
0
84
Member Avatar for edadma

I'm learning Scala after having used Java for years. I'm wondering if anyone has found a good Scala programming software other than Eclipse and NetBeans, both of which have bugging Scala plugins? I know about the Jedit Scala plugin. It's even worse than Eclipse. And then there's this funny little …

Member Avatar for peter_budo
0
93
Member Avatar for BestJewSinceJC

After some research I found this link [url]http://splainhow.com/jogl_eclipse.html[/url] which explains how to set up a project in Eclipse to use OpenGL with it. But I want to integrate the OpenGL libraries for JOGL with Eclipse so that I can import and use them with any projects. Does that make sense? …

Member Avatar for stephen84s
0
102
Member Avatar for jhonnyboy

hey guys i would like to know how it's possible to run a java project outside of it's IDE. How can i get it running on a website? I also tried running it on my computer but...navigating to the project through cmd and using the "java project" command to run …

Member Avatar for verruckt24
1
478
Member Avatar for evilllllll

My hw is to create a strategy for this rock paper scissors game. this is my code for the game itself: import java.awt.*; import java.awt.event.*; import javax.swing.*; /** *The RPs applt plays Rock paper *scissor, lizard, Spock game and *keeps track of how many times *you won lost or tied …

Member Avatar for BestJewSinceJC
0
116
Member Avatar for mannyg

so i no ive read this stuff about hmwrk. but i have done a lot of work and dont want anyone to finish it for me i just need advice, im making a coffee machine and i have made a layout, but i dont no how to put in the …

Member Avatar for sillyboy
0
126
Member Avatar for sufi89

hi i am new to all this... right now i am stuck on generic linked lists i have to create a recursive method to add newnode at end i have this so far public static <T> void insert(Node<T> l, Node <T> newNode) { if (l == null) {l = newNode; …

Member Avatar for sufi89
0
110
Member Avatar for nikk

Hello Friends, I've to work with "Quicktime". But, I'm finding it quite difficult to find the resources which will help me in understanding the technology. Can you please suggest me any links which will help me in understanding Quicktime classes and methods, during my project building?

Member Avatar for quuba
0
276
Member Avatar for britto

hi everyone... im doing an ide for my project... i need to check for errors while typing and must underline them .... i need to do it for c,c++,java using java..... i have no idea about this .... can anyone please help me?????

Member Avatar for britto
0
83
Member Avatar for faisaly
Member Avatar for RajeevSd

Hi I am creating a web application containing html and jsp files.....Actually the whole application is divided into three frames ie. left , center which expands to right also and bottom.....I have put my logout link there at bottom....The logout.jsp file has code [icode]<% session.invalidate() %> [/icode] which is terminating …

Member Avatar for peter_budo
0
139
Member Avatar for ckd327

Hi I am just beginning using Java and have two programs due tomorrow for class. Both programs are nearly complete however I keep getting similar errors on both. The first program's error is on the 22nd line starting "system.out." and says that a ) is expected. Here is what I …

Member Avatar for stephen84s
0
100
Member Avatar for robertmacedonia

Hello, I would like to ask is there any class connected with the Tree data structure in the Java Api, since I couldn't find one. I'm just starting to study the Binary Search Trees, the Heap data structure etc. As far as I could see until now, I will have …

Member Avatar for robertmacedonia
0
99
Member Avatar for ylenaj

What are the codes when you cancel a list of names in the database in a certain field? This is the situation: I made a reservation in a certain hotel. Of course they asked my name, what kind of room. . Automatically, it saved on the database of their system. …

Member Avatar for stephen84s
0
120

The End.