User Profile

Collapse

Profile Sidebar

Collapse
jimhawkss
jimhawkss
Last Activity: Mar 6 '08, 05:22 PM
Joined: Feb 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jimhawkss
    replied to Animation problems
    in Java
    Heres two hints...
    1) Look at your Paint Method.
    2) Decide where your Math.Rand should be.
    See more | Go to post

    Leave a comment:


  • jimhawkss
    replied to storing file
    in Java
    A good place to start would be Importing
    java.io.*;

    You are going to want to read some of Sun's tutorials involving Buffered Reader, and Outfiles.
    See more | Go to post

    Leave a comment:


  • This thread is officialy solved. Got it running with the Runtime.exec(ja va -jar)
    Thanks for pointing me in the accurate direction r035198x.
    And BDLH I appreciate the help and for reminding me to clerify.
    See more | Go to post

    Leave a comment:


  • jimhawkss
    replied to frames...
    in Java
    FIrst a few questions.
    1:What do you mean by Default Size?
    2:Are you trying to Set it's size? aka use .setSize(800,60 0);
    3:Or are you trying to make it unresizable by the user? aka .setResizable(f alse);
    See more | Go to post

    Leave a comment:


  • jimhawkss
    replied to What's wrong with this code ?
    in Java
    Just in case:
    What is being said is change your statment to

    while (num >= 0)

    That way it will Count down to 0

    The way you have it now basically your statement says;

    While (10 < 10)
    {
    do the stuff in here.
    }

    Trust me I've done this once or twice myself.... but never a third time tankfully.
    See more | Go to post

    Leave a comment:


  • Oh sorry about that.
    Yes I made them both, at this time they don't communicate with one another.
    Basically they both mess with a text file. One makes them, about 14 of them.
    It allows the user to create up to 14 different linked lists, each node of which containing a Name String, Int array of a 3 size, and a String array of an (technically) undeclared size.
    Since it auto loads the files, for easy user input / manip, I...
    See more | Go to post

    Leave a comment:


  • jimhawkss
    replied to java problem
    in Java
    Your taking in a string and trying to make it backwards right?
    try a simple for loop.
    Let's pretend your input string is called input and it contains 1234.

    tempInt = input.length(); //might not need the () can't remember atm.
    string outPut = ""
    for (int c = 0; c <= tempInt; tempInt--)
    {
    char tempChar = input.getChar(t empInt);
    outPut += tempChar
    }

    then...
    See more | Go to post

    Leave a comment:


  • I think what you are trying to do is have the program print out a letter instead of the numbers 11, 12, 13, & 1 Right?
    I am assuming you are printing the numbers to the screen right.
    if so make a Switch after your random number but befor you display

    switch (your number variable)
    {
    case 1: System.printlin e("A"); break;
    case 11: System.printlin e("J"); break;
    ...
    See more | Go to post
    Last edited by jimhawkss; Feb 10 '08, 05:58 AM. Reason: forgot somthing

    Leave a comment:


  • jimhawkss
    replied to Java Starter
    in Java
    Hey cheif. Not really a Guru myself (got's questions but who doesn't)
    Java isn't to hard to get started. They are lots of books on the subject ranging from about $10~$50. The one I started with like 3 years ago is a little dated now so probably lot better ones out there.
    Just make sure to start with Java. Not javascript (completely different).
    Also do not pick up one that's a "In a nutshell" or "reference guide",...
    See more | Go to post

    Leave a comment:


  • jimhawkss
    started a topic Something hard, something simple. Jar Calling Jar
    in Java

    Something hard, something simple. Jar Calling Jar

    I have searched for about 4 days to try to find this, and have decided I'm horrible with searching.

    I am trying to execute a Jar with a button from another Jar'd Application.

    Basically I have a program. Works nice and fine and I don't want to mess with it other then adding a button.

    I want this button to call another program which also works nice and fine.

    I don't want to put them together...
    See more | Go to post
No activity results to display
Show More
Working...