36,051 Topics

Member Avatar for
Member Avatar for quezl

Hey everyone, Got a problem with my cousin's pc. I came over for the holidays to find her laptop very slow. I can see she has voluntarily loaded Weatherbug, which I know is no good. Also, I get lots of popups, some kind of toolbar in IE, and every 5 …

Member Avatar for DMR
0
178
Member Avatar for africanhind

Hello, I’ve become a member here just about five minutes ago and honestly I can feel I’ll get a great help from you, and that what I hope. I’m on my final year in School of Math. Department Computer Sciences, And I’m really in need of a graduation project proposal. …

Member Avatar for server_crash
0
305
Member Avatar for luisator

I wanted to know what do I have to change in the SAxparseryFactory code to make it work in an windows xp OS. It is not working and I think I have to modify something of this code to make it work....please HELP ME!!!!

Member Avatar for luisator
0
100
Member Avatar for George2

Hello everyone, Does anyone know where could I find open source OMA Device Management client? thanks in advance, George

0
65
Member Avatar for Java John needs

Hey to everyone out there. I am new to this and seeking assistance with a java program assignment. if anyone can help let me know. The program is completed all I have left is to produce accurate output of a students grade. Here is the code: The code is supposed …

Member Avatar for server_crash
0
308
Member Avatar for scb10

i have this string SD125,SD478-SD478 SD147 i need to separate,but i need to know which delimeter i use becouse i did this StringTokenizer sd = new StringTokenizer(fileStringSD, ", -"); while (sd.hasMoreTokens()) { String cad = sd.nextToken(); system.out.printl (cad); } it separetes and i get SD125 SD478 SDSD147 THE TROUBLE COMES …

Member Avatar for scb10
0
118
Member Avatar for ultimate_fusion

I have two classes. block and main public Block(Stage stage) { super(stage); //fill array where[t][s]=i; i++; system.out.println(where[t][s]); } and the main. the problem is I create an instance of the class block and I know it runs because I put a system.out there and the I a list of printed …

Member Avatar for ultimate_fusion
0
150
Member Avatar for Bob Bamburg

Help... I have just been presented with the responsibility of supporting a JSP application. The person who was handling EVERYTHING has left us (Rest his soul) and did not leave any documentation. The first thing I need to do is create a backup server and copy the application to it. …

Member Avatar for jwenting
0
124
Member Avatar for stupidenator

Hey all, Does anyone know if it is possible to send email through a java applet? Thanks in advance. Nick

Member Avatar for stupidenator
0
145
Member Avatar for rishiraj_bayerd

hi all, when i am going to run a servlet through internet explore,i got a error message "resource not available". I use apache Tomcat 5.5 and jdk1.5.0. CLASSPATH of the CATALINA_HOME and JAVA_HOME are all right. What is the cause behind it? thanking you rishi

Member Avatar for server_crash
0
122
Member Avatar for sparkette

Hey guys. I was told to do an assignment, to demonstrate how a high priority thread gives a low priority thread a chance to run using the sleep function. The assignment has already been submitted and already graded. The following code when compiled not only creates a ThreadSleep.class file, but …

Member Avatar for sparkette
0
109
Member Avatar for freesoft_2000

Hi everyone, I am trying to print something but i need to ask something really so bare with me a little while You know that for printing something using the java printable interface you would have to overide this method [code] public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) { …

0
66
Member Avatar for zoned

Hi all, I have spent a long time trying to get this sorted. I have searched high and low to get an answer. I hope one of you experts can help :mrgreen: I have a gif on a webpage (a chinese flag). When someone clicks on the gif they are …

0
57
Member Avatar for hisrichness

Hey, I have to write a Java program that implements a sorted linked list to be able to count the number of chars and words in an input file. would any1 be able to help me please? Thanks

Member Avatar for jwenting
0
122
Member Avatar for razibcse

Hi, I have a project on peer-to-peer file transferring...Now I don't have any clue how I can use just the IP address of a computer to search for files in different drives...I have used socket object to create clients...now I have the info of only IP address and port number …

Member Avatar for jwenting
0
96
Member Avatar for mike1980

Tryin to get the "Division by zero not allowed" part working ca someone help please :cry: [PHP] import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.applet.Applet; public class JDivideMe extends Applet { private TextField numeratorField = new TextField( 10 ); private TextField denominatorField = new TextField( 10 ); private Label theAnswer …

Member Avatar for mike1980
0
223
Member Avatar for bsunkel

Heya all, I have a small problem. I have created a phonebook program for myself. I am using MySQL to store all the data. Just the usuallly stuff like name, tel No, address etc. I have about 400 entries in MySQL. ON MY SEARCHING MENU: I use a JTextfield to …

Member Avatar for server_crash
0
79
Member Avatar for George2

Hello everyone, When exceptions occur in constructor so that the instance of the object can not be created, should we throw the exception to the invoker of the constructor or simply catch the exception (and not throw it again)? I think we should not catch the exception (and not throw …

Member Avatar for George2
0
179
Member Avatar for luisator

Hi everyone: I am running an java application in a windows xp toshiba computer. My application works fine in an windows 2000 compaq deskpro computer but in the toshiba one I get a strange exception. I think the problem is something with the parser and that makes the second error …

Member Avatar for freesoft_2000
0
294
Member Avatar for tomank

My knowledge of java is zero - I program in VB, however I have just got hold of a bluetooth mobile phone, and since it runs java apps it got me to thinking... In a nutshell I want to use the phone as a remote control for windows media player …

Member Avatar for freesoft_2000
0
369
Member Avatar for robertmidkiff

I have been browsing the internet trouble-free for the past several days, but yesterday after I restarted, I could no longer access web pages through Internet Explorer. Mozilla Firefox is still working fine, but every page I attempt to visit with IE returns the standard "The page cannot be displayed" …

Member Avatar for robertmidkiff
0
166
Member Avatar for ili82

I created geographic map with different kind of deposits on it. I want to make it so that when the user moves the cursor over particular deposit, a label to appear (with some info about the deposit in it). How can I do that? Can somebody help me, please... Any …

0
95
Member Avatar for ultimate_fusion

i want to name a item and give it a color(probs an int value) i was thinking of doing a 2d array but I need to send it to another class i create the item by Monster m = new Monster(this); any ideas

Member Avatar for Phaelax
0
81
Member Avatar for NewbyChic

I am having some issues learning inheritance. I have stumbled across this example in my book but it has got me floundered. I am not expecting a resolution to this but maybe a little push in the right direction. I need to write an inheritance hierarchy for classes quadrilateral, trapezoid, …

Member Avatar for Phaelax
0
218
Member Avatar for vajwee

Non of the java programs which used to run fine in my computer has stopped running. There are no errors in da programs as they still run fine in other computers. All programs gives the folllowing error "Exception in thread "main" java.lang.NoClassDefFoundError" I set my classpath and the path fine …

Member Avatar for vajwee
0
464
Member Avatar for rkaradi

I have the ABI Network virus/trojan horse and I can't get rid of it completely. I have run Ewido in safe and reuglar mode, Ad-Aware 6.0, Spybot, MS AntiSpyware and Symntec to nocomplete avail. I have web links downloaded automatically, and I have pop up and new web pages open …

Member Avatar for DMR
0
565
Member Avatar for animesh
Member Avatar for server_crash
0
94
Member Avatar for grajeshmsc

I'm working on a project that requires users logging on using windows authentication. How do I go about this. This application is JSP-Struts.i can able to get the user name by System.getProperty("user.name"); But i can i get the password.PLz help.Thanks in advance. with luv Rajesh G

Member Avatar for grajeshmsc
0
320
Member Avatar for freesoft_2000

Hi everyone, I am currently trying to print a multipage JTable but the the thing is on the left hand side of the JTable does not have any grid lines and i have tried to draw a rectangle around the jTable before printing it but nothing is happening. Another thing …

Member Avatar for freesoft_2000
0
189
Member Avatar for frankcs

guyz.......total newbie to servlets stuff......... have got few java files and their corresponding class files.....don't know where to put those files in the tomcat directory structure............ i have put the html files in the root directory....... the html file is working but the file can't retrieve the servlet............guyz plz help …

Member Avatar for techniner
0
179
Member Avatar for paradox814

i hear that java is supposed to be very secure and it has all these security features yadda yadda yadda, but my question is: if you can decompile the program modify its content and recompile it, then how can java be secure?!? I am asking this because I need to …

Member Avatar for happyshub
0
130
Member Avatar for sam1

hi does anyone know what this mean? SWT.error(SWT.ERROR_NULL_ARGUMENT); is there another virsion of this to write?

Member Avatar for sam1
0
108
Member Avatar for ultimate_fusion

I am starting to make some java games and I think i have sorted out the collision side of things ( i have made a space invaders game) so i know how to shoot and kill enemies. I am now wanting to stop players/monsters going through walls etc? p.s. what …

Member Avatar for ultimate_fusion
0
179
Member Avatar for freesoft_2000

Hi everyone, I am currently trying to add values to an element spec array dynamically. This is what i am trying to do [code] SimpleAttributeSet start = new SimpleAttributeSet(); start.addAttribute(AbstractDocument.ElementNameAttribute, "start"); SimpleAttributeSet end = new SimpleAttributeSet(); end.addAttribute(AbstractDocument.ElementNameAttribute, "end"); DefaultStyledDocument.ElementSpec esStart1 = new DefaultStyledDocument.ElementSpec(start, DefaultStyledDocument.ElementSpec.StartTagType); DefaultStyledDocument.ElementSpec esStart2 = new DefaultStyledDocument.ElementSpec(start, DefaultStyledDocument.ElementSpec.StartTagType); …

Member Avatar for freesoft_2000
0
145
Member Avatar for nccliang

Hi guys , i met with another problem and it goes like this I had a com application , i uses JIntegra to wrap the com object and now i have 8 java classes . Then i created my own java class , to create object of their classes in …

Member Avatar for nccliang
0
154
Member Avatar for vex

8.10 Sum of series Write a program to calculate and display the sum of the series: 1 - 1/2 + 1/3 - 1/4 + ... Until a term is reached that is less than 0.0001 I do not need help with the code! What comes next in the series? Is …

Member Avatar for server_crash
0
197
Member Avatar for Shanrak

I am trying to use the stringtokenizer on input strings containing the " character, but stringtokenizer seems to treat that as the end of the string. For instance, "a cat is /"not/" a dog" should return the tokens a, cat, is, "not", a, dog but instead it returns a, cat, …

Member Avatar for server_crash
0
296
Member Avatar for stupidenator

Hello Everyone, I recently have been getting into the python language and noticed that there is a portable python that you could save to something like a flash memory card and then you could write and run python programs on any computer without having to install anything. I am wondering …

Member Avatar for server_crash
0
225
Member Avatar for ! !

[url="http://www.javaworld.com/javaworld/jw-05-2005/jw-0523-anniversary.html"]http://www.javaworld.com/javaworld/jw-05-2005/jw-0523-anniversary.html[/url] [url="http://java.sun.com/features/1998/05/birthday.html"]http://java.sun.com/features/1998/05/birthday.html[/url] [img]http://java.sun.com/features/1998/05/images/green.bbq.jpg[/img][indent][i][QUOTE] [/i][i][i][font=Arial][color=dimgray]This is a snapshot taken at a barbecue that James Gosling threw for some of the folks associated with the Green Team. From left to right they are: Al Frazier, Joe Palrang, Mike Sheridan, Ed Frank, Don Jackson, Faye Baxter, Patrick Naughton, Chris Warth, James Gosling, Bob …

Member Avatar for server_crash
0
112
Member Avatar for Dark_Omen

Hello, I created a program from a book I am reading on java. The program is using swing to make a frame that shows buttons. It compiled without any error, but I ran into an error while trying to run the program. here is the code: [CODE] import javax.swing.*; public …

Member Avatar for Dark_Omen
0
143
Member Avatar for nilesh

I am developing a J2ME application for Nokia 6630. In which I'm trying to play audio (.mp3 & .amr formats). I use " player.stop(); " to pause audio. But when I try to resume audio, Player strarts audio from beginning. import java.io.*; import javax.microedition.lcdui.*; import javax.microedition.media.*; import javax.microedition.media.control.*; import javax.microedition.media.PlayerListener.*; …

Member Avatar for server_crash
0
131
Member Avatar for scb10

i need a code that allows me to take an array search it on another txt file and replace the new string with the string after the (,) and save the changes in a new file. how do i do that???? i have this: file1.txt sd00100 test on 24 ago …

Member Avatar for freesoft_2000
0
102
Member Avatar for Kimmy

Hello Everyone..... Im very new to the forum. I actually stumbled upon it looking for answers to a computer issue and hopefully I'll meet a few friends along the way. My name is Kimmy and Im from Northeast Pa. Im 38, married for 18 years and have 3 wonderful boys …

Member Avatar for belama
0
35
Member Avatar for nccliang

hi guys , i have a query if some group of people are using the same java application and are connected via LAN . It is like in the java application , i want to expose other people ip address , so that i am able to send message via …

Member Avatar for freesoft_2000
0
183
Member Avatar for maverick_79in

Hi, Well i am new to these forum as well as IT field.But i was looking for a right form to post up my add for help. I am an Aerospace student from scotland dont knwo much about IT. I have been assigend the IT Project from the university to …

Member Avatar for freesoft_2000
0
219
Member Avatar for jigvesh

I wanted to know that is it possible to change the background of a frame and put an tiled image as the background instead? If yes, then how??

Member Avatar for freesoft_2000
0
87
Member Avatar for nccliang

Hi guys , i was wondering how could you create your own UDP ports in java ? To be more specific , its like i have a communication application in java which i can use it to interact between different computers in LAN . However this application usto transmit data …

Member Avatar for server_crash
0
97
Member Avatar for Ghost

Hi everybody! Is there a way to compy an Image to the clipboard. I think you need to use Toolkit and transferable. Thanx!

Member Avatar for freesoft_2000
0
182
Member Avatar for Ghost

Hi! Is there a way to interact with the microphone attached to a computer (e.g. record the sounds)? Thanx!

Member Avatar for freesoft_2000
0
289
Member Avatar for heaney37

HI there, sorry, this is an incredibly basic problem, its just confusing me no end - no previous programming experience and trying to get my head round java - i have followed some guides for the source code and have came up with the following to display 'welcome to java!' …

Member Avatar for kirrz
0
125

The End.