36,051 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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[]; … | |
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 | |
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 … | |
I would like to install java to my browser but don't know how. | |
[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 … | |
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 … | |
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. | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
/** * 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 … | |
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 … | |
[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! | |
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 … | |
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 … | |
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 … | |
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 | |
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! | |
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 … | |
Does anyone know where I can look at code for checkpinting Java applications? Any info would be very helpful. thanks. | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 | |
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 |
The End.