35,617 Topics

Member Avatar for
Member Avatar for comp_illiterate

:!: [size=4]My computer had a virus for months and i couldnt use it. it was called trojanhorse.exe or something like that. well, when my computer finally got fixed, my javascript stopped working and so did microsoft virtual machine. the error message says microsoft virtual machine cannot be found. class not …

Member Avatar for comp_illiterate
0
142
Member Avatar for elna

[size=3][font=Times New Roman]What parts of the client code if any need to be changed in a client-server system (i.e. code using sockets) if the server is moved and why? [/font][/size] [size=3][font=Times New Roman]What parts of the client code if any need to be changed in a system using RMI if …

0
81
Member Avatar for jilshi

i am creating my own web site using jsp. i plan to add 'chat service' like mirc or icq into my web site. how can i create the 'chat'? is there any third party software that i can use?

0
96
Member Avatar for 5334221234555

Ihave an application that is written using JSP and Java Servlet. Now I need to add more functions to the application. I need to allow the users to upload word files, and send it as email attachment. Please help. Thank you in advance for your help.

0
117
Member Avatar for clobbasaurus

[font=Comic Sans MS][size=4]Hi Everyone,[/size][/font] [font=Comic Sans MS][size=4]I am a student and I have been asked to make a program to create business cards. At the moment I have made a fully working application with file IO. The program basicly takes any input into the text fields and displays them on …

Member Avatar for BountyX
0
1K
Member Avatar for johnroach1985

there are two examples which are seperated by"-------" sign to use them just put them through a java creator.post for comments ------ "A rational anachist believes that concepts such as 'state' and 'society' and 'government' have no existence save as physically exemplified in acts of self-responsible individuals.He believese that it …

Member Avatar for Dani
0
143
Member Avatar for johnroach1985

well it actually works but the circle kind of slides instead of staying put.Help with the algorithm would be welcomed.(actually i need help:sad: ) ---------------------------------- import java.awt.*; import java.awt.event.*; public class hata{ public static void main(String args[]){ Pencere pen=new Pencere(); pen.setVisible(true); } } class Pencere extends Frame { int xcoor,ycoor,width,height, …

0
86
Member Avatar for sdr
Member Avatar for Nics

I am studying Programming and trying to get my assignment to work the problem is with the MAINTENANCE PART in red I can get it to work! Can anyone help!!!! public class Assignment2 { static final int TotalCans = 50; // The total number of cans avaliable static String Drinks[] …

Member Avatar for BountyX
0
142
Member Avatar for beginmatt

Alright i have the code [b]shapes[i][/b] Ahat would the equivalent of that be for a linklist named list? I tried [b]list.getdata(i)[/b] but it's not working. Can anyone help me?

Member Avatar for BountyX
0
71
Member Avatar for Iron_Cross

Ok, this is an extremely stupid question, and I feel retarded for asking, considering how much I've been studying Java. But anyways, here goes. Let's pretend I've created three classes, Class A, Class B, and Class C. Now in A I create an instance of Class B, let's call it …

Member Avatar for BountyX
0
114
Member Avatar for eltel1982

Hi there, I'm currently writing code for a translator. The task is to open a file from anywhere on my network, then display it and then allow to save the file. So far I have a window that allows a user to browse for a file, open the file and …

Member Avatar for Iron_Cross
0
191
Member Avatar for butterbloom

Don't know if you can help or not. I play a game called "literati" on Yahoo! The game applet is too small. I've never had a problem before on my other computers but I have a new Dell Laptop that is displaying the applet too small. Everything else seems okay. …

Member Avatar for BountyX
0
143
Member Avatar for Scotty72

Hi all, I have copied the following Java IO example from a manual: public class Act2_15 { public static void main (String args[]) throws java.io.IOException { int v = System.in.read(); System.out.println("Value read was " + v); } } but find that, when I compile and run it under bash, the …

Member Avatar for BountyX
0
134
Member Avatar for kalpana_shukla

Hi, I have a problem that my program is writing only single line from the dataset whereas I want to write whole data from the data file to be read and written on the screen. Somebody help me. This is my program: import java.io.*; import java.util.*; class QueryAnswering { int …

Member Avatar for BountyX
0
216
Member Avatar for Meldroz

[b][size=2][color=#7f0055]hey guys i need some help, i posted my assignment and also the code i have so far, i'm almost done i just don't understand how round robin part works. Write a fully documented class named Simulator that contains the main method that will simulate the system. [b]Your method should …

Member Avatar for BountyX
-1
218
Member Avatar for elna

[size=3][font=Times New Roman]Could anybody please tell me what is the advantage of declaring variables to be of an interface rather than class type?[/font][/size]

Member Avatar for BountyX
0
160
Member Avatar for Ron

I am very new to Java and I'm trying to write a Java program to read a ASCII text file, modify a field and save it. I'm not sure how to create the file definition so I can break out the individual fields. The records and fields are all fixed …

Member Avatar for Meldroz
0
163
Member Avatar for SRW2

I have lost all my java applications for some reason. I am using windows XP with internet explorer. I have tried to download a new Java VM from java.sun.com but I keep getting an error message that reads something like this, [b]unable to find URI(Uniform Resource Identifier).[/b] Can anyone tell …

Member Avatar for TallCool1
0
165
Member Avatar for cody_e

I need to loop the one sound so that the timer will make it so the sound will play then delay 5 seconds and then play again. My source code is: import java.awt.*; import javax.swing.*; import java.applet.AudioClip; public class Morning extends JApplet { private AudioClip rooster; private final int dealy …

Member Avatar for RC_Razor
0
144
Member Avatar for cbk

O.S Win 98. Just downloaded Internet Explorer 6 a couple weeks ago and cant enable java chat rooms now. When I try to log on to most chat rooms I get no error message except a colored square,circle,triangle inside a bigger square. I checked internet options -advanced section and java …

Member Avatar for TallCool1
0
222
Member Avatar for vyntage

I can't seem to get my applet running...Pls help me look at my source code: import java.awt.*; import javax.swing.*; import java.applet.*; public class ChineseHoroApplet extends JApplet { protected final static String names[] = { "Year of Birth", "Month of Birth", "Day of Birth" }; protected JLabel labels[]; protected JTextField fields[]; …

Member Avatar for xlogan777
0
644
Member Avatar for Bob4life2000

Ok please excuse my idiocy but, If I want to create an array of random sayings of mine, and then everyday call a new one randomly to be placed on my desktop how would I go about it? I am running windows XP

Member Avatar for CodeMasterFlex
0
110
Member Avatar for kait

Hi, I need to import a file with strings and integer values, and use each word i import as a seprate variable. I thought of using String Tokenizer to separate the words and make them 'tokens' but im not sure if that will make them variables and if it will …

Member Avatar for CodeMasterFlex
0
173
Member Avatar for b jackson
Member Avatar for Paladine
0
108
Member Avatar for Pegusus

[font=Century Gothic]Okay this is the problem I have been having:[/font] [font=Century Gothic]I recently had WindowsXP (service pack 1) installed on my computer[/font] [font=Century Gothic]I tried to then play a game on Pogo, told me, I needed to DL the JAVA, so went there, did the DL successfully, went back to …

Member Avatar for Monte
0
739
Member Avatar for Turbo

HI I have written a program that reads text from the input file and writes the text to the out put file. Im using the StringTokenizer to count the number of words in the input text file. The problem is that it reads only the first line but it does …

Member Avatar for Turbo
0
195
Member Avatar for camelNotation

i don't know which version of internet explorer i am using.i am using xp home 2003.i can't enter any chat rooms because an error message says that my browser is not java enabled.

Member Avatar for caperjack
0
113
Member Avatar for samtrephin

Hi, I am new to this forum..I need to know 1. if theres a DLL equivalent to xerces.jar 2. equivalent C# class to the CharToByteCoverter.java in sun.io package Thanx Sam

0
95
Member Avatar for numballs

okay, here's the deal. I'm still quite fresh to programming. My task is to create a program, that can draw any number of balls, and then make them bounce across the canvas. The part of the task I am stuck on is converting convert a method that draws two balls …

0
75

The End.