36,051 Topics
![]() | |
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, … | |
hello, got to develop a project on online reservation system.just help me to know how to start with.need help urgently.help...... | |
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 … | |
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 … | |
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? | |
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. … | |
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 … | |
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: … | |
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 … | |
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"> … | |
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 … | |
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 … | |
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?? | |
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] | |
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 … | |
[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(); … | |
Hai Please send me if any one have a j2ee online shopping project in full or part | |
HII EVERYONE. i AM WORKING ON JSP AND I WANT TO SET THE SCREEN RESOLUTION ACCORDINGLY.ANYONE PLZ HELP ME OUT!!! | |
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 … | |
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 | |
The purpose of a reach algorithm is to return the variable (or set of variables) that is defined by the given node. Correct? | |
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. | |
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.. | |
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 … | |
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? | |
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. | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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” … | |
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 … | |
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 … | |
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....... | |
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 … | |
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? … | |
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 … | |
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 … | |
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 … | |
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; … | |
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? | |
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????? | |
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 … | |
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 … | |
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 … | |
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. … |
The End.