Search:

Type: Posts; User: aandcmedia

Search: Search took 0.19 seconds.

  1. Replies
    5
    Views
    603

    Re: GUI Question (Jlabe/JTextField)

    I wish that was an option buy my Java class requires we write out the entire thing, my program is looking fine except for this one problem I seem to be facing. I will eventually figure it out, will...
  2. Replies
    5
    Views
    603

    Re: GUI Question (Jlabe/JTextField)

    I have netbeans but I need to learn it this way first before moving onto that way. Any guidance would be much appreciated.
  3. Replies
    5
    Views
    603

    GUI Question (Jlabe/JTextField)

    This is my first time working with JPanels, etc I am trying to make a panel with a bunch of JTextFields and a bunch of JLabels, I want to make the JLabels centered above the JTextFields.

    ...
  4. Replies
    2
    Views
    337

    Re: Name Logic for Program

    In case anyone is wondering how I accomplished it (this is using methods/objects) it turns out that I needed to just default names to First and Last not re-submit data.


    public void...
  5. Replies
    2
    Views
    337

    Name Logic for Program

    I have user enter in a first name. how do I make sure that the first name is at least 2 characters long and only alphanumeric?
  6. Re: Creating object everytime object is called

    Edit: Figured out a different way to do this, I was not thinking correctly when trying to build this program/
  7. Re: Creating object everytime object is called

    Let me re-phrase I am trying to create a way for my program to generate multiple employee's based on user input, ie user enters name, age, etc than it creates employee1, than the user is prompted to...
  8. Creating object everytime object is called

    So here is what happens Employee is created every-time the class runs and totEmployee is the counter that increments each time the class is called. So I am unsure how to change e1 (bolded) each time...
  9. Replies
    3
    Views
    378

    Re: Basic Question Regarding Object/Method

    Thanks appreciate the help!
  10. Replies
    3
    Views
    378

    Basic Question Regarding Object/Method

    So I have created a new class called employee and define a few employee'sL



    //Empty
    Employee e1 = new Employee();
    //Good Values
    Employee e2 = new Employee("1234", "Bruce",...
  11. Replies
    3
    Views
    680

    Prime Number Code Help!

    Alright, I am working with methods for the first time and need help, for some reason my program is not returning the right answer to tell if the number is prime or not, it is part of a larger code...
  12. Replies
    1
    Views
    299

    If/Else Statment Help

    I have a simple If/Else program that wont seem to work correctly! Can anyone spot the error?


    package lab1;
    import javax.swing.JOptionPane;

    public class Exercise_5 {
    public static void...
Results 1 to 12 of 12