Search:

Type: Posts; User: subhvi

Search: Search took 0.15 seconds.

  1. Thread: Event handling

    by subhvi
    Replies
    3
    Views
    2,543

    Re: Event handling

    I tried with the following code using KeyTyped Event like,

    private void tfBannerKeyTyped(java.awt.event.KeyEvent evt) {
    if(tfBanner.getText().length() > 10)
    ...
  2. Thread: Event handling

    by subhvi
    Replies
    3
    Views
    2,543

    Re: Event handling

    I dont want to move the cursor.I tried with
    evt.dispatchEvent(evt);

    But its throwing some exception.
  3. Thread: Event handling

    by subhvi
    Replies
    3
    Views
    2,543

    Event handling

    I have one jtextarea component in my GUI.I have to limit the maximum row size is 5.What i have to do?
Results 1 to 3 of 3