Search:

Type: Posts; User: Staticity

Page 1 of 5 1 2 3 4

Search: Search took 0.52 seconds.

  1. Replies
    5
    Views
    261

    Re: Why does this code compile?

    The program compiles and will print out "Hello1" since you called the method, varargs, that accepts a single int as a parameter. Everything seems to be fine.
  2. Replies
    1
    Views
    302

    Re: String Index Out of range

    Could you show us the stack trace (error)? Also, what is the general purpose of this program? It seems a bit odd to just say "this doesn't work, fix it" without giving any other information.
  3. [SOLVED] Re: Data Structures: Symbolic Algebra with Trees

    Yeah, I didn't really know how to word what the issue was.. But I believe I just solved the problem. I was just having an issue visualizing what was really going on whenever you preformed the...
  4. [SOLVED] Data Structures: Symbolic Algebra with Trees

    So, I will soon be a student at a University studying Computer Science, and I have taken it upon myself to study ahead for my Data Structures class. I am currently on the 7th week of assignments, and...
  5. Replies
    2
    Views
    677

    Re: Multithreading Problem

    I reduced the number to 2, and the speed was the same. If you look at the actionPerformed method I provided.. The problem is with the condition. The while loop finishes for some reason after the...
  6. Replies
    2
    Views
    677

    Multithreading Problem

    The idea of multithreading is new to me, and in order to practice I have decided to make my Web Crawler a bit faster.

    After implementing the new process using a thread pool with ExecutorService,...
  7. Re: How do I create a if statement that accepts only Integers?

    There are also other classes in the API that you can use. One very common (and useful) class is the Character class.

    Just to give you a tip, I suggest you take a look at what methods the Character...
  8. Replies
    6
    Views
    904

    [SOLVED] Re: Scanner Requiring Two Inputs

    Haha, that's programming. The most common error is the simplest error. Glad you found it.
  9. Replies
    6
    Views
    904

    [SOLVED] Re: Scanner Requiring Two Inputs

    You should give it another look. Doing it as you go isn't the best idea. You may be repeating your mistakes.


    Here's something I thought was very important from that link. "A scanning operation...
  10. Thread: Asterisks

    by Staticity
    Replies
    15
    Views
    944

    Re: Asterisks

    Hey again Whome, it really seems like you are "brand new" to programming. I suggest waiting a bit longer before diving in to the unknown (I know how badly that can get).

    I took the initiative last...
  11. Replies
    6
    Views
    904

    [SOLVED] Re: Scanner Requiring Two Inputs

    Hey, what's up Nate.

    There are several great ways to debug your code; one of them, which I particularly advise, is to read through your code line by line and understanding what exactly is being...
  12. Re: Jar Embedded in Website: Double Buffering Issue?

    It seems like that didn't work for me, I had the same reuslt. Do you have any other suggestions perchance?
  13. Thread: Asterisks

    by Staticity
    Replies
    15
    Views
    944

    Re: Asterisks

    For future reference , and now would be great as well, could you read this for proper code notation?
    http://www.javaprogrammingforums.com/whats-wrong-my-code/announcements.html

    The first thing I...
  14. Re: Jar Embedded in Website: Double Buffering Issue?

    Like I've stated, there is nothing fundamentally incorrect with the way I have been drawing anything. If I run the program on my computer, it looks fine. Also considering that one of my other...
  15. Thread: Asterisks

    by Staticity
    Replies
    15
    Views
    944

    Re: Asterisks

    Hey there Whome, I'll be glad to help. What have you attempted so far?
  16. Re: Jar Embedded in Website: Double Buffering Issue?

    Sorry about that. They're .jar files. It's easier/faster to upload the several classes using a Jar instead of an Applet.

    Here is the HTML snippet.


    <!--[if !IE]>-->
    <object...
  17. Replies
    1
    Views
    800

    Re: Generics problem

    Even though I only have a year's worth of experience, I'm going to try and help out since there hasn't been a reply yet.

    I'm going to assume that you want to compare the data within the...
  18. Jar Embedded in Website: Double Buffering Issue?

    I'm not sure if this would be the correct post, but I've started some simple development for my portfolio website. I embedded several different jars (as tests) with an Object tag and they all...
  19. Replies
    0
    Views
    509

    AI, Collision Detection, and Timing

    So, I have a general question to ask everyone. I'm always looking for new resources to expand my knowledge of programming, and I've come across a few recurring situations when I program a game.

    -...
  20. Replies
    0
    Views
    357

    Texas UIL Problem: 2007

    So, in order to practice for future Competitions... I've printed out a few old UIL packets to go through. I noticed a few re-occurring problems that are somewhat difficult, but manageable. I find...
  21. Thread: Tree java

    by Staticity
    Replies
    9
    Views
    389

    Re: Tree java

    I'm sorry, I don't quite understand your question. Could you clarify please?
  22. Thread: Tree java

    by Staticity
    Replies
    9
    Views
    389

    Re: Tree java

    Depending on how far you want to space your tree, you are correct. There is an inverse relationship between the A's and spaces.

    So in my eyes, if your greatest length of A's (which would be the...
  23. Thread: Tree java

    by Staticity
    Replies
    9
    Views
    389

    Re: Tree java

    Do you notice any pattern occurring in the program? What is the correlation between the # of A's and the # of spaces that should be produced?
  24. Thread: Tree java

    by Staticity
    Replies
    9
    Views
    389

    Re: Tree java

    I suppose by a "straight tree", you want your lines to be aligned in the center.. What have you tried?
  25. Re: Trying to modify class so when toString method returns in different format than g

    Hey slayer,

    Do you mind reading This? It makes it lot easier for us to help you.

    What type of parameter is your toString method receiving? What is it's purpose?
Results 1 to 25 of 105
Page 1 of 5 1 2 3 4