36,051 Topics

Member Avatar for
Member Avatar for glenak

While I know how to set this up perfectly, I was wondering, is it possible to set up my jdbc connection with my access database so that I have to put in a username and password? I would really like to do this with access, if it's possible

0
68
Member Avatar for balucec

pls suggest me some methods for noise removal of a document image and also about the removal pf the background components of the document image like rules, margins etc.

Member Avatar for coil
0
53
Member Avatar for fr0styh3rb

Hello, I am having some trouble compiling my code for the inventory program part 2, if someone could take a look and help me out I would really appreciate it. Thanks. I am required to implement an array to store, monitor, and retrieve data for camera inventory. [CODE]// Fig 2.4: …

Member Avatar for coil
0
137
Member Avatar for KirkPatrick

Alright well I decided I wanted to widen my learning a bit with java and decided I was going to write a program that had to do with networking side of things. It took me a little bit of time to come up with something, so I asked my friend …

Member Avatar for toseo
0
226
Member Avatar for plasticfood

ok i am writing a program that ask for the amount total and amount tender. then i'm supposed to calculate a combined amount of coins and dollars to make up the change amount. i know how to split out the dollar amount, but i'm stuck on how to calculate the …

Member Avatar for jon.kiparsky
0
150
Member Avatar for trustno1butme

Program requirements are as follows: Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the …

Member Avatar for fr0styh3rb
0
204
Member Avatar for hazeeel

Please help me to solve the error: coordinates2T[a][b]=-3.7830557977332173 coordinates2T[a][b]=-3.7830557977332173 coordinates2T[a][b]=-3.7830557977332173 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 at KateAug24.main(KateAug24.java:137) Press any key to continue... Thanks is adv! [CODE]import java.io.*; import java.util.*; import java.text.*; public class KateAug24{ private static StringBuffer buffer; private static BufferedReader input1=null; public static String [] arrayM1 = new …

Member Avatar for hazeeel
0
124
Member Avatar for drizzled42

[CODE]I am a graduating student, taking up BS IT. Unfortunately, i don't have a talent in the field of programming. I have a problem regarding our final project this semester in Software Metrics. Our teacher requires us to have HALSTEAD METRICS PROGRAM to be pass on SEPT. 13 2010. Any …

Member Avatar for coil
0
201
Member Avatar for plasticfood

ok i'm tryiing to convert a double into a string to get the 1st character of that number. [CODE] change = (amountPaid - total); String dollars = Double.toString(change); String firstNum = dollars.charAt(0); [/CODE] i got an imcompatiable type error on that part. change, amountPaid, total are double.

Member Avatar for NormR1
0
51
Member Avatar for oochi

Hi I want to write a loop that will terminate only when the cancel button is hit. I am using a JOptionPane.ConfirmInputDialog(null message1, Title, JOptionPane.OK_CANCEL_OPTION) to display three different messages at a time and the program will terminate once the cancel button has been hit. can someone please help oochi

Member Avatar for NormR1
0
91
Member Avatar for shantuli

hello everyone, can anyone please help me to solve the following problem. Write a program 1. To demonstrate division operation handling the arithmetic Exceptions. 2. To Access different elements of the given array: int [] arr1 = {10,69,30,12,11,34,56,78,35} Write exception-handling statements for ArrayIndexOutOfBounds Exception. thank you, regards, shantuli

Member Avatar for coil
0
176
Member Avatar for fr0styh3rb

Hello, I am developing an inventory program in one of my IT classes. So far I have implemented my Camera class correctly, I just need some help configuring my Inventory class. I have underlined the section of my code I am having trouble with. If someone could take a peek …

Member Avatar for coil
0
419
Member Avatar for muppet

We have 3 shifts running at our plant, day 0720 - 1520 swing 1520 - 1120 night 2320 - 0720 I have a table storing the bags packed on each shift, and now need to display the team (tech, packer_l, packer_r etc) with the greatest number of packed bags depending …

Member Avatar for muppet
0
180
Member Avatar for churva_churva

how to do the adding of objects in array program using an interactive console/gui how to do the deleting of objects in array using an interactive console/gui how to do the updating of objects in array program using an interactive console/gui how to do the displaying of objects in array …

Member Avatar for churva_churva
0
87
Member Avatar for b.bhagwan

Hi!!!!!!!!!!!! I have developed a java program using GUI for entering the record of employee. I have used the MS Access to store,retrieve the information. It is working properly in on the system. But i want to open it throw web browser & want to share in database when i …

Member Avatar for NormR1
0
123
Member Avatar for Simes

So I am trying to implement a menu that loops in a CLI simulator, I have the menu implemented but I am stuck figuring out how to make it loop or progress to the next option that requires input from the user. I have used scanner in for the menu, …

Member Avatar for NormR1
0
181
Member Avatar for churva_churva

how to do the adding of objects in array program using an interactive console/gui how to do the deleting of objects in array using an interactive console/gui how to do the updating of objects in array program using an interactive console/gui how to do the displaying of objects in array …

Member Avatar for tong1
0
118
Member Avatar for forumite

Training management system: Hi, I want to build a webpage in a plain HTML, JavaScript, CSS. In this webpage, I want to build a TRAINING MANAGEMENT SYSTEM. Requirements: 1. A form which should take the trainee's unique id and process it. If the entered trainee ID matches with any of …

Member Avatar for Henzard
0
226
Member Avatar for Waseem Siddiqui

[B]I want to override a method of superclass in subclass the method have same name in both the class. But I want to call the method of superclass with the object of subclass Please Hlep[/B] Please consider the following code class a { void a1() { System.out.println("Hello from a"); } …

Member Avatar for JamesCherrill
0
224
Member Avatar for ahsan1

where to place new java api jdk. I have downloaded stanford parser package which contains stanfor-parser.jar file and java api. I want to use it programmatically, where should I place that package or java api in my jdk.

Member Avatar for JamesCherrill
0
61
Member Avatar for steveh000

Hi guys I have been attempting to get my software to create new records in my database. For some reason something that should be simple is telling me my syntax is wrong on this line [code] String ex = "INSERT INTO `client_net_score`.`brands` (`id`, `brand`) VALUES (NULL, '"+bra+"');";[/code] so the string …

Member Avatar for steveh000
0
205
Member Avatar for churva_churva

Please help me to create a program that will demonstrate the following using an array...... 1.Adding of objects 2.Deleting of objects 3.Updating of objects 4.Displaying of objects.. An interactive program using console/gui... thanks...hope you can help me...just send the code, please help me....

Member Avatar for churva_churva
-1
286
Member Avatar for Papitha Murugan

[CODE] <%@ page language="java" import="java.sql.*" errorPage="" %> <% Connection con = null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); Connection conn = DriverManager.getConnection("jdbc:odbc:mydsn","a", "a"); PreparedStatement psSelectRecord=null; ResultSet rsSelectRecord=null; Statement st=null; String sqlSelectRecord=null; String Name=null; String id=null; String doj=null; String address=null; String contact=null; String dob=null; String blood=null; String gender=null; String pan=null; String martial=null; String email=null; String f1=null; …

0
55
Member Avatar for rebellion346

Hey guys. I just signed up and was hoping someone could help me out here. So for this program that's an assignment for my CS 1410 class.There's 2 dices and im suppose to do 1 million rolls. The program is suppose to calculate percentage of how many times the following …

Member Avatar for rebellion346
0
495
Member Avatar for laughnan

I am working on a java applet that sends information from the applet to a gmail using JavaMail. I downloaded the JavaMail package and using the mail.jar file it [B]does[/B] send to the email from my Eclipse workspace. However, when I ftp the files (ContactForm.java, ContactForm.class, mail.jar, and test.html) to …

Member Avatar for laughnan
0
417
Member Avatar for signum89

I already have an infix to postfix converter, now I want to get the answer from the postfix notation. Here is my code to evaluate a given postfix notation and (hopefully) get the answer: [CODE=java] public class testEVAL { private StackArray SA; private String input; private int postfixEVAL; //start constructor …

Member Avatar for NormR1
0
225
Member Avatar for lisa.wells7

Hi I am new to Java and need some help with a call to a private helper method. The helper method has a arraylist and char in the argument. Helper Method signature: [ private List<aClass1> getDancers(List<aClass1> aList, char c) ] Here is the call to the above helper method within …

Member Avatar for lisa.wells7
0
207
Member Avatar for idontknow19

:)PLEASE RESPECT MY THREAD..Thank you for sharing your time and effort..thanks to the code Java Experts can you share to me some codes or program that will determine VALID or INVALID using the parenthesis symbol() inputs. The code must use Stack and it also tell what is the cause why …

Member Avatar for jon.kiparsky
0
129
Member Avatar for glenak

Hi, for any of you who have done some java programming in cryptography I need your help. I'm trying to right and blinding and unblinding procedure, however at the final stage I should get a true, but I'm getting a false. If you know what's wrong, can you point it …

Member Avatar for glenak
0
144
Member Avatar for deep.bwn
Member Avatar for NormR1
0
30
Member Avatar for raul8

I have an HTML/JSP page on which I have to display all the images stored in a folder. For this I have to use Java. Please tell me how this can be done. Will appreciate if it is possible to provide code for explanation. Thank You

0
91
Member Avatar for tn2130

Hey everyone. Im new to java and having some problems. The main idea is to connect to a website and collect information off it and store it in an array. What I want the program to do is to search the website find a key word, and store what comes …

Member Avatar for NormR1
0
285
Member Avatar for slamdunk

I dont have much experience with javascript. Please provide javascript to create something like the image below: [url]http://www.coolmicroscope.com/java.jpg[/url] "data:text/html,<html>¶ <head> <script type='text/javascript'> function blinkIt() { if (!document.all) return; else { for(i=0;i<document.all.tags('blink').length;i++){ s=document.all.tags('blink')[i]; s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible'; } } } </script> <style> html, body { height: 100%; width: 100%; } body { margin : …

Member Avatar for peter_budo
0
175
Member Avatar for jemz

hello, hi can you help me what method to use to count how many words in a sentence... hoping for your positive responds thank you in advance...

Member Avatar for jon.kiparsky
0
126
Member Avatar for kennyvas

hi i want to know the role of a manifest file in the development of a javabean component

0
32
Member Avatar for miraj0072004

Hello friends , I am new to ant tasks.in this custom ant tasks I have tried to implement, there are two classes HelloWorld.java and CmdCompile.java. this is the build.xml I use, [CODE]<?xml version="1.0" ?> <project name="Antcompile" default="main" basedir="."> <!--<description>Builds, tests, and runs the project Antcompile.</description>--> <import file="nbproject/build-impl.xml"/> <taskdef name="hello" classname="just.inside.HelloWorld"/> …

Member Avatar for ~s.o.s~
0
379
Member Avatar for sameeraict

Hi, i'm trying store an image in my sql database . i 'm using java to manipulate it .i 'm able to manage the image store in the database,but i don't know how to retrieve it back to my user interface. can some one help me to do this. [code]//sample …

0
61
Member Avatar for snehalata86

Hello, I am trying to make a report which provides drill down facility for each slice inside the pie chart.If the slice refers to USA then another report should be opened which will provide detailed information about orders placed in USA.But it is not working. I have created two reports.In …

Member Avatar for satheeshsv
0
368
Member Avatar for mmnewbee

Pliz if there's anyone out there who has used or knows how to use the java speech api ,pliz can you tell me what i need to write a simple voice activated program i.e packages and/or additional software that I need to install n a tinsy little code snipet that …

0
47
Member Avatar for P00dle

Hi Daniweb. I'm using a file mask (eg '*.txt') to filter filenames in a program that I'm writing. It gets the file mask from an .xml settings file. Currently the mask is '*.xml', and the code I'm using to filter this is like this: [CODE]Pattern.matches(fileMask, fileName);[/CODE] The exception that is …

Member Avatar for P00dle
0
4K
Member Avatar for ishlux

Hi all, I have an jsp code for registration page... i have used ms access for storing the data.......but after running, ,,,, its giving an error.... data source name not found,,,no default driver is found........how to overcome with this problem.........pls do reply........ Thanks in advance ishlux

Member Avatar for moied
0
190
Member Avatar for twistedphrame

Hi everyone, I'm looking to write a server/client negotiation which involves both the server and client choosing a random number, sending it to one another, then generating a string using the two random numbers and some other previously found information. Using the hash of this string the client and server …

0
43
Member Avatar for DeIntegro

Say 3 integers are giving: 3, 4, 16 how does one go about writing a program to find the least common denominator? greatest common divisor? etc.. I was wondering if there is a way to use the multiples and then select the number that matches up, in this case 48 …

Member Avatar for coil
0
649
Member Avatar for Lolecule

Hey, I'm currently writing a SUVAT calculator in Java, my program needs to know when the user enters a dash as an argument, my problem is essentially this code fragment: [code=java]if(args[x] != "-") { valuesYouHave[x] = true; values[x] = Double.parseDouble(args[x]); }[/code] From my own testing I have deduced that the …

Member Avatar for wildplace
0
161
Member Avatar for BboyRodimus

So my instructor told us to submit our assignment which I've done. She has an online java compiler that checks if the answer is right. I looked at the report and it has the right outputs and everything and below is this that makes my answers wrong: Exception in thread …

Member Avatar for jon.kiparsky
0
111
Member Avatar for mahdi68
Member Avatar for DeIntegro

I understand that y = n ^ 4 will be pow(n,4)...but what about drawing the curve y = 1 - x ^ 4 y = (1 - x) ^ 4 y = 1-(1 - x) ^ 4 I appreciate your help. Thanks.

Member Avatar for DeIntegro
0
178
Member Avatar for glenak

Hi, I want to code a client/server app such that there will be one server and multiple clients interacting with the server. The clients will send messages, like "Hello, server," and the server will send messages back. I know how to write a simple client/server app, however im confused as …

Member Avatar for glenak
0
236
Member Avatar for letheredge

Hi. I have two files, one HTML/Javascript and the other JSP. They run on different servers. I need the HTML/Javascript file to communicate with the JSP. Basically, I need to run the HTML/Javascript, pass in a variable to the JSP, run the JSP, and pass a variable back to the …

0
40
Member Avatar for Katana24

Hi - what im trying to do is to create a way of centering an image on a frame no matter what the size of the frame. I have two classes: one called "Picture_Frame.java"; the other "MyImage.java" In the latter I get the image and paint it then call on …

Member Avatar for Katana24
0
2K

The End.