Results 1 to 4 of 4
  1. #1
    diva_garg is offline Member
    Join Date
    Aug 2008
    Posts
    8
    Rep Power
    0

    Default Set focus on image button in swt

    HI,

    Can anyone please help me?
    In my application, while doing tab traversal between different components, when the focus is on button having an image on top of it, then it is not possible for the user to get an idea if the focus is set on that image button
    due to that image.
    Can anybody suggest me, how to show focus on image button?

    Thanks & Regards,
    Divya

  2. #2
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    6

    Default

    You can change the color of image or if the image is in between a button then change the background of the button.
    To finish sooner, take your own time....
    Nivedithaaaa

  3. #3
    Harshad is offline Member
    Join Date
    Aug 2008
    Posts
    1
    Rep Power
    0

    Default

    Quote Originally Posted by diva_garg View Post
    HI,

    Can anyone please help me?
    In my application, while doing tab traversal between different components, when the focus is on button having an image on top of it, then it is not possible for the user to get an idea if the focus is set on that image button
    due to that image.
    Can anybody suggest me, how to show focus on image button?

    Thanks & Regards,
    Divya
    hi! im harshad from mum
    would u help in creating round button
    reply

  4. #4
    diva_garg is offline Member
    Join Date
    Aug 2008
    Posts
    8
    Rep Power
    0

    Default

    but the focus is getting covered by that image.
    Setting background color is not fruitful as the image is totally covering the button. Can u plz suggest something else?

Similar Threads

  1. Get Focus on Image button
    By diva_garg in forum SWT / JFace
    Replies: 0
    Last Post: 08-08-2008, 11:14 AM
  2. how to focus to another JTextfield?
    By birdofprey in forum AWT / Swing
    Replies: 2
    Last Post: 04-09-2008, 01:08 PM
  3. Replies: 0
    Last Post: 01-08-2008, 05:29 PM
  4. Focus
    By Marty in forum AWT / Swing
    Replies: 1
    Last Post: 05-31-2007, 02:16 AM
  5. creating an image button when using struts
    By yuchuang in forum Web Frameworks
    Replies: 1
    Last Post: 05-03-2007, 04:48 PM

Posting Permissions

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