Search:

Type: Posts; User: Spencer4908

Search: Search took 0.21 seconds.

  1. [SOLVED] Re: How do I prevent buttons from flowing over when the window is dragged.

    I used struts, and preferred sizes to force it to do that. However I decided to use the BoxLayout, because it does what I need it to do, I was able to fix the problem I was having. What I did to...
  2. [SOLVED] How do I prevent buttons from flowing over when the window is dragged.

    I'm using a BorderLayout, with 26 buttons to make up the alphabet from a keyboard. All the spacing looks great, but when you drag the screen out, everything gets jumbled. I would prefer to have...
  3. Replies
    5
    Views
    79

    [SOLVED] Re: Scanner not looping.

    Thank you for you help, I managed to find a solution. I miss interpreted some of the assignments direction, causing a bit of confusion on my part. Thanks again, your advice helped a lot.
  4. Replies
    5
    Views
    79

    [SOLVED] Re: Scanner not looping.

    Well, the output should loop if the user inputs a value that throws an exception. For example if they were to enter a float, String or a zero the value would return an exception and loop back to...
  5. Replies
    5
    Views
    79

    [SOLVED] Scanner not looping.

    In my Exception Throwing assignment we were given a code to edit, and told to make a loop within the numberFromUser method. A Scanner should input a new value until its value equals a integer that is...
  6. [SOLVED] Re: Im new to Java and have an error i cannot fix please help

    No problem, glad I could help.
  7. [SOLVED] Re: Im new to Java and have an error i cannot fix please help

    I see two mistypes right off the bat.

    Where you have g.fillRect() you have a period instead of a comma. And this may just be how you pasted it but where you have your DefaultCloseOperation you...
  8. Replies
    5
    Views
    16

    [SOLVED] Re: Face Changer Application for school

    Thank you for your help :) I was able to make everything exactly how it needed to be.
    3045

    Thanks again!
  9. Replies
    5
    Views
    16

    [SOLVED] Re: Face Changer Application for school

    Thanks for the advice, I tried a few other layouts but I'll keep trying to get it to look right.

    Here's the source code.

    package application.face;

    import java.awt.BorderLayout;
    ...
  10. Replies
    5
    Views
    16

    [SOLVED] Face Changer Application for school

    I'm currently in a Object Oriented Programming class in school, and need help figuring out a few issues with an assignment.

    The assignment asked us to make a program that looks like this.
    3041
    ...
Results 1 to 10 of 10