32,204 Topics

Member Avatar for
Member Avatar for mayur_kulkarni

i want to access COM port . i want to connect mobile handset with pc and access it through COM port. how can i do it in java .

Member Avatar for jwenting
0
58
Member Avatar for StephNicolaou

I'm trying to show a dialog message if the user clicks a button and a text field is empty. [code=java] Action listener - if(event.getSource() == cmdSaveSettings) if(txtPlayerOneName.getText().equals(emptyText)) { JOptionPane.showMessageDialog(null, "alert", "Please enter player one's name", JOptionPane.ERROR_MESSAGE); } [/code] Ive add an action to listener to the button and the textfield: …

Member Avatar for masijade
0
209
Member Avatar for Sugarskull

/* DriverBuggy.java Source Name: DriverBuggy.java Date Written: 12/27/06 Written By: Annette Lege Revised By: Purpose: To identify and fix common syntax errors and one logic error in a Java program. */ import java.io.*; public class DriverBuggy { public static void main(String args[]) throws IOException { Buggy app; app = new …

Member Avatar for masijade
0
387
Member Avatar for mehmedovic

hello i need to create this thing its for my home work and i have no time to do it because i am taking 6 college classes and when i tried to do it i had no idea so i reread the chapter which it was suppose to be on …

Member Avatar for jasimp
0
154
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
233
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
55
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
102
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
57
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
287
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
93
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
152
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
146
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
123
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
157
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
81
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
112
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
106
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
132
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
76
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
100
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
67
Member Avatar for ank_arsenal
Member Avatar for darkagn
0
92
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
83
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
100
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
88
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
117
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
51
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
125
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
70
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
54

The End.