[Java-gnome-developer] [PATCH] two small patches
Brought to you by:
afcowie
From: Nicholas R. <ni...@mn...> - 2004-10-28 10:16:02
|
Hi, Here are 2 small patches (diff -u) that I would like to submit for possible inclusion in CVS. SimpleList.patch - Fix to avoid a NP exception in getSelected when there is no list element selected. - Add a new method, remove( String ), which removes the given element from the list. HTMLDocument.patch - Add a new method, loadStream( InputStream, String ), which loads the page from the given InputStream. This is useful if you want to use an external tool (for example, Jakarta's HttpClient) to retrieve the page, rather than using the internal retrieval process provided in loadURL( String ). Let me know if you would like the patches in some other form/forum. Comments/critiques are welcome. Nick -- |