User Profile

Collapse

Profile Sidebar

Collapse
zaidalin79
zaidalin79
Last Activity: Oct 14 '08, 12:48 AM
Joined: Nov 29 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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.......
    See more | Go to post

    Leave a comment:


  • zaidalin79
    started a topic Java GUI Mortgage Program, Output Incorrect
    in Java

    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.*;
    ...
    See more | Go to post

  • zaidalin79
    started a topic The "and" operator not validating

    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">
    ...
    See more | Go to post

  • 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"...
    See more | Go to post

    Leave a comment:


  • zaidalin79
    started a topic Save As Word document using execCommand

    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:...
    See more | Go to post
    Last edited by acoder; Jun 29 '07, 08:58 AM. Reason: code in proper tags

  • zaidalin79
    replied to Can't get my inventory program to compile
    in Java
    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?
    See more | Go to post

    Leave a comment:


  • zaidalin79
    replied to Can't get my inventory program to compile
    in Java
    Yes, I do still need to do that one.
    See more | Go to post

    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...
    See more | Go to post

    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()
    ...
    See more | Go to post

    Leave a comment:


  • zaidalin79
    started a topic Can anyone else help with an Inventory program?
    in Java

    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.*;
    ...
    See more | Go to post

  • 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!!!
    See more | Go to post

    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...
    See more | Go to post

    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?
    See more | Go to post

    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?
    See more | Go to post

    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]
    See more | Go to post
    Last edited by MMcCarthy; Feb 20 '07, 05:54 AM. Reason: removing program code

    Leave a comment:


  • I m trying... just a sec... dont go away
    See more | Go to post

    Leave a comment:


  • I think we also need an exit statement... every time i run it-it gets stuck...
    See more | Go to post

    Leave a comment:


  • and, can I insert a real picture from a file?
    See more | Go to post

    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?
    See more | Go to post

    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...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...