}
ToolTipManager.sharedInstance().setInitialDelay(500);
PopupFactory.setSharedInstance(new DCPopupFactory());
EmptyBorder emptyBorder = new EmptyBorder(0, 0, 0, 0);
LineBorder borderDarkest3 = new LineBorder(WidgetUtils.BG_COLOR_DARKEST, 3);
UIManager.put("ScrollPane.border", emptyBorder);
UIManager.put("Menu.border", borderDarkest3);
UIManager.put("Menu.background", WidgetUtils.BG_COLOR_DARKEST);
UIManager.put("Menu.foreground", WidgetUtils.BG_COLOR_BRIGHTEST);
UIManager.put("MenuItem.selectionForeground", WidgetUtils.BG_COLOR_BRIGHTEST);
UIManager.put("MenuItem.selectionBackground", WidgetUtils.BG_COLOR_LESS_DARK);
UIManager.put("List.selectionForeground", WidgetUtils.BG_COLOR_BRIGHTEST);
UIManager.put("List.selectionBackground", WidgetUtils.BG_COLOR_LESS_DARK);
UIManager.put("List.focusCellHighlightBorder", WidgetUtils.BORDER_THIN);
UIManager.put("Tree.selectionForeground", WidgetUtils.BG_COLOR_BRIGHTEST);
UIManager.put("Tree.selectionBackground", WidgetUtils.BG_COLOR_LESS_DARK);
UIManager.put("Tree.selectionBorderColor", WidgetUtils.BG_COLOR_MEDIUM);
UIManager.put("Table.selectionForeground", WidgetUtils.BG_COLOR_BRIGHTEST);
UIManager.put("Table.selectionBackground", WidgetUtils.BG_COLOR_LESS_DARK);
UIManager.put("Table.focusCellHighlightBorder", WidgetUtils.BORDER_THIN);
// splitpane "flattening" (remove bevel like borders in divider)
UIManager.put("SplitPane.border", new EmptyBorder(0, 0, 0, 0));
UIManager.put("SplitPaneDivider.border", new EmptyBorder(0, 0, 0, 0));
UIManager.put("PopupMenu.border", emptyBorder);
UIManager.put("PopupMenu.background", WidgetUtils.BG_COLOR_DARKEST);
UIManager.put("PopupMenu.foreground", WidgetUtils.BG_COLOR_BRIGHTEST);
UIManager.put("MenuItem.border", borderDarkest3);