Search:

Type: Posts; User: KevinWorkman

Page 1 of 20 1 2 3 4

Search: Search took 0.68 seconds.

  1. Replies
    10
    Views
    77

    Re: Simple array question

    You're going to have to write out what you're trying to do in much more detail.

    Pretend you have a really dumb friend who doesn't know how to count the numbers the way you want him to. You want to...
  2. Replies
    10
    Views
    77

    Re: Simple array question

    What does it do now? What do you mean when you "still can't find the way"? Can you provide an MCVE that uses a hardcoded array to show exactly what the problem is?
  3. Replies
    10
    Views
    77

    Re: Simple array question

    Try adding print statements, like this:


    public static void filtrararray(int array[]){
    //encontrar dois numeros iguais na array
    int cont = 0;
    for (int...
  4. Re: A one runway airport using multiple threads - no idea where I'm going wrong

    What makes you believe that something is wrong? What kind of output would you expect?
  5. Replies
    5
    Views
    121

    Re: 2D game Tile problem | please help

    Cool. We'll be happy to help as soon as you post an MCVE.
  6. Replies
    5
    Views
    160

    Re: Can you help a newbie?

    I don't necessarily agree with that.

    It's really hard to learn OOP without knowing the basic syntax first.

    That's why I recommend Processing: it allows you to slowly find out about things like...
  7. Replies
    5
    Views
    121

    Re: 2D game Tile problem | please help

    We'll be happy to help as soon as you post an MCVE. Note that this shouldn't be your whole project! Just enough lines to show the problem. (Cut down on the lines of code you have to post by doing...
  8. Replies
    5
    Views
    121

    Re: 2D game Tile problem | please help

    Please don't post screenshots of code. Post an MCVE that we can copy and paste to run ourselves.

    What tutorial are you following?
  9. Replies
    4
    Views
    150

    Re: code will compile but not run.

    The error says it all: you don't have a main method.

    Java runs a program by looking for a main method and calling that. You don't have a main method here, so you can't run this.

    More info:...
  10. Replies
    9
    Views
    212

    [SOLVED] Re: Ideas Needed ASAP!

    Okay, and what are your interests? What ideas do you already have?
  11. Re: Lottery Game matching numbers error

    What happened when you stepped through this with a debugger? What happened when you added print statements? What happened when you walked through this in your head with a piece of paper and a pencil?...
  12. Replies
    3
    Views
    109

    Re: Hi, big time newbie here

    You have extra semicolons between your if statement and the body of the if statement.

    Basically, what you're telling the computer to do is:

    If x is less than y, do nothing.
    Then no matter...
  13. Replies
    8
    Views
    218

    Re: Is JAVA what I'm looking for!?!?

    You'd be much better off posting to the public forum.

    The best advice I can give you is to start small- start with the bare minimum and work your way up from there.

    I will shamelessly...
  14. Replies
    2
    Views
    173

    Re: gui for cli

    I'm really not sure what you're asking. Are you asking how to create a GUI that wraps a command line program?

    There really isn't a "best" way to do anything. One option is to use Swing or JavaFX...
  15. Replies
    8
    Views
    218

    Re: Is JAVA what I'm looking for!?!?

    There really isn't a difference between "hardware" and "website based". I think what you're asking is "do I have to buy a physical server?" and the answer is no. For example, I use Amazon Web...
  16. Replies
    5
    Views
    160

    Re: Can you help a newbie?

    This really depends on you- what you're already familiar with, your style of learning, how much time/effort/money you want to put towards it, etc. We can't really tell you what's best.

    I would...
  17. Replies
    8
    Views
    218

    Re: Is JAVA what I'm looking for!?!?

    This is a pretty big question, and this is a pretty non-trivial project.

    You're mostly asking about the front-end, which is arguably the easiest part to implement.

    The front-end can be done in...
  18. Replies
    5
    Views
    142

    Re: Painting a custom shape

    Look at this part of the stack trace:

    LineShape.<init>(Screen.java:96)

    That means that the error is occurring on line 96 of Screen. What line is that?

    And since you're getting a...
  19. Replies
    4
    Views
    200

    Re: Java 8 API down!

    I'm not sure what you mean by Java API searcher, but everything looks fine for me.
  20. Replies
    4
    Views
    92

    Re: Observer (MVC)

    Yes.
  21. Re: Best way for parsing c code based on java

    It's really hard for us to answer general "how do I do this" type questions other than by pointing you to google, the basic tutorials, and your class notes.

    Recommended reading: What have you...
  22. Replies
    4
    Views
    188

    Re: How do people learn java ..?

    "How long" is a pretty hard question to answer. It really depends on you, how well this stuff fits in your brain, how much time per day you devote to it, how well you know algebra, etc.

    You can...
  23. Replies
    4
    Views
    188

    Re: How do people learn java ..?

    If you want my two cents, I would recommend learning Processing first.

    In fact, I just wrote a tutorial that teaches you how to write Pong in Processing in an hour: Hour Of Code - Static Void...
  24. Re: Name of the winner - beginner's programming

    You've still got some problems that you need to fix: what do you think calling the join() function does, particularly when you call it on the currently running thread?
  25. Replies
    3
    Views
    130

    Re: java for business

    First result for googling "Android tutorial": https://developer.android.com/training/index.html

    First result for googling "Swing tutorial": https://docs.oracle.com/javase/tutorial/uiswing/
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4