View Single Post
  #42 (permalink)  
Old January 20th, 2005
jum's Avatar
jum jum is offline
Latest svn User
 
Join Date: April 6th, 2002
Location: Germany
Posts: 174
jum is flying high
Default

Quote:
Originally posted by sberlin
Ohhhh --- Yeah, it's definitely possible to do that.

There's only four progressbars that are used anywhere, though. The first is in the splash screen, the second is in the status bar while LimeWire is visible but still loading the core, the third is all uploads/downloads (they use a single JProgressBar) and the fourth is for the progress of search results (they also all use a single JProgressBar).

You can find the first two in com/limegroup/gnutella/gui/StatusComponent. The one in tables is in com/limegroup/gnutella/gui/tables/ProgressBarRenderer. The one for the search results is in the 'macosx' directory of gui, further in com/limegroup/gnutella/gui/AquaTab. (That one is easiest to change in com/limegroup/gnutella/gui/ProgTabUIFactory, though).
I am currently running a modified LimeWire from CVS that uses the basic UI for the progress bars (quite ugly) and I will see if the memory stays constant. With my current downloads.dat I always have seen the memory grow without bounds. I will report what happens.