Search:

Type: Posts; User: PhHein

Page 1 of 20 1 2 3 4

Search: Search took 0.40 seconds.

  1. Thread: java

    by PhHein
    Replies
    3
    Views
    56

    Re: java

    And obviously language. This is a forum not SMS. How many seconds did you save by not spelling properly?
  2. Replies
    2
    Views
    104

    Re: My code is not working :(

    Most likely you're not on the EDT when adding those items. BTW: you're just adding "supn", you should probably add name. Did you make sure you actually enter the while loop?
  3. Replies
    4
    Views
    145

    Re: Am I Just Bad At Java? [Java Rant]

    Hi and welcome,

    that was a long read. What I understood is that you already have some dangerous half knowledge and generally keep trying things, which is not a bad thing. I believe you're making a...
  4. Thread: Contacts

    by PhHein
    Replies
    2
    Views
    72

    Re: Contacts

    Do you have a question?
  5. Re: while loop loops foreve even with the right inputs.

    If the user enters N the first part (!response.equalsIgnoreCase("Y")) is true and if the user enters Y the second part is true. If the user enters X both parts are true. Use the && operator

    The...
  6. Replies
    4
    Views
    138

    Re: what's wrong with my code?! OTL

    It's really hard helping without seeing your code.
  7. Thread: Java rescources

    by PhHein
    Replies
    2
    Views
    175

    Re: Java rescources

    Hi,
    it's often a matter of personal preferences. There are hundreds of online tutorials and as many books about Java.
    I think Head first Java by Bates and Sierra is a great book for beginners....
  8. Thread: Beginner

    by PhHein
    Replies
    2
    Views
    214

    Re: Beginner

    One part of being a good programmer is the ability to research.
    Some interesting articles:
    Teach Yourself Programming in Ten Years
    Starting Writing a Program
    Trail: Getting Started (The Java™...
  9. Re: Newb, working on Computer Science homework. Need ideas

    Don't apologize for mistakes. They are part of the learning process. Regarding your problem: You have an amount of cents. First find out whether and how many dollars you can return. Next reduce the...
  10. Re: Newb, working on Computer Science homework. Need ideas

    Hi,
    apart from posting unformatted code you've got the order wrong. Start with paper and pencil to find an algorythm. On paper you would certainly not start with trying to find the number of pennies...
  11. Thread: problem

    by PhHein
    Replies
    2
    Views
    90

    Re: problem

    Yes, I can. Butyou need to post your solution and ask specific questions to get help.
  12. Replies
    2
    Views
    84

    Re: java File handling

    Do you have a question?
  13. Replies
    11
    Views
    416

    [SOLVED] Re: Algorithym to remove unnecessary points

    Uhm, maybe I'm way off here. Why not construct a Line2D and use the contains method? I have not thought this through, but that's what I thought about first.
  14. Re: daily time record & computation of hours work

    Do you have a question?
  15. Replies
    2
    Views
    110

    Re: Error 1704. Java problem

    Not enough information. What computer? What OS? What exactly are you trying to install? Where did you get it from? etc....
  16. Thread: best compiler

    by PhHein
    Replies
    2
    Views
    116

    Re: best compiler

    They are no compilers, they are IDEs. It's down to personal preferences, try both and decide for yourself. It's like asking what's better: a sports car or an SUV?
  17. Re: How do you make a sum of variables in a loop?

    Let your method return the number of oranges and sum them up in the loop. You know/can count how often your loop runs. Calculate the average after the loop.
  18. [SOLVED] Re: fileDisplay class with "Exception in thread "main" java.util.NoSuchElementException: No line found" error

    The stack trace suggests that displayContents doesn't work either. Your return statements don't make sense at all. You're looping over the file until the last line and after the while loop you're...
  19. Replies
    7
    Views
    18

    [SOLVED] Re: NullPointerException

    Info[] queue = new Info[100]; // Array that CAN hold 100 Info references
    int pos = 0;
    queue[pos].name = System.getProperty("os.name"); // First slot of the array was never filled with an Info...
  20. Re: What do I need to know to get a job in java programming

    And, believe me, terribly embarrassing. My code from years ago is horrible :)

    Good luck, anyway!
  21. Re: What do I need to know to get a job in java programming

    Context? Are you looking in North America, Europe, Asia, Africa, north pole? What programming job are you looking for? Contractor, consultant, hired game dev, etc..?

    Aside from that, you'll need...
  22. Replies
    2
    Views
    62

    Re: Looking for Java Project Ideas

    What are you doing in our spare time? Sports, hobbies, collecting stuff? Maybe you could develop software that helps you with that.
  23. Thread: Alert Box

    by PhHein
    Replies
    5
    Views
    51

    Re: Alert Box

    It's javascript, that's wrong with it. This is a Java forum.
  24. Re: Java Exercises and Challenges Recommendations for someone with intermediate skills.

    Just try to answer questions here on the forums, that's plenty of exercise :)
  25. Replies
    2
    Views
    19

    Re: Which is the best java tutorial ?

    That is very subjective thing. I'm happy with the official Oracle tutorials: The Java™ Tutorials
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4