Search:

Type: Posts; User: Leprechaun_hunter

Search: Search took 0.20 seconds.

  1. How do I inherit values in JavaFX?

    I have a text field in the primary stage. I want to retrieve the value entered in the primary stage and print it in the second stage as text. How do I inherit the value?

    i.e. secondaryStage.Text =...
  2. How do I implement a login system in java using arrays

    I did this in Visual Basic a couple of years back. What I'm doing here is creating a login system.
    I have three users and three password respectively.
    i.e. (Username) John - (Password) jMan21 ,...
  3. Replies
    5
    Views
    473

    Re: Simple java method problem

    Okay... So I finally got it to work. I don't know though if this is the appropriate way of doing it.
    Here's my code, please tell me what you think.

    Main class:

    public class Test extends...
  4. Replies
    5
    Views
    473

    Re: Simple java method problem

    I tried to do it this way but it still wont work.

    Main class:

    public class Test
    {
    public static void main(String args[])
    {
    System.out.println("hello Im the Test Class!");
    }
  5. Replies
    5
    Views
    473

    Simple java method problem

    I have a problem with my program. I am trying to call a method from a secondary class in the main class.
    Whenever I debug the Test class I only get the text output "hello, Im the Test class!" or...
  6. How do I call a class in a main class

    This program I have made measures the area of the room.
    Now i want to create two classes. b-(
    This is the original coding I made that works perfectly. But here I put everything in one class:

    ...
  7. [SOLVED] Re: Please help me with this payroll program

    Muhahahahaha!.... Thank you!
  8. [SOLVED] Please help me with this payroll program

    So I designed a payroll program. It works like so:
    The program prompts you to enter the first name and then prompts you to enter the last name of the employee.
    Then it prompts you to enter the...
  9. [SOLVED] Re: Please help with this... I think I have a minor coding error

    Ohhh... hehe. Thanks a million you guys now I get it.. I have been using "==" and "="... She's working perfectly!
  10. [SOLVED] Re: Please help with this... I think I have a minor coding error

    I'm sorry... it is not supposed to match the first input with the second one. It is supposed to put the two together which should give you 44... then matches it with the string 44... if they match...
  11. [SOLVED] Please help with this... I think I have a minor coding error

    So this little program I made is supposed to ask you to enter a number.. it can be any random number that ends with 4. For this example lets use 1234.
    Then it prompts you to enter the second...
  12. Re: I dont see why this program is not doing what it is supposed to

    I edited the code and this is what I have: import javax.swing.JOptionPane;
    import javax.swing.JFrame;

    public class Validation
    {
    public static void main(String[] args) throws Exception
    {...
  13. Re: I dont see why this program is not doing what it is supposed to

    Awesome.. thanks.. i tried highlighting every word individually.. but this should work
  14. I dont see why this program is not doing what it is supposed to

    This program is supposed to request you to enter a number... Then requires you to confirm the same number but only this time without the last digit.

    Like for example: You enter number, e.g....
  15. [SOLVED] Re: I have a problem with this Joption programme.

    Gosh, I'm such an idiot.. i forgot the "class"... This is quite different from the Visual Basic I used last year.
  16. [SOLVED] Re: I have a problem with this Joption programme.

    Im really sorry. I just started java two weeks back. Im not quite sure I understand what you mean
  17. [SOLVED] Re: I have a problem with this Joption programme.

    Oh sorry... And thanks.. It's my first time ever using this site or ever posting to a forum.

    This is what I get:

    C:\Program Files\Java\jdk1.6.0_24\bin>javac Validation.java
    Validation.java:4:...
  18. [SOLVED] I have a problem with this Joption programme.

    I'm trying to create program that allows you to enter a 12 digit number, e.g. xxxxxxxxxxxy... then it asks you to verify the number (but this time you only enter the first 11 digits of the same...
Results 1 to 18 of 18