35,618 Topics
![]() | |
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 … | |
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) { … | |
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: … | |
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 … | |
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 ... | |
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 … | |
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; … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
javax.mail doesn't exit in jdk, right? how can i solve the problem? | |
Like the title sez, does anyone know a good way to take an Image and convert it into a BufferedImage??? | |
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 … | |
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 … | |
halleo can you help me to solve this question befor next monday thank you very much | |
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]); … | |
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 | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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? | |
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 … |
The End.