User Profile
Collapse
-
The user could put in 200000 as the loan amount. The program should display the monthly payment amount based on the loan they chose from the drop down, and then display the amortization schedule in nthe larger text area; showing the remaining balance and payment to interest for each payment through the life of the loan. I am able to do what I need without the gui, but when I try to move over my code and calculations, I cannot seem to get it right....... -
Java GUI Mortgage Program, Output Incorrect
I have finally gotten my GUI to look like I want it to, but I am having trouble getting the calculations right. No matter what I put in there, it seems to calculate a large payment, and a very wrong amortization schedule... Here is what I have so far...
...Code:package guiweek3; //imports necessary tools import java.io.*; import java.awt.*; import javax.swing.*; import java.awt.event.*;
-
The "and" operator not validating
I am in a JavaScript class, and we have to get all of our code to validate at the w3c website... Here is my code, it does what I want it to do which is require the user to enter the name and either the address of the email address, but when I try to validate it through w3c, I get the following errors... Can anyone help?
...Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
SaveAs Button Script
Hi all, I am trying to add a button to my webpage that opens the save as dialog box, and allows the users to save the page (it is a form) as a word doc... I used this code which does work, but only allows to save as a txt or html file... Is there any way to make it so that they can save it as a .doc file to be able to edit it later?
Code: ( text )
1.
<input type="button"...Leave a comment:
-
Save As Word document using execCommand
Hi all, I am trying to add a button to my webpage that opens the save as dialog box, and allows the users to save the page (it is a form) as a word doc... I used this code which does work, but only allows to save as a txt or html file... Is there any way to make it so that they can save it as a .doc file to be able to edit it later?
[HTML]<input type="button" value="Save Form" onClick="javasc ript:... -
No, I pretty much submitted what we had last week. I am still waiting on my grade to see if I got enough points to pass. Thank you so much for all your help. Now that the class is over (and hopefully I won't have to take it again!) I can try to take time to look at the stuff and maybe learn it... :)
Maybe if you have time we could still figure out the last part?Leave a comment:
-
-
Here is what I need it to do...
include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an item number one more than the previous last item.
• Add a Save button to the GUI that saves the inventory to a :\data\inventor y.dat...Leave a comment:
-
Here is the seconf half of the code...
...Code:public class Inventory10 extends JFrame implements ActionListener { //utility class for displaying the picture private class MyPanel extends JPanel { ImageIcon image = new ImageIcon("Sample.jpg"); int width = image.getIconWidth(); int height = image.getIconHeight(); long angle = 30; public MyPanel()Leave a comment:
-
Can anyone else help with an Inventory program?
r03581x has been helping me with a program, but he won't be online till Monday, and I have to have this finished by tomorrow... Is there anyone else out there that can help me?
Here is the first half of what I have so far... I will post the rest of the code in a second post cause it is too long...
...Code:import java.util.*; import javax.swing.*; import java.awt.event.*; import java.awt.*;
-
WOW
Ok, I will try to figure that one out...
If you do get any time to get on before Sat, please do...
I'll let you know how I did on Monday anyway...
Thank you So very much for your help!!!Leave a comment:
-
I will need to turn something in for the last part by Saturday...
This is what it needs to do...
• Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an item number one more...Leave a comment:
-
My fault, I see what you are saying... It looks like the Brand and the Item Name are switched though... Is that just the label?Leave a comment:
-
The brand wasn't showing a different value for each item... it was showing MobilePhone for all of them instead of Motorola/Nokia etc... I was trying to fix it so that it said type=MobilePhon e instead, and then the different brands would show up for each item... was that wrong?Leave a comment:
-
No, I didn't miss it... you answered my question... Ok-it doesn't compile, but I tried to add the other field...
[code removed as per site rules - see FAQ]Leave a comment:
-
-
I think we also need an exit statement... every time i run it-it gets stuck...Leave a comment:
-
-
How do I fix the name so that it displays something different for each item? That seems to be an issue with her... Maybe I could put in a model number instead, and call the MobilePhone the product type?Leave a comment:
-
I hope you are right-doesn't feel like it now...
Adding that functionality is part of the last assignment I think...
• Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an...Leave a comment:
No activity results to display
Show More
Leave a comment: