diff --git a/.idea/dictionaries/kb.xml b/.idea/dictionaries/kb.xml new file mode 100644 index 0000000..74bf831 --- /dev/null +++ b/.idea/dictionaries/kb.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/com/bulenkov/darcula/darcula_windows.properties b/src/com/bulenkov/darcula/darcula_windows.properties index 3fea07b..8e38720 100644 --- a/src/com/bulenkov/darcula/darcula_windows.properties +++ b/src/com/bulenkov/darcula/darcula_windows.properties @@ -4,4 +4,6 @@ darcula.selectionForeground=bbbbbb PopupMenu.border=com.bulenkov.darcula.ui.DarculaPopupMenuBorder -MenuBar.border=com.bulenkov.darcula.ui.DarculaMenuBarBorder \ No newline at end of file +MenuBar.border=com.bulenkov.darcula.ui.DarculaMenuBarBorder + +InternalFrameUI=com.bulenkov.darcula.ui.win.DarculaWindowsInternalFrameUI \ No newline at end of file diff --git a/src/com/bulenkov/darcula/ui/win/DarculaWindowsInternalFrameUI.java b/src/com/bulenkov/darcula/ui/win/DarculaWindowsInternalFrameUI.java new file mode 100644 index 0000000..64887ba --- /dev/null +++ b/src/com/bulenkov/darcula/ui/win/DarculaWindowsInternalFrameUI.java @@ -0,0 +1,22 @@ +package com.bulenkov.darcula.ui.win; + +import javax.swing.*; +import javax.swing.plaf.ComponentUI; +import javax.swing.plaf.basic.BasicInternalFrameUI; + +/** + * @author Konstantin Bulenkov + */ +public class DarculaWindowsInternalFrameUI extends BasicInternalFrameUI { + public DarculaWindowsInternalFrameUI(JInternalFrame b) { + super(b); + } + + + @SuppressWarnings({"MethodOverridesStaticMethodOfSuperclass", "UnusedDeclaration"}) + public static ComponentUI createUI(JComponent c) { + return new DarculaWindowsInternalFrameUI(((JInternalFrame) c)); + } + + +}