Search:

Type: Posts; User: Spencer4908

Search: Search took 0.10 seconds.

  1. Replies
    2
    Views
    810

    Re: JUnit Test Confusion.

    Sorry, I didn't mention the error I received. Anyway the message was in the case of inOrder "The method inOrder() is undefined for the type BST<String, Integer>" Eclipses allows me to add a cast to...
  2. Replies
    2
    Views
    810

    JUnit Test Confusion.

    So I've got a Binary Search Tree class called BST that I use to properly organize my Binary Tree. I've also got a BstApp main class for testing it. The program works fine, however my assignment asks...
  3. [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...
  4. [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...
  5. Replies
    7
    Views
    1,628

    [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.
  6. Replies
    7
    Views
    1,628

    [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...
  7. Replies
    7
    Views
    1,628

    [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...
  8. [SOLVED] Re: Im new to Java and have an error i cannot fix please help

    No problem, glad I could help.
  9. [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...
  10. Replies
    5
    Views
    992

    [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!
  11. Replies
    5
    Views
    992

    [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;
    ...
  12. Replies
    5
    Views
    992

    [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 12 of 12