Search:

Type: Posts; User: kprofgold

Search: Search took 0.25 seconds.

  1. Replies
    1
    Views
    1,516

    Netbeans GUI help

    I am hoping to get some help with a mortgage calculator assignment I am doing in Netbeans. Here is what I need to do: Write the program in Java (with a graphical user interface) and have it calculate...
  2. Thread: GUI help

    by kprofgold
    Replies
    2
    Views
    284

    Re: GUI help

    Alot of that code is netbeans generated I think the main portion I am having trouble with is in here

    private void exitjButtonActionPerformed(java.awt.event.ActionEv ent evt) {
    System.exit(0);
    }...
  3. Thread: GUI help

    by kprofgold
    Replies
    2
    Views
    284

    GUI help

    Hi can someone take a look at this and help me to figure out how to fix the code? I am using netbeans (as a requirement) and am trying to get my mortgage calculator GUI to work. Im not necessarily...
  4. Thread: GUI's

    by kprofgold
    Replies
    13
    Views
    539

    Re: GUI's

    Sorry, like I said I am really confused and dont know how to code it. Ive had one 3 hour class on this and no programming exp before this. This is all the code I have. From my reading material I...
  5. Thread: GUI's

    by kprofgold
    Replies
    13
    Views
    539

    Re: GUI's

    Oh sorry there is a } to end it but it was lower in the code and I didnt copy it
  6. Thread: GUI's

    by kprofgold
    Replies
    13
    Views
    539

    Re: GUI's

    Thats what Im trying to figure out. I can get results just by running the code in netbeans but in the GUI I cant get it. I have created the GUI jLabel and textfield but cannot figure out how to get...
  7. Thread: GUI's

    by kprofgold
    Replies
    13
    Views
    539

    Re: GUI's

    honestly Im not sure...Im really confused and just copied everything from my netbeans and pasted it.
  8. Thread: GUI's

    by kprofgold
    Replies
    13
    Views
    539

    Re: GUI's

    public class ChangeRequest4 extends javax.swing.JFrame {


    public ChangeRequest4() {
    initComponents();

    }
    private void calculateActionPerformed(java.awt.event.ActionEvent evt) {

    }
  9. Thread: GUI's

    by kprofgold
    Replies
    13
    Views
    539

    Re: GUI's

    public class ChangeRequest4 extends javax.swing.JFrame {


    public ChangeRequest4() {
    initComponents();

    }
    private void calculateActionPerformed(java.awt.event.ActionEven t evt) {

    }
  10. Thread: GUI's

    by kprofgold
    Replies
    13
    Views
    539

    Re: GUI's

    /**
    *
    * @author
    */
    public class ChangeRequest4 extends javax.swing.JFrame {

    /**
    * Creates new form ChangeRequest4
    */
    public ChangeRequest4() {
  11. Thread: GUI's

    by kprofgold
    Replies
    13
    Views
    539

    GUI's

    Hi I am hoping to get some help here because I am completely lost. I am using netbeans and have to come up with this: Write the program in Java (with a graphical user interface) and have it calculate...
  12. Replies
    1
    Views
    388

    Incorrect results

    Hi I was hoping to get some help with my code. I think the formulas may be wrong and I just cant figure it out. My results are incorrect. Here is the assignment with my code. Write the program in...
  13. Replies
    2
    Views
    575

    Re: Arrays for mortgage calc

    Yes it is required by the instructor to use arrays.
  14. Replies
    2
    Views
    575

    Arrays for mortgage calc

    Hi can somebody please help me or give me some direction on how I am supposed to do this: Write the program in Java (without a graphical user interface) and have it calculate the payment amount for 3...
  15. Replies
    2
    Views
    332

    Re: Need help please

    Ive been looking online for the last week trying to figure it out... its just really confusing. Once I got the first formula I was able to come up with the first section but once I was required to...
  16. Replies
    2
    Views
    332

    Need help please

    Hi I am new to Java and have no clue what I am doing and I think my book is confusing me more than it is helping me. Here is what I need to do. Write the program in Java (without a graphical user...
  17. Replies
    14
    Views
    631

    Re: Need help please

    I think I just figured it out. Heres the code

    public class MortgageCalculator {


    public static void main(String[] args) {
    double annualInterest = 5.75; //This is the annual...
  18. Replies
    14
    Views
    631

    Re: Need help please

    Here is what I am supposed to calculate: Calculate and display the monthly payment amount to fully amortize a $200,000.00 loan over a 30 year term at 5.75% interest. And thank you for all of your...
  19. Replies
    14
    Views
    631

    Re: Need help please

    I still havnt been able to fix the math yet.... but I noticed I am also getting a gray line under my loanLengthInMonths...the error is not a known variable in the current context
  20. Replies
    14
    Views
    631

    Re: Need help please

    Ok thank you... I was closing the code before I had even inputted anything and I had to restart my NetBeans for the code to run. But now the calculation is off and I think it may be within the math....
  21. Replies
    14
    Views
    631

    Re: Need help please

    I think this is the error Im not very good at this sorry.

    Listening on javadebug
    Not able to submit breakpoint LineBreakpoint MortgageCalculator.java : 81, reason: The breakpoint is set outside...
  22. Replies
    14
    Views
    631

    Re: Need help please

    I get cannot find symbol, identifier expected, and illegal start of type errors
  23. Replies
    14
    Views
    631

    Re: Need help please

    Would it make a difference if that last println statement was replaced like this:


    package mortgagecalculator;


    /**
    *
    * @author Johnny
    */
  24. Replies
    14
    Views
    631

    Need help please

    I have about 4 hours of class time with Java and have an assignment due. I cant figure out how to fix my code. I know Im having issues with my print statements but I just dont understand it. Here is...
Results 1 to 24 of 24