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...
Type: Posts; User: Spencer4908
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...
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...
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...
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...
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.
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...
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...
No problem, glad I could 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...
Thank you for your help :) I was able to make everything exactly how it needed to be.
3045
Thanks again!
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;
...
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
...