36,051 Topics
![]() | |
I have had to repaint a couple of times because of a moving shape I have added to my program whenever the mouse is clicked. I also have a moving shape that follows the mouse over a grid as well which doesn't help a lot, could you please tell me … | |
hi all: can anybody help me with the following? i'm developing a bluetooth application using c# which will run on the pc, it searches for bluetooth devices in range and sends a msg to the first one it finds.. i managed to do the searching code and to find devices … | |
Is it necessary to write a corresponding servlet for each JSP page in case of MVC Architecture? | |
How To Filter Invalid(vulgar) words in JSP? when data was entered to a textbox it must not contain vulgar or bad words.The event is processed before data is saved and posted. Do I need to specify each word or there are some shortcuts for it? Can you give me a … | |
Hi guys!!! I'm a nineteen-year-old student from the Philippines and I'm really new at programming Java. I'm having difficulties how to solve a problem that our professor made. Her restrictions are the following: Assume the following rules of precedence for expressions: Highest is addition (+) then subtraction (-) then multiplication … | |
I have never posted anything in here for java so if I don'tuse the code tags right I apologize...anyways I compiled an assignment in text pad and have a ton or errors and I was wanting to know if it is something minor or I am really that stupid...thanks Here … ![]() | |
Kind of an odd question...I need to get textpad and all semester I have not needed it because I just use the one at our campus computer lab but it is closed today so this is what I did...I downloaded the latest text pad and then went to java.sun.com to … | |
Hi there! I'm new to Java and just arrived at this forum. I hope I can get some help here - getting a little desperate. Well, I have to develop a small game in Java and in this game the user must be able to click on different spots on … | |
I am having trouble figuring out my code and was hoping someone could point me in the right direction. Below is my code what I need to due is create a method to add and display the value of the entire inventory. I have what I think is the correct … | |
Hello friends, i've a "editAccount.jsp" page wherein i accept various details from users. And then check their input (Eg. Email field should not be blank)through a function in javascript. But my JSP does not check the input and directly stores the values in database(even if email field is empty) I … | |
Hi there, i'm from Malaysia. first of all, i would like to say that I'm quite bigginer in Java programming. However, I had released my own virus based on Java last month. I feel too stupid to release it. So, I need your help to open the door for me … | |
HI I m using excel as a database.. In my DB i m having fields name and some value assigned to each name.. Now on my jsp page i m generating an array of names by some processing.. Now what i want is to access the names from the DB … | |
I have a code that has a denomination like: Example change is 2,830.50 // Output ** Change ** 1000 - 1.0 <-- how can I make this just 1 but not 1.0 w/o using "int" (double is required). 500 - 1.0 <-- 200 - 1.0 <-- 100 - 1.0 <-- … | |
Hi, I'm trying to save some data taken from a ISO-8859-1 encoded page into a SQL SERVER 2005. The problem I have is that when I retrieve the information and put it in a XML there are characters missing. I'm using the URLEncoder.encode method to escape the "bad" characters from … | |
Hi every body, we have a JAVA web application to issued bus tickets throw Internet or Point to point connect to out data center.can any body help me to find the system info of client like Mac address, ipaddress or any othere unique information of client machine so that i … | |
I need help with a class project I'm working on, Below is my assignment and the code I have currently created. Assignment: Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product you chose (for the DVDs subclass, you … | |
Hello all. I have am currently working on a assignemtn and i am having trouble with calculating the prime number, which the user can enter. I am also having trouble with returing to the begining of the code if the user does not select one of the options available to … | |
Does anyone know how to draw an image or play a sound from file? I imagine there is (are) a library (libraries), but I can't find them... | |
Hi I have a problem in upload file using jsp.At localhost it is working file but at server when client upload a word document it is corrupted .A text file is uploaded successfully. Please Help | |
Hai, Iam using swing application for my project, i want to restrict by pressing windows key ant alt+tab key press , how to restrict?please help me.. | |
hi i want to use database MS-Access, how to connect the jsp to Ms-access, plse send code | |
| |
My question has to deal with the end part of my pseudo code. Basically the method I'm doing is taking the front name in the queue and moving it to the rear and making the next in line to be the new front in the queue, he recomended using E … | |
I am having trouble were to declare the abstract classes for Widget, Sport and Grommet. They are not being read in the main part of the program could anyone tell me where to declare them so that they will be read. [ICODE]/* * To change this template, choose Tools | … | |
hi, i want some help about POI file system. is it possible to open the word and excel file using poi file system. i have created ta new excel and word file using poi. but i am struggling to open the files using poi. plz help me. God Never Fails. … | |
Given the example of a car that has a color, weight, and can go forward, stop, reverse all at a speed that can be set as well as displayed. Give the names of what the instance variables would be and the methods with what return types and parameters. Also explain … | |
This is in the 1.6 Control Panel, although I have 1.5 and 1.4.2 installed as well. Windows XP. When I run the Control Panel, even from an Admin account, I make changes (such as turning on tracing, show console), but when I press Apply then OK, the dialog disappears, but … | |
Hi, Here I developed Instant Messenger Program. but in ClientTests.java is giving some runtime error. can anybody help me plz. Here I am listing all my four programs. 1. Server.java [code=java]package com.app; import java.io.EOFException; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.ServerSocket; import java.net.Socket; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; … | |
Hi My name is Rajesh and I am from US. Has anyone has developed stock trading system or fixed income product? in java or any other platform? share functionality or any documents please share. my email is <snip email> Thanks Raj | |
Hi I have to create an iterative insert for an avl tree and I have to use enumeration for my balance factors. My enumeration is enum balanceFactor {TILTS_LEFT, BALANCE, TILTS_RIGHT} Please help me. I have been struggling with this for almost 2 weeks. When I enter input such as 20 … | |
This is a connect four game and I'm trying to show the counter falling. What I have so far is this which is in a for loop: [code] while(fallingCounter == true && x[j][i] < playerTurn) { //Move the counter vertically down the grid's rows appearing to fall fallingCounter(); g.setColor(counterColour); //counterWidth … | |
Hi, I've followed the example in my lecture notes and it doesn't work! I want to add an image to a label and then add that label to my sub north panel. I want to do this with creating a new class...I'm not sure if I need an "image loader" … | |
The problem is that I have an ArrayList which stores objects that contain a Shape (actually a Composite shape like a Car) and (x,y) coordinates. Suppose I'm supposed to retrieve each object and the coordinates for drawing. My question is, how do I draw an Shape on the screen at … | |
I'm trying to put all the buttons (and their icons) into a single class. However, when I try to draw just one button in a frame, it doesn't show up. I can get it to be displayed if I instantiate the button in the same class as the Frame, but … | |
I have this program where I have use arrays to book room reservations in hotel, however I'm completely stuck on what I need to do if I wanted to cancel the rooms already and returning them to the array to be re booked. Here is part of my code. public … | |
hai iam nireekshan i have davalep the one Neu User Enter form in html .In this form Fillap After SUBMIB After Useing MS-Access in THis create New User ENtrey Fields table and i am using TomCat Server and write jsp code and my database name NIREE Table Name New User … | |
anyone is there to help me paint should using the photoshop tools by editing the images | |
if anyone can help me i need to create a JFrame that displays two text areas (JTextArea) in a grid layout (1 row, 2 columns), am not asking someone to do it for me but if anyone can help me with basics of JFrame that would be helpful thx | |
I have been trying to write simple return statements and print the result of the return. I have read books such as O-Reily and have used examples but find that the examples don't work either so I guess I just need human communication!! First I have tried this return method … ![]() | |
hi i am nireekshan iam using only jsp how to connect database in Microsoft Access Drived hi i want to use database MS-Access, how to connect the jsp to Ms-access, plse send code | |
I am beginner at java.I want to learn jdbc-oracle database subjects.By downloading jdeveloper and sqldeveloper I started but I couldnt connect database.So I want to start learning jdbc-oracle from begin.I need your advices.thanks. | |
Hi all, In my program I am using RMI call to a service in a remote host. My program runs without any exceptions from within eclipse, since I have all the packages and jar files in my build path. However, the program needs to eventually run from the command line. … | |
Greetings, Does anybody have any ideas or existing code how to make a ratings systems i.e. Users select 1-5 on a drop down box and it calculates the average from all the previous values, the system uses an MS Access database to store the data (Rating feild exists in the … | |
hey yar ... ->please help me... i want to know how to get dir list from ftp-server. ->please send me code.. | |
ok, i need help adding to a list after the list have been made. Its the only thing stopping me from getting this thing done, help please.... [ICODE]import java.util.Scanner; import java.io.*; import java.util.*; public class Dairy{ public static void main(String[] args){ Scanner keyboard = new Scanner(System.in); String [][] job = … | |
Hi, Im new to JAVA and i have a question. The following code compiles fine and executes fine. But if you assign [icode]c = '\29' [/icode], in the following code, the compilation fails. 1. How does JAVA interpret [icode]char c = '\21';[/icode] and [icode]char c = '\29';[/icode], as escape sequence … | |
Hi buddies, I m in need of IPC sample to communicate between two applications.I hav to start one app from another and I want to know whether the second is running or not.If any samples on Interprocess communication,please let me know. Thanks in advance. | |
i have basic java programming language but i am a bit confuse about java and j2EE and i hope i can find an answer here. My questions are as below: (1) [COLOR="Red"]What the different between java and J2EE?? [/COLOR] (2) [COLOR="Red"]Can i consider myself knowing J2EE because i know basic … | |
I'm working on a project that i can't seem to get done. when i try to write my constructors the compiler tells me it can't find the symbol. any idea why? here's the code. public class Student { String name= "XXX XXXX"; String studentid="XXXXXXXX"; String major="XXXX"; String studenttype="Invalid student type"; … | |
Hi, I'm a newbie at Java programming and was wondering how to align some text fields using the tab option aside from simply placing empty space to align for example: JOptionPane.showMessageDialog(null, "Type of Coffee Ordered :" + " "+ nameString + '\n' +"Number of Pounds Ordered :" + " " … |
The End.