Search:

Type: Posts; User: KevinWorkman

Page 1 of 20 1 2 3 4

Search: Search took 0.64 seconds.

  1. Replies
    9
    Views
    80

    Re: JButtons Disappearing

    Can you post an MCVE that demonstrates the behavior? Note that this shouldn't be your whole project, but it should be complete enough so we can see the problem. Start a new project and only add...
  2. Re: basic java problem concerning order of operations

    Can you post an MCVE instead of an incomplete snippet? What is the value of vot? What is this line supposed to do, not that it is not valid syntax:

    s=(so) +(vot) +.05 a*t*t;
  3. Replies
    6
    Views
    76

    Re: 2D JButton Array

    The button approach might work. The only way to answer it is by coding it up.

    I'm not sure why you're displaying the tiles on both panels, but only letting the user click one of the panels. Why...
  4. Re: launching a application to look like a web page

    Assuming you want your server to be in Java, then yeah, that's the general idea.

    Note that this would be a *complete overhaul* of your existing code. You'd basically have to start from scratch and...
  5. Re: launching a application to look like a web page

    The advantage to a web application is that you can just point people to a URL to view your program. With a Swing application, you generally have to have people download a jar and run it, which means...
  6. Replies
    6
    Views
    76

    Re: 2D JButton Array

    I'm not really sure what your question is...? Are you asking us if this approach works? The only way to answer that is to write the code and see what happens.

    I personally probably wouldn't use...
  7. Replies
    2
    Views
    64

    Re: Class vs Function

    It is way more.

    You need to read through a basic tutorial, because the words you're saying don't even really match what you're trying to describe.
  8. Re: basic java problem concerning order of operations

    Can you edit your post to use the highlight tags and to post your code as an MCVE?
  9. Re: The dreaded "Error: cannot find symbol" error...

    Note that "the compiler being screwy" was probably in fact you not compiling the correct file, or forgetting to save the file after you made a change. It doesn't really matter now that you got it...
  10. Re: The dreaded "Error: cannot find symbol" error...

    This code compiles fine for me.
  11. Replies
    7
    Views
    94

    Re: Homework help!

    You have to break your problem down into smaller steps. Separate the user input from the arithmetic part.

    Since you're stuck on the arithmetic part, then simply hardcode the variables you know...
  12. Replies
    7
    Views
    94

    Re: Homework help!

    Cool, knowing what you're trying to figure out is the first step.

    Now that you know what you're trying to figure out, which part of that are you stuck on?
  13. Replies
    7
    Views
    94

    Re: Homework help!

    What exactly are you trying to figure out? How would you figure it out with a piece of paper and a pencil, without a computer?
  14. Replies
    8
    Views
    256

    Re: Where do I begin?

    Have you tried searching?



    We can't recommend an entire curriculum for you. What books you read is entirely up to you, what you're interested in, what you're confused about, etc.

    Asking...
  15. [SOLVED] Re: How to fill available space with FlowLayout

    Repainting is more of a concern when you're using a custom component. You aren't doing that, so it doesn't really matter.

    More info here: Lesson: Performing Custom Painting (The Java™ Tutorials >...
  16. [SOLVED] Re: How to fill available space with FlowLayout

    You could also consider GridLayout, if you want all of your components to be the same size.
  17. [SOLVED] Re: How to fill available space with FlowLayout

    FlowLayout respects each component's preferredSize. BoxLayout will stretch or shrink components so they all fill the parent container. Switching to BoxLayout is the first thing I would try if I were...
  18. [SOLVED] Re: How to fill available space with FlowLayout

    Have you tried using BoxLayout instead?
  19. Thread: Confused

    by KevinWorkman
    Replies
    13
    Views
    116

    Re: Confused

    Yes, you have to call your function. Java won't automatically call your function for you.

    However, Java *does* automatically call the main() method for you. That's the whole point of the main()...
  20. Replies
    4
    Views
    128

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

    Everything Phil said is spot on. It sounds like you aren't having trouble with the actual *programming*, but with *general problem solving* instead.

    I don't mean that to sound insulting, and your...
  21. Thread: Confused

    by KevinWorkman
    Replies
    13
    Views
    116

    Re: Confused

    Why would it? When do you call your duck() function?
  22. Thread: Confused

    by KevinWorkman
    Replies
    13
    Views
    116

    Re: Confused

    Okay, and what exactly do you mean when you say this doesn't work? When do you call your duck() function?
  23. Re: Help Required in sound mixer software

    http://www.java-forums.org/advanced-java/92750-help-required.html
  24. Replies
    3
    Views
    71

    Re: Method calls/initialization issues

    What does the updateFile() method do? Shouldn't you already have an Environment and a Document if you're trying to do something with them? Where are they coming from? What types of constructors do...
  25. Thread: Confused

    by KevinWorkman
    Replies
    13
    Views
    116

    Re: Confused

    What exactly do you mean when you say that this won't work?

    Where is your class? Where is your main method?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4