Hi Richard,
Basically what you want is to pass parameters into main (String [] args). I can see from your test code you know how to do it with other methods since you are passing parameters to the Test constructor.
As you can see from the method signature of main (String [] args), it takes...
Hi sm43,
There is no standard package in JDK 1.3 for javax.jdo, so you must place the jar file(s) for the package in the C:\j2sdk1.3\jre\lib\ext directory for it to be seen as an optional package by the compiler.
MarsChelios
Hi Alistair,
Unicode can be used in both AWT and Swing components, such as labels and whatnot. The Unicode id for the Greek Delta is \u0394. Other Unicode ids can be found here:
http://www.unicode.org/charts/
Hope this helps,
MarsChelios
Hi Kicket,
-but it didn't excute the code below either
Yes, it will. I tested it out and found the error is caught successully and prints out. Here is the tester class:
public class IOBTester {
public static void main (String[] args) {
int [] [] array = new int [10] [10];
try...
http://www.java.sun.com
You see, Sun made Java and host the API and tutorials on it, pretty much everything a new programmer needs.
Search on displaying images. That is all the help you will need, since you say you know how to do everything else. Also, searching the forum will probably net...
The Java Sun site has an extreme amount of information on Java and all its uses. In fact, it is a one stop shop for all Java needs. Also, the use of search engines like Google can increase the amount of info available. I suggest that you try these options so that you may better understand the...
Oxymoron,
It might be informative to let you know that the default equals (Object) from Object only checks whether the objects are the same, meaning both reference the the same instance, and not the internal data. This means that if you create 2 instances of Vacation or whatever it is you are...
He forgot to put his code in ... tags so the [i] in arrays are being used as italic. Oxymoron, always post your code between ... tags because most people won't bother to tell you've done it wrong. Repost!
MarsChelios
Hi HighlandJinx,
Here's some info that might be of help. The AWT class FileDialog has a method that excepts a FileNameFilter object, however the API states there is no implementation of this for Windows. I've found the easiest way to get around this is to set the filename to something like...
Hi sudeepta,
Unless I'm completely wrong, PHP is a server-side scripting language and so works on the server, not the client. If you want to communicate with an Applet try javascript, it can communicate with applets through its DOM.
Hope this Helps,
MarsChelios
Hi tab73,
You have not set the path to look for javac.exe. Read this to see how:
http://java.sun.com/j2se/1.4/install-windows.html#Environment
Hope this Helps,
MarsChelios
You are a little off, jfryer. Strings are highly weird when checking equality, and it depends how the String was made and how you check for equality.
Example 1 "String literal":
String someString1 = "MarsChelios";
boolean equals1 = (someString1 ==...
Hi brinker,
If you are not setting the text for the JTextArea using setText (String) in the while loop, then the JTextArea will never know it needs to update. I do not know what urlsCompleted, urlsToDo or urlErrors reference so I can't say further, but I believe this is your problem.
Hope...
someguy321,
Try here:
http://clash.apolyton.net/frame/index.shtml
It's a civilization type game in Java. Pretty advanced financial, political model, etc.
MarsChelios
Hi yorkeylady,
Any interests in particular? Games, Scientific Applications, GUI, etc. There are alot of groups out there loking for volunteers and I'm sure you have a preference that would match what they are doing.
MarsChelios
Hi jisoo32,
It's related to your posting. Code posted in threads needs to be surrounded by or to prevent the common usage of arrays and the code [i] from matching the italics tgml tag, which causes the code to appear in italics and difficult to read. Most people won't look at it if it's like...
Hi sperki, welcome to Java!
For each OS you will need the according JDK for it, all of which can be found at the Sun site, link below:
www.java.sun.com
You will need some way to write the programs, a text editor, IDE, etc, and a way to run them, command line or IDE. What you choose is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.