Results 1 to 2 of 2
  1. #1
    praveenrn is offline Member
    Join Date
    Jul 2007
    Posts
    5
    Rep Power
    0

    Default How can i write listener on ArrowButtons in Basic ScrollBarUI. in 1.5 version

    Hi

    Can any body let me know how can i write listener on ArrowButtons in Basic ScrollBarUI. in 1.5.(JscrollBar)

    I Hope you tested it before you give.Becuse a Runtime Error is screwing me.

    Iam attaching code how tried it and failed to solve.

    Thanks...
    Attached Files Attached Files
    Last edited by praveenrn; 08-03-2007 at 05:30 AM.

  2. #2
    levent Guest

    Default

    Isn't AdjustmentListener enough for your purpose? At the end the position should only be changed by clicking the arrow buttons.

Similar Threads

  1. add an undo listener to a Jtable
    By christina in forum Advanced Java
    Replies: 12
    Last Post: 01-29-2009, 07:47 AM
  2. Listener for JFrame size change
    By Thez in forum AWT / Swing
    Replies: 10
    Last Post: 02-14-2008, 03:10 PM
  3. Listener for SWT event
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-08-2008, 09:04 AM
  4. Listener collision on game
    By cachi in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 07:48 AM
  5. Adding listener to non-Java object?
    By cruxblack in forum Advanced Java
    Replies: 5
    Last Post: 07-30-2007, 02:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •