/[classpath]/classpath/javax/swing/plaf/basic/BasicTableUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicTableUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mkoch, Fri Jan 7 18:32:49 2005 UTC revision 1.6 by rabbit78, Fri Jun 3 09:31:32 2005 UTC
# Line 209  public class BasicTableUI Line 209  public class BasicTableUI
209    
210    protected void uninstallDefaults()    protected void uninstallDefaults()
211    {    {
212      table.setFont(null);      // TODO: this method used to do the following which is not
213      table.setGridColor(null);      // quite right (at least it breaks apps that run fine with the
214      table.setForeground(null);      // JDK):
215      table.setBackground(null);      //
216      table.setSelectionForeground(null);      // table.setFont(null);
217      table.setSelectionBackground(null);      // table.setGridColor(null);
218        // table.setForeground(null);
219        // table.setBackground(null);
220        // table.setSelectionForeground(null);
221        // table.setSelectionBackground(null);
222        //
223        // This would leave the component in a corrupt state, which is
224        // not acceptable. A possible solution would be to have component
225        // level defaults installed, that get overridden by the UI defaults
226        // and get restored in this method. I am not quite sure about this
227        // though. / Roman Kennke
228    }    }
229    
230    protected void uninstallKeyboardActions()    protected void uninstallKeyboardActions()

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26