Search:

Type: Posts; User: Norm

Search: Search took 0.20 seconds.

  1. Replies
    5
    Views
    1,198

    Re: Restrict String character's type and location.

    Add some logic to allow those characters in addition to the digits.
  2. Replies
    5
    Views
    1,198

    Re: Restrict String character's type and location.

    Look at how to use the document model used by the JTextField class.
  3. Replies
    5
    Views
    1,198

    Re: Restrict String character's type and location.

    I don't think there is a way to restrict input with the JOptionPane class's methods.
    There is a way by using the model behind a JTextField class.
Results 1 to 3 of 3