Пример #1
0
 private Icon getStyleSpecificIcon(String key, TextDirection direction, int type) {
   UNIXToolkit tk = (UNIXToolkit) Toolkit.getDefaultToolkit();
   Image img = tk.getStockIcon(widgetType, key, type, direction.ordinal(), null);
   return (img != null) ? new ImageIcon(img) : null;
 }