36,051 Topics

Member Avatar for
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
167
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
145
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
227
Member Avatar for ZHAustin

I read a previous post regarding pegged cpu and other associated problems. I followed that post, and it seems to have resolved the issue, but i just want to make sure it seems to be fixed. In regard to the two apps you had the poster download and run, the …

0
148
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
645
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
113
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
175
Member Avatar for b jackson
Member Avatar for Paladine
0
114
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
747
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
197
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
116
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
97
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
78
Member Avatar for camelNotation

Well i don't know what to do with this.I'm trying to go into some java chat rooms but messages say that my browser is not java enabled.How to enable my browser for java? When I installed microsoft visual studio 2000 the microsoft java vm replaced the previous versions and i …

Member Avatar for Gary King
0
163
Member Avatar for cbek

I'm working on this assignment ..... - Opened up a RandomAccessFile - Looped through the file, using a counter (int i) to find the number of entries in the file - Initialised array using int i - Read data into the array, line by line However, I cant work out …

Member Avatar for Paladine
1
81
Member Avatar for mclam

Determine what kind of hand of poker, the five cards are. For instance, if I have the following: Ace of Hearts Two of Diamonds Two of Clubs 10 of Spades 10 of Diamonds You would print out: Two Pair In general, a poker hand can be the following: 1 Pair …

Member Avatar for oberoc
1
179
Member Avatar for inachu

Now ever since he did this no applets run. OS is Windows XP Pro SP1(reapply sp1?) Would anyone know where to change this in the registry? I checked in HKEY local machine and also HKEY Local User. Both are set to 1 which means its enabled... Because of the custom …

0
105
Member Avatar for MyrrhLynn

Ok here is a program I am working on for an assignment. import java.io.*; public class Copy { public static void main(String[] args) throws IOException { File inputFile = new File("p1.txt"); File outputFile = new File("p2.txt"); FileReader in = new FileReader(inputFile); FileWriter out = new FileWriter(outputFile); int c; while ((c …

Member Avatar for Dynam1cz
1
495
Member Avatar for Bob4life2000

Hello, I have been working with Java for appox the last six months but I still am very un-sure of myself. I need help figuring out how to import one Java file to the current one running. I am using Jcreator LE as a source editor/compiler and I wish to …

Member Avatar for Bob4life2000
1
156
Member Avatar for antaeus

/** * Compares an artist string to this CD's artist to check if the * two strings match exactly (ignoring case). * * @param otherArtist An artist's name. * @return true if otherArtist and artist variables are the same * ignoring case (String comparison). */ public boolean equalsArtist( String otherArtist …

Member Avatar for Iron_Cross
0
144
Member Avatar for Bob4life2000

Okay in case anybody was wondering I solved the class call problem. Now I am trying to create a file for Enemy characters that will store appx 100 different Enemies and depending on the level of the main character apply different stats to those enemies along with a randomly selected …

0
113
Member Avatar for stariq

[url]http://www.cs.toronto.edu/~gfb/csc148/2003F/a2/[/url] is it that we've to make arraylists and then link them or ceate linkedlists nad in them create arraaylist and link linkedlists. please let me know if sample code just how to get started appareciate tht thanks a lot!

-1
129
Member Avatar for cmazurk

I'm looking for a Table of Contents JAVA script that allows 3 different images. #1 the "off" image #2 the "hover" image and #3 the "selected or clicked" image. I have script that allows me to do rollovers, I'd like to expand it so when an image is clicked on …

0
97
Member Avatar for spikes

Hi All, Can any one give me the code for closing a browser window. [code] function closewindow() { if (newwindow && !newwindow.closed) { newwindow.close() } } <input type="button" value="close" onclick="javascript: closewindow()"> [/code] this is what i have and it dont work. also, just a point, the first time i used …

0
98
Member Avatar for spikes

Hi All, i am using a combination of php and javascript on a current project, but i have got stuck. bellow is a sudo code page to try and explain what i am doing <js> function = newwindow() </js> <form> <?php echo field1> <?php echo field2> <inputtype=checkbox> onclick = submit …

0
97
Member Avatar for ragzz

Hi, I am doing Master's in Computer Science. I am trying to upload my applets made in Java 3d on web but I want all the users to see them even those who don't have Java, JRE, or plugin. Please help. Anurag

Member Avatar for Tekmaven
0
560
Member Avatar for Dani

Techtalk styles are back in full swing ... once again is the option between the flat and the 3D style. While the default remains the flat view, simply go into your profile to view the 3d version of the site! Enjoy!

Member Avatar for Dani
0
134
Member Avatar for red_evolve

Hi..I've been searching all around to find out whether I could submit an entry in a JTextField by clicking a separate button created (say, a "submit" button). It seems that, the value entered in the text field will only be appended if I press the Enter key. Can someone please …

Member Avatar for red_evolve
0
188
Member Avatar for whasian85

Does anyone know where I can look at code for checkpinting Java applications? Any info would be very helpful. thanks.

0
93
Member Avatar for theQube
Member Avatar for red_evolve

Hi, there! Anyone mind lighten me up on the above subject? I am currently developing a simple game in java. So I was in the process of deciding whether to use an applet or application to present it.

Member Avatar for red_evolve
0
174
Member Avatar for theQube

Hi. I'm in a Java class at harvard, and they gave us this assignment to create a function moveKiloMile(); , which moves an on-screen robot 1000 units. We can declare the function by using a function moveMile(); , which moves the robot 8 units. Below is the code that I …

Member Avatar for Dani
0
716
Member Avatar for Jedi

Hi im a newbie here!I wish to build a music website based around emec'in (MC'in)!The game would b built in2 the site! There r 3 wayz MCz can battle online: 1)Vocally!(MCs rap to the music over a mic)(I dont plan on doin thiz 4 my site yet) 2)Forum(MCz post thier …

Member Avatar for Jedi
0
293
Member Avatar for Mazon

I have CodeWarrior v7.0, an IDE for C++ and Java. I can get the C++ functionality working, however whenever I try and begin a Java project it gives me an error saying "Couldn't generate source code because Java Virtual Machine could not be started." I've installed the latest versions of …

Member Avatar for lohengrin332
0
227
Member Avatar for Ben Martin

first post! hello all. :) i'm in the process of converting some vbscript into jscript at work, and not being an expert when it comes to any sort of javascript (or c syntax generally) i am now stuck. specifically with the 'switch' statement. the application is a server-side api that …

Member Avatar for Ben Martin
0
291
Member Avatar for Fyrelion

Hi, I was wondering how you write to an Access Database using current Java versions. I've been looking pretty hard for awhile with a teacher and some friends, but so far we haven't come up with anything. Could you guys help me out? Thx [quote] [b]Never eat soggy waffles. They …

Member Avatar for Mayaka
0
296
Member Avatar for EricR1983

I'm trying to cast an Object to a type Procedure (a class I wrote) in order to access a method in the Procedure class. Problem is, Procedure is a subclass of Object, and it requires a run-time check to verify that the object that I'm trying to cast as a …

Member Avatar for Tekmaven
0
569
Member Avatar for danielpepper
Member Avatar for vyntage

Hi.. can anyone pls help me to write the source code to do the calculation for this: I am writing an applet Horoscope.java that will help people to calculate the chinese horoscope by entering their year, month and day of birth. Below is the following knowledge to share: There are …

Member Avatar for aeinstein
0
208
Member Avatar for b1n4ry

Does JavaScript have any uses anymore? I took about 6 months learning it, and I can't find anything to put it to use.. (Never mind)

Member Avatar for Roberdin
0
837
Member Avatar for bebacha

I am building a JSP app running on Tomcat. The app uses an Oracle backend for data management and things like passwords and so on. There are several objects created by the app called cards. Each card will make use of different but similar groups of data, attributes of tables. …

Member Avatar for bebacha
0
351
Member Avatar for EricR1983

What is the best way to do the following? : I'm writing a test program for a family of classes that simulate bank accounts, and I need the test class to take a series of characters from the command line (the letters 'c,' 's' and 'm', specifically, in any given …

Member Avatar for malone1234
0
615
Member Avatar for boohoo

Thanx for everyone's reply. I'm more and more being put off Java, although it looks like a good language in practise, the way it looks as a GUI doesn't appeal. Anyone know of a good free C++ IDE ? I have tried Devc++ from bloodshed, but it wont let me …

Member Avatar for Bob
0
862
Member Avatar for Paladine

Ok, Linux is suppose to be all powerful, or so they say... but what a pain it is to get things back to a normal...anyhow that is not why I am writing this post. How do you install Forte for java 4 on linux if it is for linux? I …

Member Avatar for Dani
0
303
Member Avatar for theQube

It seems as if the AP Computer Science course next year is to be given in Java. Since I'm not really experianced with it, and I'd like to take the class, I figured I might as well start early and learn Java now. So, first, I'm wondering what sort of …

Member Avatar for samaru
0
454
Member Avatar for samaru

I'm currently working on a project using Java Server Pages, XML and Oracle. I've worked with Java in the past, but have not worked with JavaServer Pages (currently still learning). It doesn't seem that bad, just tedious work - more code to initiate DB connections, and other processes compared to …

Member Avatar for aeinstein
0
791
Member Avatar for aeinstein

does 1 need to learn Java b4 pickup up Java 3D, or is a) Java 3D more of an IDE, or b) is it akin to Java's relationship w/Javascript - basically none?

Member Avatar for samaru
0
278
Member Avatar for samaru

In doubt if Java is capable of handling 3D environments? Check this out: http://www.brackeen.com/home/scared/ Here are more links: http://www.geocities.com/jht2k/javamazelinks.html

Member Avatar for samaru
0
412
Member Avatar for ffwd

If you ever wanted to create 3d apps or 3d games, add didn't knew where to start, you will be happy to know that you can do that and a lot more with Java 3D. Java 3D API is an extenstion to the JDK, you can find info about downloading …

Member Avatar for samaru
0
358
Member Avatar for Tekmaven

Hey guys.. Whenever I click the chat for this board it starts the java applet.. and then 1-2 seconds later my computer reboots. Im using Sun JavaVM 2 v 1.3.1_01

Member Avatar for AlPhA
0
161

The End.