Tried to build the search idea with netbeans.