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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tdelamater

    Embedding applet in page with embed instead of applet

    I'm not sure, try http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html
  2. tdelamater

    Help with NullPointerException

    I'd imagine you wouldn't use a stack because when you think of a deck of cards as an object you might want to pick up the stack, split the stack in two, and shuffle from the bottom.
  3. tdelamater

    Help with NullPointerException

    change your incriment operators from prefix to postfix. //Loops to the amount of cards in a deck for(int iSuit = 0; iSuit < Constants.LAST_SUIT; iSuit++) for(int iRank = 0; iRank < Constants.NUM_CARDS_PER_SUIT;iRank++){ //Places a random card from the ordered deck //into...
  4. tdelamater

    Replace a string with a variable in a file

    Problem is... Lets say I set serverName = "foo". I can echo $serverName, but in the perl program above I get the error.. and this isn't exactly what it is because i'm not at work today to see.. "foo not found." Here is where I am looking for problems... 1. Using parameters in perl 2. The...
  5. tdelamater

    Replace a string with a variable in a file

    I want to search for a string in a file, and if found append a variable to that string. Here is what I have. $servername | perl -p -i.bak -e 's/^server\-name \=\.*$/server-name = $F[0]/i' $FILE_LOC Where $servername is a variable read in from the user from ksh. I am not fluent in perl...
  6. tdelamater

    what the difference?

    When you are instantiating the class with MyHome h = new MyHome(); You are creating an instance of MyHome which is referenced by h. Therefore, h.method1(); calls the method of the object that has been created. On the other hand, MyHome.method1() will call a static (unchanging) method. The...
  7. tdelamater

    compiling code with j2se 5.0 features

    I see what my problem was before.. the naming conventions threw me. For j2se v 1.4.2 the development tools are called "The J2SE Software Development Kit" SDK.. for v 5.0 they are called "The J2SE Development Kit" JDK.. Confusing me with the user end JRE.. after unistalling the old development...
  8. tdelamater

    compiling code with j2se 5.0 features

    I just started this book: Core Java Volume II http://www.phptr.com/title/0131118269 I downloaded the sample code from the book from the vendors website. However, I cannot compile the examples that use APIs new to j2se 5.0. How can I take advantage of the new features introduced in j2se 5.0...
  9. tdelamater

    Google developing Java/.Net APIs

    http://www.google.com/apis/ Although still in beta, the ability for developers to search googles massive database would add a great deal of power to supported programming languages. Just some food for though.

Part and Inventory Search

Back
Top