48 |
import javax.swing.Icon; |
import javax.swing.Icon; |
49 |
import javax.swing.JComponent; |
import javax.swing.JComponent; |
50 |
import javax.swing.SwingUtilities; |
import javax.swing.SwingUtilities; |
|
import javax.swing.UIDefaults; |
|
51 |
import javax.swing.UIManager; |
import javax.swing.UIManager; |
52 |
import javax.swing.plaf.ComponentUI; |
import javax.swing.plaf.ComponentUI; |
53 |
|
|
121 |
*/ |
*/ |
122 |
public Icon getDefaultIcon() |
public Icon getDefaultIcon() |
123 |
{ |
{ |
124 |
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); |
return UIManager.getIcon(getPropertyPrefix() + "icon"); |
|
return defaults.getIcon(getPropertyPrefix() + "icon"); |
|
125 |
} |
} |
126 |
|
|
127 |
/** |
/** |