Search:

Type: Posts; User: KevinWorkman

Page 1 of 20 1 2 3 4

Search: Search took 2.38 seconds.

  1. Re: Why does my calculator only return 0.0?

    First off, stop comparing Strings using the == operator. Use the equals() method instead. Do a search in this forum or on google for way more information on why that is.

    Secondly, what happened...
  2. Replies
    1
    Views
    58

    Re: codecademy Java Script

    This is a Java forum, and JavaScript is a completely different thing.

    That being said, the problem is you're closing your if statement with a semicolon instead of opening it with an opening...
  3. [SOLVED] Re: Rendering the cells of JComboBox in Java

    That's not an MCVE. Why do you have two different model classes? Why do you need them at all? What does this code do? I'm pretty confused about what your actual question is.
  4. Re: Understanding Graphics2d, canvas and shapes

    Like Greg said, the API is your best friend: Java Platform SE 8

    You also need some familiarity with OOP. The Graphics class is an abstract class, and Graphics2D is the concrete implementation of...
  5. Re: Pack multiple parameters in URL to single unit

    1. I'm not sure what you're asking. Did you try this?
    2. Okay. Did you try this?
    3. I'm not sure what you're asking. What have you tried?
  6. Replies
    21
    Views
    204

    Re: Nerd Alert- New Member

    I'm not sure. I'm just a dumb American, but I'm pretty sure internships are a pretty common thing in European countries.




    True. I had an internship at the National Institute of Standards and...
  7. Replies
    21
    Views
    204

    Re: Nerd Alert- New Member

    Out of curiosity, do you agree with that? I'm not trying to argue, I'm just curious!



    There is a compelling argument that programming should be taught as a craft (like, uh, glassblowing)...
  8. Replies
    21
    Views
    204

    Re: Nerd Alert- New Member

    I think that's probably what the more prestigious computer science universities (CMU, Stanford, etc) are like. That's why degrees from places like that are worth so much more than smaller...
  9. Re: Pack multiple parameters in URL to single unit

    Create an Object that contains your parameters. Add that Object as a parameter to your controller method. Let Spring do the rest for you.

    More info here: java - Spring MVC: Complex object as GET...
  10. Replies
    21
    Views
    204

    Re: Nerd Alert- New Member

    I know how you feel. Back in college I issued a challenge to my fellow graduating seniors: could they show a window in Java that showed a random color in less than 15 minutes? They could even use...
  11. Replies
    21
    Views
    204

    Re: Nerd Alert- New Member

    Heh, yeah, I know. I'm not that old- I graduated in 2008 (wait is that old? nooooo), and when I started college back in 2004, they were still teaching in C++. They then switched over to Java in 2005,...
  12. Replies
    2
    Views
    118

    Re: Help with constants!

    Have you tried googling something like "java constant"? What have you tried? Where is your MCVE?
  13. Replies
    21
    Views
    204

    Re: Nerd Alert- New Member

    Another factor is that the term "Java developer" is deceptively vague- there are a bunch of different types of Java developers- frontend developers, Android developers, server developers, developers...
  14. Replies
    21
    Views
    204

    Re: Nerd Alert- New Member

    What's the job? How much does it offer? Is the company willing to pay for relocation? Most of the more experienced users here already have jobs, so you might not get many bites without providing that...
  15. Replies
    21
    Views
    204

    Re: Nerd Alert- New Member

    This forum is generally for novice programmers looking for help with their homework, and more experienced programmers offering help. I'm not sure a forum like this is a great place to look for new...
  16. [SOLVED] Re: Rendering the cells of JComboBox in Java

    Why does there have to be a custom model?

    Please post an MCVE showing what you've tried so far.
  17. [SOLVED] Re: Rendering the cells of JComboBox in Java

    You would do it almost the exact same way, just use a ListCellRenderer. What have you tried? Have you looked at the API or tutorials at all?

    You could also just override the toString() method in...
  18. Replies
    5
    Views
    103

    Re: java Tomcat

    Ant tasks tell ant what to do. How are you using ant without a task? You probably have a "jar task", when you really need a "war task". Recommended reading:...
  19. Replies
    5
    Views
    103

    Re: java Tomcat

    That depends. Do you have an ant task that creates a .war file?
  20. Replies
    5
    Views
    103

    Re: java Tomcat

    Does eclipse know that your project is a web application? In other words, when you created the project, did you create is as a web application or something else?

    You either need to create it as a...
  21. Replies
    6
    Views
    190

    Re: need help printing hourglass shape

    We can't run this code because it isn't in the form of an MCVE.

    What have you tried? What exactly are you confused about? We aren't just going to do your homework for you.
  22. Thread: beginer

    by KevinWorkman
    Replies
    2
    Views
    128

    Re: beginer

    Can you create a JButton that simply prints something to the console when it's clicked?

    If you can't, post an MCVE showing exactly what you've tried and where you're stuck. Note that this...
  23. Re: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not supported yet.

    The working code you posted does not use the ServerGUI class. The ServerGUI class is the one throwing the Exception. You should contact whoever created the ServerGUI class to see why it throws that...
  24. Re: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not supported yet.

    I mean wherever you're getting the ServerGUI class. That's what's throwing the error.
  25. Re: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not supported yet.

    What library is this?

    It looks like whatever library you're using has a method that throws an Exception to tell you that the method isn't supported yet. This isn't a Java question; it's a question...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4