Search:

Type: Posts; User: Marcusjamaal

Search: Search took 0.30 seconds.

  1. Replies
    1
    Views
    333

    Need help with Date change

    I need help. "The maximum value of day depends on the month for the date. The maximum day for the month of February also depends on the year value for the ExtendedDate object (i.e. is it a leap year...
  2. Replies
    3
    Views
    524

    Re: Need help with GUI

    Here's the swing class.




    package murach.forms;

    import javax.swing.*;

    public class SwingValidator
  3. Replies
    3
    Views
    524

    Need help with GUI

    need help with this GUI. Can't get the calculate button to actually calculate. When I press it nothing happens. Only button that works is the exit button.








    import javax.swing.JFrame;
  4. Replies
    3
    Views
    263

    Re: How to use Array

    I'm sorry jps, I'm a little confused, do you mean where's the loop that will print each entry each time it's entered?

    I was under the impression from the instruction I was given for the assignment...
  5. Replies
    3
    Views
    263

    How to use Array

    Hi, having trouble with this code. Can't figure out how to tell the code to keep printing firstname lastname and etc.. based on what number of students the user enters and how to keep storing it.
    ...
  6. Replies
    2
    Views
    325

    Re: problem with my class

    nvm guys, I apologize. i messed with it enough and figured it out. i couldn't use a package with java as the name.


    package newstuff;
    import java.text.NumberFormat;
    import java.util.Scanner;
    ...
  7. Replies
    2
    Views
    325

    Re: problem with my class

    Now it's giving me errors I don't understand.

    java.lang.SecurityException: Prohibited package name: java
    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:649)
    at...
  8. Replies
    2
    Views
    325

    problem with my class

    I have a question about my code I'm trying for the exercise.

    It says "Error, cannot load ValidatedInvoiceApp." What's wrong?


    package java;
    import java.text.NumberFormat;
    import...
  9. Re: Need help with declaring static method for code.

    Thanks Z! Wow, this is gonna help me a ton!
  10. Re: Need help with declaring static method for code.

    I'm having these problems now with it.

    1. theres a problem with "else without if"

    2. while ( i >= 1) , cannot find symbol <identifier expected>

    3. Alot of number 2 for mutiple functions
  11. Re: Need help with declaring static method for code.

    Z

    heres an updated code...I can say I'm understanding you, but it's alot different then actually doing so...


    public static void main(String[] args) {

    // welcome the user to...
  12. Re: Need help with declaring static method for code.

    Thank you Z! :o. Also yes I do. I'm confused by your message though, if I'm prompting the user to enter input for the value of the numbers, my code must differ from your code to get the first and...
  13. Re: Need help with declaring static method for code.

    Sorry Guys here's what's specifically wrong with it


    1. Illegal start of expression , cannot find symbol, symbol class : class first number, location: class Greatest common division finder.
    ...
  14. Re: Need help with declaring static method for code.

    Thank you. :o
  15. Need help with declaring static method for code.

    Hi everybody I'm extremely new to java programming and was asked to do this >

    " The formula for finding the greatest common divisor of two positive integers x and y
    follows the Euclidean...
Results 1 to 15 of 15