Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MarsChelios

  1. MarsChelios

    user input when calling class

    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...
  2. MarsChelios

    jdk 1.3 - compiler won't recognize javax.jdo

    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
  3. MarsChelios

    READ THE DOCUMENTATION

    I'm not paying you $50, Tarwn, and I bet you could write a neural network simulator with you're eyes closed. [smile] MarsChelios
  4. MarsChelios

    How do i display the delta symbol

    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
  5. MarsChelios

    Creating a Custom Comparator

    RTFAPI http://java.sun.com/j2se/1.4.1/docs/api/java/util/Comparator.html MarsChelios
  6. MarsChelios

    Array out of bond

    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...
  7. MarsChelios

    JFrame, Graphic, Menu

    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...
  8. MarsChelios

    Calling Java Applet Method from JavaScript

    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...
  9. MarsChelios

    why does Object.equals() fail to match two exactly the same Objects

    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...
  10. MarsChelios

    why does Object.equals() fail to match two exactly the same Objects

    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
  11. MarsChelios

    Java Filename Mask

    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...
  12. MarsChelios

    Calling Java methods from PHP

    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
  13. MarsChelios

    Installing Java complier on XP platform

    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
  14. MarsChelios

    comparing string literals and string variables...

    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 ==...
  15. MarsChelios

    JFrame update

    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...

Part and Inventory Search

Back
Top