36,051 Topics

Member Avatar for
Member Avatar for StephNicolaou

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 …

Member Avatar for StephNicolaou
0
238
Member Avatar for Teachme

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 …

0
57
Member Avatar for Parsu7

Is it necessary to write a corresponding servlet for each JSP page in case of MVC Architecture?

Member Avatar for Parsu7
0
105
Member Avatar for javagurlush

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 …

Member Avatar for peter_budo
0
317
Member Avatar for Alphard

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 …

0
58
Member Avatar for jimJohnson

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 …

Member Avatar for whoost
0
292
Member Avatar for jimJohnson

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 …

Member Avatar for jimJohnson
0
95
Member Avatar for marcosjp

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 …

Member Avatar for marcosjp
0
158
Member Avatar for jcato77

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 …

Member Avatar for jcato77
0
150
Member Avatar for nikk

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 …

Member Avatar for nikk
0
182
Member Avatar for Geekerz

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 …

Member Avatar for StephNicolaou
0
126
Member Avatar for abhi287

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 …

Member Avatar for javaAddict
0
159
Member Avatar for TofiLuk

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 <-- …

Member Avatar for darkagn
0
83
Member Avatar for rogelioz

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 …

Member Avatar for rogelioz
0
118
Member Avatar for tnagarjun

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 …

Member Avatar for orko
0
108
Member Avatar for jcato77

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 …

Member Avatar for VernonDozier
0
134
Member Avatar for jeffburns75

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 …

Member Avatar for VernonDozier
0
79
Member Avatar for venomlash

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...

Member Avatar for jasimp
0
101
Member Avatar for shweta797

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

Member Avatar for ~s.o.s~
0
131
Member Avatar for Venks

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..

0
69
Member Avatar for nireekshan

hi i want to use database MS-Access, how to connect the jsp to Ms-access, plse send code

Member Avatar for ~s.o.s~
0
127
Member Avatar for ank_arsenal
Member Avatar for darkagn
0
96
Member Avatar for Noliving

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 …

Member Avatar for darkagn
0
87
Member Avatar for torbecire

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 | …

Member Avatar for darkagn
0
102
Member Avatar for hidash_in

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. …

Member Avatar for jwenting
0
90
Member Avatar for mag07009

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 …

Member Avatar for jwenting
0
123
Member Avatar for RebelScum

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 …

0
54
Member Avatar for srinivasrk

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; …

Member Avatar for Phaelax
0
129
Member Avatar for Rajpatel

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

Member Avatar for jwenting
-2
73
Member Avatar for Shana8426

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 …

0
57
Member Avatar for StephNicolaou

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 …

0
110
Member Avatar for StephNicolaou

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" …

Member Avatar for StephNicolaou
0
143
Member Avatar for degamer106

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 …

Member Avatar for darkagn
0
105
Member Avatar for degamer106

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 …

Member Avatar for javaAddict
0
119
Member Avatar for banditt_77

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 …

0
60
Member Avatar for nireekshan

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 …

Member Avatar for jwenting
0
87
Member Avatar for ravicsit

anyone is there to help me paint should using the photoshop tools by editing the images

Member Avatar for jwenting
-2
93
Member Avatar for spywx2003

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

Member Avatar for Ezzaral
0
83
Member Avatar for StephNicolaou

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 …

Member Avatar for Dukane
0
202
Member Avatar for nireekshan

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

Member Avatar for masijade
0
110
Member Avatar for hgedek

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.

Member Avatar for jwenting
0
74
Member Avatar for new_2_java

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. …

Member Avatar for new_2_java
0
2K
Member Avatar for Robtyketto

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 …

Member Avatar for jwenting
0
70
Member Avatar for rushi bhatt

hey yar ... ->please help me... i want to know how to get dir list from ftp-server. ->please send me code..

Member Avatar for jwenting
-1
38
Member Avatar for Dio1080

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 = …

Member Avatar for Ezzaral
0
94
Member Avatar for katharnakh

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 …

Member Avatar for katharnakh
0
118
Member Avatar for ramjeev

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.

Member Avatar for vidaj
0
103
Member Avatar for k_en

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 …

Member Avatar for masijade
0
65
Member Avatar for bobweir

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"; …

Member Avatar for masijade
0
179
Member Avatar for crazydeo

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 :" + " " …

0
59

The End.