Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Getting Started Using LimeWire + WireShare
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Getting Started Using LimeWire + WireShare Tips on getting started with LimeWire or WireShare. Also a place to seek help getting started. Includes the original LimeWire Pirate Edition thread, with the most up to date LPE installer packages on the internet including File_Girl's LPE version, and WireShare the most upgraded version of them all.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old October 12th, 2010
Apprentice
 
Join Date: October 5th, 2010
Posts: 5
kvnsmnsn is flying high
Default Getting the Check Mark in the Eclipse Debugger

I built LimeWire by downloading the source code to my local Eclipse IDE. I got it to run using Eclipse, and it downloaded a few files just fine.

Now at the top of the LimeWire GUI there's a text field with a label "Search..." in gray, and immediately to its right is a green button with an icon on it that results in tip "Search P2P Network" when you put the mouse over it. The only place in the code where "Search P2P Network" is mentioned is in
".\limewire\private-components\swingui\src\main\java\org\limewire\ui\s wing\search\SearchBar.java" where it's designated as a tool tip for button <searchButton>. The only place in the code where "Search..." is mentioned is in the same file, where it is passed to constructor <PromptTextField()>, creating text field <searchField>.

So I decided I wanted to see what exactly happens when I enter a search string in the <searchField> field and then click on the <searchButton> button. The listener for <searchButton> is defined as a subclass of <ActionListener> which only has one method:

public void actionPerformed(ActionEvent e) {
// Get search text, and add to history if non-empty.
String searchText = getSearchText();
if ( !searchText.isEmpty()
&& SwingUiSettings.KEEP_SEARCH_HISTORY.getValue()) {
SearchBar.this.searchHistory.addEntry(searchText);
}
}

I put a breakpoint right there at the <getSearchText()> call, and the little blue circle appeared to the immediate right of that call. But I didn't get the little check mark that's supposed to go with it. I think I need that check mark there in order for the breakpoint to have any effect, don't I? Does anybody know what I have to do to get the little check mark there?

Kevin S
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 04:44 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.