Browse Source

internal frame experiments

master
Konstantin Bulenkov 12 years ago
parent
commit
e5bd060cdb
  1. 3
      .idea/dictionaries/kb.xml
  2. 4
      src/com/bulenkov/darcula/darcula_windows.properties
  3. 22
      src/com/bulenkov/darcula/ui/win/DarculaWindowsInternalFrameUI.java

3
.idea/dictionaries/kb.xml

@ -0,0 +1,3 @@
<component name="ProjectDictionaryState">
<dictionary name="kb" />
</component>

4
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
MenuBar.border=com.bulenkov.darcula.ui.DarculaMenuBarBorder
InternalFrameUI=com.bulenkov.darcula.ui.win.DarculaWindowsInternalFrameUI

22
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));
}
}
Loading…
Cancel
Save