Search:

Type: Posts; User: Christophe

Search: Search took 0.24 seconds.

  1. Replies
    3
    Views
    5,475

    Re: Passing JTextField as String parameter

    Hello,

    I found the solution for this problem.
    In my procedure I used this code:

    if('string1' == 'string2') {...} => this is wrong since I want to compare the content of the strings, I had to...
  2. Replies
    3
    Views
    5,475

    Re: Passing JTextField as String parameter

    Hi,

    The ...toString() doesn't work either.

    I am not getting a specific error, it just doesn't find any results and returns the String 'no result found' (which I programmed to do if no matches...
  3. Replies
    3
    Views
    5,475

    Passing JTextField as String parameter

    Hello,

    I made a GUI for a simple class that stores accountnumbers and customernames in an arraylist.
    In the class I made a public String getAccountNumber(customername), this returns the...
  4. Replies
    4
    Views
    13,473

    Re: close JDialog on button click

    Hi,

    thank you for the quick reply. The second method with the SwingUtilities did the trick for me.

    Just for the record: I tried to apply your first suggestion but don't know quite how to make...
  5. Replies
    4
    Views
    13,473

    close JDialog on button click

    Hi,

    I am brand new to Java programming, I am trying to implement an actionlistener to a button on a JDialog that closes that same JDialog on a click event.
    Below you can find my code so far. My...
Results 1 to 5 of 5