Results 1 to 3 of 3
  1. #1
    skafervijay is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Search functionality on Jpanel level

    Hello All,

    I would like to have a search functionality on JPanel level. That JPanel may contains any components like textfiled, list, textarea, table, etc., Is there is any API that will go through the component by component and highlight the search keyword in the jpanel that we are passing ? I don't how much this is possible. Can anybody give me a pointer of this.

    Thanks in advance.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    Just another cross poster.
    Swing - Search functionality on Jpanel level


  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    Yes, once you write it. No, there is no built-in API that will list all your components in a container, determine which of them can contain text, search the text in each, and then create a list of the results.

Similar Threads

  1. JComboBox Functionality
    By Moncleared in forum AWT / Swing
    Replies: 1
    Last Post: 02-19-2009, 08:57 PM
  2. Implement Search Functionality
    By New2484 in forum New To Java
    Replies: 2
    Last Post: 08-27-2008, 08:07 AM
  3. Replies: 5
    Last Post: 08-26-2008, 04:43 PM
  4. Functionality of Buttons
    By ljk8950 in forum AWT / Swing
    Replies: 6
    Last Post: 08-15-2008, 02:44 PM
  5. Change Password Functionality
    By Priyadharshini.s in forum Advanced Java
    Replies: 5
    Last Post: 04-02-2008, 01:56 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