Manny Ruiz

Ranch Hand
+ Follow
since Dec 01, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Manny Ruiz

i want to load a file
9 years ago
I have to create a program that will use a chart to show some information. I have the program and I created a chart as a XML file. Is it possible to create a link on the java program that will call the chart when used, for example a button. Where would I start looking for help getting this done.
10 years ago
I have gotten a lot of help and great tips from you guys over the course of these last few weeks, but I have a question. On multiple occasions I have been advised not to use a null layout for mu programs. Now that I have a little extra time to look into other types of layouts, I have to ask which ones are better? Is there a layout that is most commonly used? Which one is the easiest to learn?
10 years ago
Hello I am having alot of problems getting this scroll panel to work. Specifically I have the [panel on my GUI, but I cant figure out how to get the text area to populate it. Can someone please tell me what I a,m doing wrong here.

These are the code portions that pertain to the scroll panel only.





And here is the code as a whole.



I am, almost done with this I just need to get the scroll panel to work. Please can someone help me out.
10 years ago
Hello I was able to get the program to work correctly, however I am having 2 problems. the first one is that the amortization schedule is not working correctly. i have always had problems getting these to work. Can anyone see whats going on with this. The other problem I am having is figuring out how to add a scroll bar to the jtextarea. I have looked through some websites, but I still cant figure it out.


10 years ago
im not getting any errors, what im getting is nothing. When the user selects the loan rate and term from the options menu, the corresponding text fields need to be set to the amount. Right now when the user selects the loan options, nothing happens.
10 years ago
First of all happy new year to all!, Hope everyone's holidays were good. Now it time to get back to the grind. I am creating a mortgage calculator that allows the user to select from a menu in order to set up the loan rate and terms. I created two earlier versions, one with out a menu and a second one with a menu. What I am trying to do i combine the two and create a cal so when the user selects the option, the coresponding text fields are set to the term and rate. I am using eclipse, and originally was getting errors at lines 133, 140, 147, 154 which was saying there was a duplicate method, which it then made a suggestion on how to fix it, which is why they are numbers 1-4. Everyhting works , but the fields dont populate when the options are selected. How close am i to getting this right and what am i doing wrong. Thanks in advance for any help.


10 years ago
ok i was messing around with the if statement, and it got to work...kind of. The payment is calculated correctly, but the only problem is that the payment is automatically calculated when the user clicks on the options. . Can i make it so the payment is not calculated until the user clicks the payment button?

10 years ago
I had such a hard time with arrays in my last class that I am not sure what to do with the indexpointer suggestion, although it sounds like a good one. So i was wondering would it be possible to make this work with if statments? for example



I know the best way to find out if this would work to is to plug it into my code, but while im doing that i hope someone can tell me if it is even possible?
10 years ago
Thanks for all the suggestions so far. i havent had any time the ladt couple of days to work on this, but I gotta get crackin. I will add the listener to the radio menu items. From there i have a few ideas I will be trowing around.
10 years ago
The menu code I posted was added to the original code I had posted earlier. But i think I need to ask some questions that are related more directly to my assignment. I need to create a mortgage calculator that will let the user enter a loan amount and then use the menu items to select the interest rate and term. the text area will be used later to show an amortization table. I created the array for the different loan options, but i cant figure out how to make the calculation method get the array info for the option selected. Right now i used the [0] array item as a place holder. Is it possible to make the calculator get the right array information based on which menu item is selected?

10 years ago
OK I read the tutorials on both the JMenu and the JRadioButtonMenuItem. but it only helped me in creating the menu. I still cant figure out how to make the buttons do anything. I looked at an example where the radio button selection makes a picture appear, but I cant see how to make this work for my needs. Here is my menu code so far. I have another question about action events. What is the difference between using what i used:" item2.addActionListener(listener);" and "item2.addActionListener(this);" I have seen both used, but im not sure when to use what.

10 years ago
I should probably be a bit clearer on the problem i am facing. i am not sure what to do to make the program recognize the options in the menu as numbers. Do I have to use parse to change them to int or is there a way to define them as int when they are created.
10 years ago
Hello all. I am currently working on creating a program to calculate a mortgage payment plan where the user enters the amount of the loan, and then uses the menu to choose the interest rate and term. For my last project I created a simple adding GUI which really helped me understand what was going on without having to worry about getting the number correct. I will take the same approach with this project. I created a GUI that will perform a simple calculation. The user will enter the first number, and choose the second number from an options menu. I have been able to create the menu, and the items, but i am getting stuck from there. I will continue to research the jmenu, but i would also appreciate any direction as well.

10 years ago
creating the clear was by far the easiest thing to do...since now i understand a lot better of whats going on. Thank for all you help. I will probably need help in my next assignment so hope to see you again
10 years ago