Results 1 to 2 of 2
  1. #1
    rahul405804 is offline Member
    Join Date
    Apr 2012
    Posts
    14
    Rep Power
    0

    Unhappy How to search a particular string inside a swing component such as JList?

    Can anyone say how to search a particular string inside a swing component such as JList?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,197
    Rep Power
    19

    Default Re: How to search a particular string inside a swing component such as JList?

    Iterate over the elements and use the appropriate method of String.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Problem while adding component to JPanel or JList??
    By jspexception in forum AWT / Swing
    Replies: 1
    Last Post: 01-27-2012, 12:20 PM
  2. JList inside JScrollPane is not displaying
    By _SAS in forum AWT / Swing
    Replies: 2
    Last Post: 07-31-2011, 08:45 PM
  3. Search within a JList
    By Mikey in forum New To Java
    Replies: 23
    Last Post: 03-24-2011, 12:51 PM
  4. using awt inside an swt component
    By Jyo in forum AWT / Swing
    Replies: 0
    Last Post: 05-26-2010, 07:06 PM
  5. Clicking Items inside of a JList
    By hunterbdb in forum AWT / Swing
    Replies: 9
    Last Post: 10-21-2009, 06:50 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
  •