35,618 Topics

Member Avatar for
Member Avatar for darklich13

Can somebody please help my try to understand how to add an equals method to my Person, Purchase, and Customer class? I am very new to Java and I can't figure out how to call the equals test from main and have it reference to the other classes. Any help …

Member Avatar for Ezzaral
0
388
Member Avatar for nelson13

Can some one help me??? I'm doing a basic Java course and need help with this code I'm trying to get this line to work but keep coming back with a "'.class' expected" I have tried different combinations but nothing is working for me. public void paintComponent (Graphics page) { …

Member Avatar for nelson13
0
679
Member Avatar for CelestialDog

Hi guys, i'm in the process of learning Java and so far i'm really enjoying it. However i've hit a small problem. I have two seperate classes, one class creates the swing user interface and the other handles the connection to an irc server. Here is the User interface class: …

Member Avatar for CelestialDog
0
177
Member Avatar for mayur sahay

hi.,.. i am working on aproject which codes a image into acompressed format and then sends it over a network an decodes it at the client side.. The coding technique i have to use is RADON TRANSFORM. now i f any one can help me with this problem please do …

Member Avatar for mayur sahay
0
75
Member Avatar for mayur sahay

hi everyone In a image processing software i have to convert a matrix of pixel values 2D.into the image .can any one help me out with this..this part has been the most frustrating part of my project ...

Member Avatar for masijade
0
89
Member Avatar for ramp12

I am trying to write a piece of code that will search an existing array of usernames and see if the name entered by a user (which will be in a prompt box) is in that array of user names and if so then ask them for their password. I'm …

Member Avatar for javaAddict
0
96
Member Avatar for luxmi_gee

hi i created a custom tag for database connections,sql... but doesn't work. can any one help me to solve that or any one know how to create customtag for db means plz help me. if u have coding for that plz send that. codings: 1.tag handler program (db.java) [code=Java]import java.io.IOException; …

Member Avatar for luxmi_gee
0
152
Member Avatar for Visualogic

sorry for annoying, i am quite stupid in it. [code]<html> <head> <title>Welcome to the online Auction...</title></head> <body> <% try { String strUsername = request.getParameter("username"); String strPassword = request.getParameter("password"); Class.forName ("mysql-connector-java-5.0.8-bin"); Connection myConn = DriverManager.getConnection("jdbc:mysql://localhost/user.jsp,admin,admin"); Statement myStatement = myConn.createStatement (); String strSQL = "SELECT UserName,UserPwd from user where UserName="",UserPwd=""; ResultSet myResult …

Member Avatar for Visualogic
0
198
Member Avatar for scorpionz

Hi This is Scorpionz... Is there anyone have any idea ...Regarding Work Flow System in Java Web Application.... Any Response Will be highly appreciated with great Thanks Regards ScorpionZ

Member Avatar for scorpionz
0
157
Member Avatar for kimbostun

i want Use the 2 text files boynames.txt and girlnames.txt Prompt the user for boy or girl and then for a letter from the alphabet. Open either boynames.txt or girlnames.txt and read each line in – when the name starts with the letter that the user specified then write the …

Member Avatar for Compton11
0
175
Member Avatar for TheWhite

Hi again. I'm trying to get Java to recognize the action of pressing both mouse buttons in the same time. I did some research and I found that Event.getModifiersEx() can help me do what I want, but I can't figure out how to implement it the correct way. Event.BUTTON1_DOWN_MASK is …

Member Avatar for Ezzaral
0
390
Member Avatar for TheWhite

Hi again. I'm trying to recreate the digital timer in Minesweeper: Top right ----- [url]http://www.uberreview.com/wp-content/uploads/506x363-minesweeper.jpg[/url] 000 -> 002 -> ... -> 009 -> 010 -> etc... I couldn't think of an easier way to do it except to create an Icon for each number and match it to it's corresponding …

Member Avatar for TheWhite
0
98
Member Avatar for emmy128

Hi, I am using adobe acrobat 8, and im trying to get a text box on page 2 to be automatically filled with the same value that's selected from a combo box on page 1. How can i program this? I am new to Java, and i need help with …

Member Avatar for peter_budo
0
112
Member Avatar for a_iyer20

Hello, I have a requirement to fetch data from a database and store into another database. More explanation goes as follows: I have a web application deployed on an application server. The JDBC connection fetches data from a oracle database. Now I have a need to fetch data from a …

Member Avatar for jwenting
0
102
Member Avatar for NycNessyness

Currently having a problem with adding data so that if someone selects something like an add button, it keeps adding the data, like a person's name, age and grade. Then when they select Enter, all the data they added will display in a data file. The problem I'm having is …

Member Avatar for NycNessyness
0
158
Member Avatar for wujianwei
Member Avatar for peter_budo
0
87
Member Avatar for venomlash

Like the title sez, does anyone know a good way to take an Image and convert it into a BufferedImage???

Member Avatar for peter_budo
0
98
Member Avatar for smmustakim

Hi! everybody. Unable to get the correct fourier image of a simple sinusoid image. The java code is mentioned below. Appreciate help. Thankx. void freq_spect(){ double F[][][]; double FX[][]; double f_r[]; double f_r1[]; double NNN[][]; double Four[][]; int fxy[][]; int wd=new_img.getWidth(); int ht=new_img.getHeight(); F=new double[wd][ht][2]; Four=new double[wd][ht]; FX=new double[wd][2]; f_r=new …

0
48
Member Avatar for javaAddict

I will briefly explain my problem: I have a while-loop and inside I call some methods. Inside one of the methods I have this error: java.lang.[B]NoClassDefFoundError[/B], which is been caught and the while continues. The problem is that a few seconds later as the while keeps running the same method …

0
82
Member Avatar for mareia

halleo can you help me to solve this question befor next monday thank you very much

Member Avatar for peter_budo
0
24
Member Avatar for nschessnerd

i basically have a long array i want to copy to another array object. does this copy by refrence? i know java doesnt do refrences but i read somewhere it would pass by refrence. [code='java'] char[][][] data=new char[numFiles][][],data1=new char[numFiles][][]; for (int i = 0; i < numFiles; i++) { data[i]=split(files[i]); …

Member Avatar for nschessnerd
0
115
Member Avatar for luxmi_gee

hi how to display the content of one jsp page into another jsp page. how to add more than one jsp page in a single page. thanks

Member Avatar for guymanbuddude
0
121
Member Avatar for islam nigm

I'm using the netbeans software to create my web application i have created the custom tag and bean classes after that i should make the jar file to embed it in my web application but i could't create that jar file in any way plz help me to get this …

Member Avatar for mbazs
0
132
Member Avatar for Mr.UNOwen

Hello, I created two classes, one extends JButton and the other extends JPanel. In both cases, both overrides the paint method. Basically I'm extending JPanel so I can place an image as the back ground. The issue I'm having is that every time the button is drawn, if it's drawn …

Member Avatar for Mr.UNOwen
0
253
Member Avatar for shobha1335

When I select one city out of many from dropdownbox and submit it will store in database, when updating the form iam displaying the same values from the database, so how I have to display the selected city in the dropdownbox from the database in jsp. Please help me out …

Member Avatar for ~s.o.s~
0
53
Member Avatar for coolian

Has anyone here managed to integrate NetBeans 4.0 with VSS 6.0? I am only able to see the projects I've added under the "Versioning" tab (in NetBeans), and not from VSS. Also, when I refresh the list, this is the error I keep getting: Command "Refresh" has failed. Execution string: …

Member Avatar for Ezzaral
0
203
Member Avatar for herat_000

hi... i m beginner...and i m having trouble with following code:and the problem is that when i try to input name then it is taking blank...like... i m first asked value of n if i enter 2 then it automaticaly goes to acc type .....not taking name... import java.util.Scanner; class …

0
44
Member Avatar for samarinder

HTTP Status 405 - HTTP method GET is not supported by this URL I m getting this error when i m clicking on logout button here is the code for it............. import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; public class LogoutServlet extends HttpServlet{ public void …

0
80
Member Avatar for Karkalash

Hi: I made a simple game using java and I would like to know if there's anyway that I can make the file an executable so that my little game runs on the command windows so I can share with my friends?

Member Avatar for unitechy
0
74
Member Avatar for cacorat

I keep getting an error where the symbol cannot be resolved and the arrow pointing to where i have written statement.ExcecuteUpdate Am not able to insert any data into my database, can anyone see where i may have gone wrong. thanx heres the code: <%@ page import="java.sql.*" %> <%@ page …

Member Avatar for masijade
0
354

The End.