rem
stringlengths 0
477k
| add
stringlengths 0
313k
| context
stringlengths 6
599k
|
---|---|---|
VmProcessor.current().disableReschedule();
|
VmMagic.currentProcessor().disableReschedule(true);
|
public final void stopThreadsAtSafePoint() { VmProcessor.current().disableReschedule(); }
|
final Item res;
|
final WordItem res;
|
protected Item clone(EmitterContext ec) { final Item res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: final X86RegisterPool pool = ec.getPool(); final Register r = pool.request(JvmType.INT); os.writeMOV(INTSIZE, r, reg); res = createReg(getType(), r); pool.transferOwnerTo(r, res); break; case Kind.LOCAL: res = createLocal(getType(), getOffsetToFP()); break; case Kind.CONSTANT: res = cloneConstant(); break; case Kind.FPUSTACK: //TODO notImplemented(); res = null; break; case Kind.STACK: os.writePUSH(Register.SP, 0); res = createStack(getType()); if (VirtualStack.checkOperandStack) { final VirtualStack stack = ec.getVStack(); stack.operandStack.push(res); } break; default: throw new IllegalArgumentException("Invalid item kind"); } return res; }
|
final X86RegisterPool pool = ec.getPool(); final Register r = pool.request(JvmType.INT);
|
res = L1AHelper.requestWordRegister(ec, getType(), false); final Register r = res.getRegister();
|
protected Item clone(EmitterContext ec) { final Item res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: final X86RegisterPool pool = ec.getPool(); final Register r = pool.request(JvmType.INT); os.writeMOV(INTSIZE, r, reg); res = createReg(getType(), r); pool.transferOwnerTo(r, res); break; case Kind.LOCAL: res = createLocal(getType(), getOffsetToFP()); break; case Kind.CONSTANT: res = cloneConstant(); break; case Kind.FPUSTACK: //TODO notImplemented(); res = null; break; case Kind.STACK: os.writePUSH(Register.SP, 0); res = createStack(getType()); if (VirtualStack.checkOperandStack) { final VirtualStack stack = ec.getVStack(); stack.operandStack.push(res); } break; default: throw new IllegalArgumentException("Invalid item kind"); } return res; }
|
res = createReg(getType(), r); pool.transferOwnerTo(r, res);
|
protected Item clone(EmitterContext ec) { final Item res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: final X86RegisterPool pool = ec.getPool(); final Register r = pool.request(JvmType.INT); os.writeMOV(INTSIZE, r, reg); res = createReg(getType(), r); pool.transferOwnerTo(r, res); break; case Kind.LOCAL: res = createLocal(getType(), getOffsetToFP()); break; case Kind.CONSTANT: res = cloneConstant(); break; case Kind.FPUSTACK: //TODO notImplemented(); res = null; break; case Kind.STACK: os.writePUSH(Register.SP, 0); res = createStack(getType()); if (VirtualStack.checkOperandStack) { final VirtualStack stack = ec.getVStack(); stack.operandStack.push(res); } break; default: throw new IllegalArgumentException("Invalid item kind"); } return res; }
|
|
protected abstract Item cloneConstant();
|
protected abstract WordItem cloneConstant();
|
protected abstract Item cloneConstant();
|
return new Dimension(500, 500);
|
return new Dimension(width, height);
|
public Dimension preferredLayoutSize(Container target) { if (target instanceof JSplitPane) { JSplitPane split = (JSplitPane) target; Insets insets = target.getInsets(); int height = 0; int width = 0; for (int i = 0; i < components.length; i++) { if (components[i] == null) continue; Dimension dims = components[i].getPreferredSize(); if (dims != null) { width += dims.width; if (! (components[i] instanceof BasicSplitPaneDivider)) height = Math.max(height, dims.height); } } return new Dimension(500, 500); //width, height); } return null; }
|
return new Dimension(500, 500);
|
return new Dimension(width, height);
|
public Dimension preferredLayoutSize(Container container) { if (container instanceof JSplitPane) { JSplitPane split = (JSplitPane) container; Insets insets = container.getInsets(); int height = 0; int width = 0; for (int i = 0; i < components.length; i++) { if (components[i] == null) continue; Dimension dims = components[i].getPreferredSize(); if (dims != null) { height += dims.height; width = Math.max(width, dims.width); } } return new Dimension(500, 500); //width, height); } return null; }
|
if (byteOrder == UNKNOWN_ENDIAN)
|
if (byteOrder == UNKNOWN_ENDIAN || byteOrder == MAYBE_BIG_ENDIAN || byteOrder == MAYBE_LITTLE_ENDIAN)
|
protected CoderResult decodeLoop (ByteBuffer in, CharBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() int inPos = in.position (); try { while (in.remaining () >= 2) { byte b1 = in.get (); byte b2 = in.get (); // handle byte order mark if (byteOrder == UNKNOWN_ENDIAN) { char c = (char) (((b1 & 0xFF) << 8) | (b2 & 0xFF)); if (c == BYTE_ORDER_MARK) { byteOrder = BIG_ENDIAN; inPos += 2; continue; } else if (c == REVERSED_BYTE_ORDER_MARK) { byteOrder = LITTLE_ENDIAN; inPos += 2; continue; } else { // assume big endian, do not consume bytes, // continue with normal processing byteOrder = BIG_ENDIAN; } } // FIXME: Change so you only do a single comparison here. char c = (byteOrder == BIG_ENDIAN ? (char) (((b1 & 0xFF) << 8) | (b2 & 0xFF)) : (char) (((b2 & 0xFF) << 8) | (b1 & 0xFF))); if (0xD800 <= c && c <= 0xDFFF) { // c is a surrogate // make sure c is a high surrogate if (c > 0xDBFF) return CoderResult.malformedForLength (2); if (in.remaining () < 2) return CoderResult.UNDERFLOW; byte b3 = in.get (); byte b4 = in.get (); char d = (byteOrder == BIG_ENDIAN ? (char) (((b3 & 0xFF) << 8) | (b4 & 0xFF)) : (char) (((b4 & 0xFF) << 8) | (b3 & 0xFF))); // make sure d is a low surrogate if (d < 0xDC00 || d > 0xDFFF) return CoderResult.malformedForLength (2); out.put (c); out.put (d); inPos += 4; } else { if (!out.hasRemaining ()) return CoderResult.UNDERFLOW; out.put (c); inPos += 2; } } return CoderResult.UNDERFLOW; } finally { in.position (inPos); } }
|
byteOrder = BIG_ENDIAN;
|
byteOrder = (byteOrder == MAYBE_LITTLE_ENDIAN ? LITTLE_ENDIAN : BIG_ENDIAN);
|
protected CoderResult decodeLoop (ByteBuffer in, CharBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() int inPos = in.position (); try { while (in.remaining () >= 2) { byte b1 = in.get (); byte b2 = in.get (); // handle byte order mark if (byteOrder == UNKNOWN_ENDIAN) { char c = (char) (((b1 & 0xFF) << 8) | (b2 & 0xFF)); if (c == BYTE_ORDER_MARK) { byteOrder = BIG_ENDIAN; inPos += 2; continue; } else if (c == REVERSED_BYTE_ORDER_MARK) { byteOrder = LITTLE_ENDIAN; inPos += 2; continue; } else { // assume big endian, do not consume bytes, // continue with normal processing byteOrder = BIG_ENDIAN; } } // FIXME: Change so you only do a single comparison here. char c = (byteOrder == BIG_ENDIAN ? (char) (((b1 & 0xFF) << 8) | (b2 & 0xFF)) : (char) (((b2 & 0xFF) << 8) | (b1 & 0xFF))); if (0xD800 <= c && c <= 0xDFFF) { // c is a surrogate // make sure c is a high surrogate if (c > 0xDBFF) return CoderResult.malformedForLength (2); if (in.remaining () < 2) return CoderResult.UNDERFLOW; byte b3 = in.get (); byte b4 = in.get (); char d = (byteOrder == BIG_ENDIAN ? (char) (((b3 & 0xFF) << 8) | (b4 & 0xFF)) : (char) (((b4 & 0xFF) << 8) | (b3 & 0xFF))); // make sure d is a low surrogate if (d < 0xDC00 || d > 0xDFFF) return CoderResult.malformedForLength (2); out.put (c); out.put (d); inPos += 4; } else { if (!out.hasRemaining ()) return CoderResult.UNDERFLOW; out.put (c); inPos += 2; } } return CoderResult.UNDERFLOW; } finally { in.position (inPos); } }
|
return null;
|
return getMinimumSize();
|
public Dimension getMinimumSize(int rows) { return null; }
|
return null;
|
return getPreferredSize();
|
public Dimension getPreferredSize(int rows) { return null; }
|
public MidiUnavailableException(String s)
|
public MidiUnavailableException()
|
public MidiUnavailableException(String s) { super(s); }
|
super(s);
|
super();
|
public MidiUnavailableException(String s) { super(s); }
|
public String getMessage () { if (super.getMessage () == null && exception != null) return exception.getMessage (); return super.getMessage (); }
|
public String getMessage() { String message = super.getMessage(); if (message == null && exception != null) { message = exception.getMessage(); } return message; }
|
public String getMessage () { if (super.getMessage () == null && exception != null) return exception.getMessage (); return super.getMessage (); }
|
} else { if (a instanceof IorProvider && b instanceof IorProvider) { IOR ia = ((IorProvider) a).getIor(); IOR ib = ((IorProvider) b).getIor(); if (ia != null && ib != null) return (ia.equals(ib)); else return ia == ib; }
|
public boolean is_equivalent(org.omg.CORBA.Object target, org.omg.CORBA.Object other ) { if (target == other) return true; if ((target instanceof ObjectImpl) && other instanceof ObjectImpl) { try { org.omg.CORBA.portable.Delegate a = ((ObjectImpl) target)._get_delegate(); org.omg.CORBA.portable.Delegate b = ((ObjectImpl) other)._get_delegate(); if (a == b) { return true; } if (a != null && b != null) { return a.equals(b); } } catch (Exception ex) { // Unable to get one of the delegates. return false; } } return false; }
|
|
{ try
|
throws IOException
|
protected InputStream getStream(URL page) { try { return page.openStream(); } catch (Exception e) { System.out.println("Hhmmm, failed to open stream: " + e); } return null; }
|
catch (Exception e) { System.out.println("Hhmmm, failed to open stream: " + e); } return null; }
|
protected InputStream getStream(URL page) { try { return page.openStream(); } catch (Exception e) { System.out.println("Hhmmm, failed to open stream: " + e); } return null; }
|
|
throws IOException
|
public void read(InputStream in, Object desc) { }
|
|
}
|
public void setText(String text) { try { doc.remove(0, doc.getLength()); doc.insertString(0, text, null); } catch (BadLocationException e) { // This can never happen. } }
|
|
calculatePreferredSize(); layoutContainer(scrollbar);
|
public void stateChanged(ChangeEvent e) { getThumbBounds(); scrollbar.repaint(); }
|
|
width += Math.max(200, scrollbar.getVisibleAmount());
|
width += (scrollbar.getMaximum() - scrollbar.getMinimum());
|
private void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += Math.max(200, scrollbar.getVisibleAmount()); height = Math.max(incrButton.getPreferredSize().height, decrButton.getPreferredSize().height); height = Math.max(getMinimumThumbSize().height, height); height = Math.max(20, height); height = Math.min(getMaximumThumbSize().height, height); } else { height += incrButton.getPreferredSize().getHeight(); height += decrButton.getPreferredSize().getHeight(); height += Math.max(200, scrollbar.getVisibleAmount()); width = Math.max(incrButton.getPreferredSize().width, decrButton.getPreferredSize().width); width = Math.max(getMinimumThumbSize().width, width); width = Math.max(20, width); width = Math.min(getMaximumThumbSize().width, width); } Insets insets = scrollbar.getInsets(); height += insets.top + insets.bottom; width += insets.left + insets.right; preferredSize = new Dimension(width, height); }
|
height += Math.max(200, scrollbar.getVisibleAmount());
|
height += (scrollbar.getMaximum() - scrollbar.getMinimum());
|
private void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += Math.max(200, scrollbar.getVisibleAmount()); height = Math.max(incrButton.getPreferredSize().height, decrButton.getPreferredSize().height); height = Math.max(getMinimumThumbSize().height, height); height = Math.max(20, height); height = Math.min(getMaximumThumbSize().height, height); } else { height += incrButton.getPreferredSize().getHeight(); height += decrButton.getPreferredSize().getHeight(); height += Math.max(200, scrollbar.getVisibleAmount()); width = Math.max(incrButton.getPreferredSize().width, decrButton.getPreferredSize().width); width = Math.max(getMinimumThumbSize().width, width); width = Math.max(20, width); width = Math.min(getMaximumThumbSize().width, width); } Insets insets = scrollbar.getInsets(); height += insets.top + insets.bottom; width += insets.left + insets.right; preferredSize = new Dimension(width, height); }
|
scrollbar.setOpaque(true);
|
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); scrollbar.setForeground(defaults.getColor("ScrollBar.foreground")); scrollbar.setBackground(defaults.getColor("ScrollBar.background")); scrollbar.setBorder(defaults.getBorder("ScrollBar.border")); maximumThumbSize = defaults.getDimension("ScrollBar.maximumThumbSize"); minimumThumbSize = defaults.getDimension("ScrollBar.minimumThumbSize"); }
|
|
protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting)
|
protected void fireValueChanged(int firstIndex, int lastIndex)
|
protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) { ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting); ListSelectionListener[] listeners = getListSelectionListeners(); for (int i = 0; i < listeners.length; ++i) listeners[i].valueChanged(evt); }
|
ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting); ListSelectionListener[] listeners = getListSelectionListeners(); for (int i = 0; i < listeners.length; ++i) listeners[i].valueChanged(evt);
|
fireValueChanged(firstIndex, lastIndex, getValueIsAdjusting());
|
protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) { ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting); ListSelectionListener[] listeners = getListSelectionListeners(); for (int i = 0; i < listeners.length; ++i) listeners[i].valueChanged(evt); }
|
module = (LoginModule) Class.forName (entry.getLoginModuleName()).newInstance();
|
ClassLoader cl = Thread.currentThread().getContextClassLoader(); Class c = Class.forName(entry.getLoginModuleName(), true, cl); module = (LoginModule) c.newInstance();
|
private LoginModule lookupModule (AppConfigurationEntry entry, Subject subject, Map sharedState) throws LoginException { LoginModule module = null; Exception cause = null; try { module = (LoginModule) Class.forName (entry.getLoginModuleName()).newInstance(); } catch (ClassNotFoundException cnfe) { cause = cnfe; } catch (ClassCastException cce) { cause = cce; } catch (IllegalAccessException iae) { cause = iae; } catch (InstantiationException ie) { cause = ie; } if (cause != null) { LoginException le = new LoginException ("could not load module " + entry.getLoginModuleName()); le.initCause (cause); throw le; } module.initialize (subject, cbHandler, sharedState, entry.getOptions()); return module; }
|
public TypeMismatch(String why)
|
public TypeMismatch()
|
public TypeMismatch(String why) { super(why); }
|
super(why);
|
public TypeMismatch(String why) { super(why); }
|
|
"LEFT", "positiveUnitIncrement",
|
"LEFT", "negativeUnitIncrement",
|
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoableEdit.undoText", "Undo", "AbstractUndoableEdit.redoText", "Redo", "Button.background", new ColorUIResource(Color.LIGHT_GRAY), "Button.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { return BasicBorders.getButtonBorder(); } }, "Button.darkShadow", new ColorUIResource(Color.BLACK), "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Button.foreground", new ColorUIResource(Color.BLACK), "Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "Button.highlight", new ColorUIResource(Color.WHITE), "Button.light", new ColorUIResource(Color.LIGHT_GRAY), "Button.margin", new InsetsUIResource(2, 14, 2, 14), "Button.shadow", new ColorUIResource(Color.GRAY), "Button.textIconGap", new Integer(4), "Button.textShiftOffset", new Integer(0), "CheckBox.background", new ColorUIResource(new Color(204, 204, 204)), "CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, null), "CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "CheckBox.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBox.foreground", new ColorUIResource(darkShadow), "CheckBox.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); } }, "CheckBox.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); } }, "CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), "CheckBox.textIconGap", new Integer(4), "CheckBox.textShiftOffset", new Integer(0), "CheckBoxMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.acceleratorForeground", new ColorUIResource(new Color(16, 16, 16)), "CheckBoxMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "CheckBoxMenuItem.background", new ColorUIResource(light), "CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), "CheckBoxMenuItem.borderPainted", Boolean.FALSE, "CheckBoxMenuItem.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxMenuItemIcon(); } }, "CheckBoxMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.foreground", new ColorUIResource(darkShadow), "CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "CheckBoxMenuItem.selectionBackground", new ColorUIResource(Color.black), "CheckBoxMenuItem.selectionForeground", new ColorUIResource(Color.white), "ColorChooser.background", new ColorUIResource(light), "ColorChooser.cancelText", "Cancel", "ColorChooser.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ColorChooser.foreground", new ColorUIResource(darkShadow), "ColorChooser.hsbBlueText", "B", "ColorChooser.hsbBrightnessText", "B", "ColorChooser.hsbGreenText", "G", "ColorChooser.hsbHueText", "H", "ColorChooser.hsbNameText", "HSB", "ColorChooser.hsbRedText", "R", "ColorChooser.hsbSaturationText", "S", "ColorChooser.okText", "OK", "ColorChooser.previewText", "Preview", "ColorChooser.resetText", "Reset", "ColorChooser.rgbBlueMnemonic", "66", "ColorChooser.rgbBlueText", "Blue", "ColorChooser.rgbGreenMnemonic", "78", "ColorChooser.rgbGreenText", "Green", "ColorChooser.rgbNameText", "RGB", "ColorChooser.rgbRedMnemonic", "68", "ColorChooser.rgbRedText", "Red", "ColorChooser.sampleText", "Sample Text Sample Text", "ColorChooser.swatchesDefaultRecentColor", new ColorUIResource(light), "ColorChooser.swatchesNameText", "Swatches", "ColorChooser.swatchesRecentSwatchSize", new Dimension(10, 10), "ColorChooser.swatchesRecentText", "Recent:", "ColorChooser.swatchesSwatchSize", new Dimension(10, 10), "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "hidePopup", "PAGE_UP", "pageUpPassThrough", "PAGE_DOWN", "pageDownPassThrough", "HOME", "homePassThrough", "END", "endPassThrough" }), "ComboBox.background", new ColorUIResource(Color.white), "ComboBox.buttonBackground", new ColorUIResource(light), "ComboBox.buttonDarkShadow", new ColorUIResource(darkShadow), "ComboBox.buttonHighlight", new ColorUIResource(highLight), "ComboBox.buttonShadow", new ColorUIResource(shadow), "ComboBox.disabledBackground", new ColorUIResource(light), "ComboBox.disabledForeground", new ColorUIResource(Color.gray), "ComboBox.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ComboBox.foreground", new ColorUIResource(Color.black), "ComboBox.selectionBackground", new ColorUIResource(0, 0, 128), "ComboBox.selectionForeground", new ColorUIResource(Color.white), "Desktop.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "KP_LEFT", "left", "KP_RIGHT", "right", "ctrl F5", "restore", "LEFT", "left", "ctrl alt F6", "selectNextFrame", "UP", "up", "ctrl F6", "selectNextFrame", "RIGHT", "right", "DOWN", "down", "ctrl F7", "move", "ctrl F8", "resize", "ESCAPE", "escape", "ctrl TAB", "selectNextFrame", "ctrl F9", "minimize", "KP_UP", "up", "ctrl F4", "close", "KP_DOWN", "down", "ctrl F10", "maximize", "ctrl alt shift F6","selectPreviousFrame" }), "DesktopIcon.border", new BorderUIResource.CompoundBorderUIResource(null, null), "EditorPane.background", new ColorUIResource(Color.white), "EditorPane.border", BasicBorders.getMarginBorder(), "EditorPane.caretBlinkRate", new Integer(500), "EditorPane.caretForeground", new ColorUIResource(Color.black), "EditorPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "EditorPane.foreground", new ColorUIResource(Color.black), "EditorPane.inactiveForeground", new ColorUIResource(Color.gray), "EditorPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "EditorPane.margin", new InsetsUIResource(3, 3, 3, 3), "EditorPane.selectionBackground", new ColorUIResource(Color.black), "EditorPane.selectionForeground", new ColorUIResource(Color.white), "FileChooser.acceptAllFileFilterText", "All Files (*.*)", "FileChooser.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancelSelection" }), "FileChooser.cancelButtonMnemonic", "67", "FileChooser.cancelButtonText", "Cancel", "FileChooser.cancelButtonToolTipText", "Abort file chooser dialog", "FileChooser.directoryDescriptionText", "Directory", "FileChooser.fileDescriptionText", "Generic File", "FileChooser.directoryOpenButtonMnemonic", "79", "FileChooser.helpButtonMnemonic", "72", "FileChooser.helpButtonText", "Help", "FileChooser.helpButtonToolTipText", "FileChooser help", "FileChooser.newFolderErrorSeparator", ":", "FileChooser.newFolderErrorText", "Error creating new folder", "FileChooser.openButtonMnemonic", "79", "FileChooser.openButtonText", "Open", "FileChooser.openButtonToolTipText", "Open selected file", "FileChooser.saveButtonMnemonic", "83", "FileChooser.saveButtonText", "Save", "FileChooser.saveButtonToolTipText", "Save selected file", "FileChooser.updateButtonMnemonic", "85", "FileChooser.updateButtonText", "Update", "FileChooser.updateButtonToolTipText", "Update directory listing", "FocusManagerClassName", "TODO", "FormattedTextField.background", new ColorUIResource(light), "FormattedTextField.caretForeground", new ColorUIResource(Color.black), "FormattedTextField.margin", new InsetsUIResource(0, 0, 0, 0), "FormattedTextField.caretBlinkRate", new Integer(500), "FormattedTextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "FormattedTextField.foreground", new ColorUIResource(Color.black), "FormattedTextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("KP_UP"), "increment", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("KP_DOWN"), "decrement", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("UP"), "increment", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("ESCAPE"), "reset-field-edit", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("DOWN"), "decrement", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "FormattedTextField.inactiveBackground", new ColorUIResource(light), "FormattedTextField.inactiveForeground", new ColorUIResource(Color.gray), "FormattedTextField.selectionBackground", new ColorUIResource(Color.black), "FormattedTextField.selectionForeground", new ColorUIResource(Color.white), "FormView.resetButtonText", "Reset", "FormView.submitButtonText", "Submit Query", "InternalFrame.activeTitleBackground", new ColorUIResource(0, 0, 128), "InternalFrame.activeTitleForeground", new ColorUIResource(Color.white), "InternalFrame.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHITE, Color.WHITE, shadowOuter, shadowInner); Border border = new BorderUIResource.CompoundBorderUIResource(outer, inner); return border; } }, "InternalFrame.borderColor", new ColorUIResource(light), "InternalFrame.borderDarkShadow", new ColorUIResource(Color.BLACK), "InternalFrame.borderHighlight", new ColorUIResource(Color.WHITE), "InternalFrame.borderLight", new ColorUIResource(Color.LIGHT_GRAY), "InternalFrame.borderShadow", new ColorUIResource(Color.GRAY), "InternalFrame.closeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); } }, "InternalFrame.iconifyIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.inactiveTitleBackground", new ColorUIResource(Color.gray), "InternalFrame.inactiveTitleForeground", new ColorUIResource(Color.lightGray), "InternalFrame.maximizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.minimizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.titleFont", new FontUIResource("Dialog", Font.BOLD, 12), "InternalFrame.windowBindings", new Object[] { "shift ESCAPE", "showSystemMenu", "ctrl SPACE", "showSystemMenu", "ESCAPE", "showSystemMenu" }, "Label.background", new ColorUIResource(light), "Label.disabledForeground", new ColorUIResource(Color.white), "Label.disabledShadow", new ColorUIResource(shadow), "Label.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Label.foreground", new ColorUIResource(darkShadow), "List.background", new ColorUIResource(Color.white), "List.border", new BasicBorders.MarginBorder(), "List.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLastRow", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstRowChangeLead", KeyStroke.getKeyStroke("shift LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl END"), "selectLastRowChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDown", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("shift KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("HOME"), "selectFirstRow", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUp", KeyStroke.getKeyStroke("PASTE"), "paste" }), "List.font", new FontUIResource("Dialog", Font.PLAIN, 12), "List.foreground", new ColorUIResource(Color.black), "List.selectionBackground", new ColorUIResource(0, 0, 128), "List.selectionForeground", new ColorUIResource(Color.white), "List.focusCellHighlightBorder", new BorderUIResource. LineBorderUIResource(new ColorUIResource(Color.yellow)), "Menu.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.crossMenuMnemonic", Boolean.TRUE, "Menu.acceleratorForeground", new ColorUIResource(darkShadow), "Menu.acceleratorSelectionForeground", new ColorUIResource(Color.white), "Menu.arrowIcon", BasicIconFactory.getMenuArrowIcon(), "Menu.background", new ColorUIResource(light), "Menu.border", new BasicBorders.MarginBorder(), "Menu.borderPainted", Boolean.FALSE, "Menu.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "Menu.consumesTabs", Boolean.TRUE, "Menu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.foreground", new ColorUIResource(darkShadow), "Menu.margin", new InsetsUIResource(2, 2, 2, 2), "Menu.selectedWindowInputMapBindings", new Object[] { "ESCAPE", "cancel", "DOWN", "selectNext", "KP_DOWN", "selectNext", "UP", "selectPrevious", "KP_UP", "selectPrevious", "LEFT", "selectParent", "KP_LEFT", "selectParent", "RIGHT", "selectChild", "KP_RIGHT", "selectChild", "ENTER", "return", "SPACE", "return" }, "Menu.menuPopupOffsetX", new Integer(0), "Menu.menuPopupOffsetY", new Integer(0), "Menu.submenuPopupOffsetX", new Integer(0), "Menu.submenuPopupOffsetY", new Integer(0), "Menu.selectionBackground", new ColorUIResource(Color.black), "Menu.selectionForeground", new ColorUIResource(Color.white), "MenuBar.background", new ColorUIResource(light), "MenuBar.border", new BasicBorders.MenuBarBorder(null, null), "MenuBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuBar.foreground", new ColorUIResource(darkShadow), "MenuBar.highlight", new ColorUIResource(highLight), "MenuBar.shadow", new ColorUIResource(shadow), "MenuBar.windowBindings", new Object[] { "F10", "takeFocus" }, "MenuItem.acceleratorDelimiter", "+", "MenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "MenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "MenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "MenuItem.background", new ColorUIResource(light), "MenuItem.border", new BasicBorders.MarginBorder(), "MenuItem.borderPainted", Boolean.FALSE, "MenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.foreground", new ColorUIResource(darkShadow), "MenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "MenuItem.selectionBackground", new ColorUIResource(Color.black), "MenuItem.selectionForeground", new ColorUIResource(Color.white), "OptionPane.background", new ColorUIResource(light), "OptionPane.border", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonClickThreshhold", new Integer(500), "OptionPane.cancelButtonText", "Cancel", "OptionPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "OptionPane.foreground", new ColorUIResource(darkShadow), "OptionPane.messageAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.messageForeground", new ColorUIResource(darkShadow), "OptionPane.minimumSize", new DimensionUIResource(BasicOptionPaneUI.MinimumWidth, BasicOptionPaneUI.MinimumHeight), "OptionPane.noButtonText", "No", "OptionPane.okButtonText", "OK", "OptionPane.windowBindings", new Object[] { "ESCAPE", "close" }, "OptionPane.yesButtonText", "Yes", "Panel.background", new ColorUIResource(light), "Panel.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Panel.foreground", new ColorUIResource(Color.black), "PasswordField.background", new ColorUIResource(light), "PasswordField.border", new BasicBorders.FieldBorder(null, null, null, null), "PasswordField.caretBlinkRate", new Integer(500), "PasswordField.caretForeground", new ColorUIResource(Color.black), "PasswordField.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "PasswordField.foreground", new ColorUIResource(Color.black), "PasswordField.inactiveBackground", new ColorUIResource(light), "PasswordField.inactiveForeground", new ColorUIResource(Color.gray), "PasswordField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "PasswordField.margin", new InsetsUIResource(0, 0, 0, 0), "PasswordField.selectionBackground", new ColorUIResource(Color.black), "PasswordField.selectionForeground", new ColorUIResource(Color.white), "PopupMenu.background", new ColorUIResource(light), "PopupMenu.border", new BorderUIResource.BevelBorderUIResource(0), "PopupMenu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "PopupMenu.foreground", new ColorUIResource(darkShadow), "ProgressBar.background", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.GREEN, 2), "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", new Integer(0), "ProgressBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ProgressBar.foreground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionBackground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionForeground", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.repaintInterval", new Integer(50), "ProgressBar.cycleTime", new Integer(3000), "RadioButton.background", new ColorUIResource(light), "RadioButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "RadioButton.darkShadow", new ColorUIResource(shadow), "RadioButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "RadioButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButton.foreground", new ColorUIResource(darkShadow), "RadioButton.highlight", new ColorUIResource(highLight), "RadioButton.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); } }, "RadioButton.light", new ColorUIResource(highLight), "RadioButton.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButton.shadow", new ColorUIResource(shadow), "RadioButton.textIconGap", new Integer(4), "RadioButton.textShiftOffset", new Integer(0), "RadioButtonMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "RadioButtonMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "RadioButtonMenuItem.background", new ColorUIResource(light), "RadioButtonMenuItem.border", new BasicBorders.MarginBorder(), "RadioButtonMenuItem.borderPainted", Boolean.FALSE, "RadioButtonMenuItem.checkIcon", BasicIconFactory.getRadioButtonMenuItemIcon(), "RadioButtonMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.foreground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButtonMenuItem.selectionBackground", new ColorUIResource(Color.black), "RadioButtonMenuItem.selectionForeground", new ColorUIResource(Color.white), "RootPane.defaultButtonWindowKeyBindings", new Object[] { "ENTER", "press", "released ENTER", "release", "ctrl ENTER", "press", "ctrl released ENTER", "release" }, "ScrollBar.background", new ColorUIResource(224, 224, 224), "ScrollBar.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "negativeBlockIncrement", "PAGE_DOWN", "positiveBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "positiveUnitIncrement", "KP_UP", "negativeUnitIncrement", "KP_DOWN", "positiveUnitIncrement", "UP", "negativeUnitIncrement", "RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement", "DOWN", "positiveUnitIncrement", "KP_RIGHT", "negativeUnitIncrement" }), "ScrollBar.foreground", new ColorUIResource(light), "ScrollBar.maximumThumbSize", new DimensionUIResource(4096, 4096), "ScrollBar.minimumThumbSize", new DimensionUIResource(8, 8), "ScrollBar.thumb", new ColorUIResource(light), "ScrollBar.thumbDarkShadow", new ColorUIResource(shadow), "ScrollBar.thumbHighlight", new ColorUIResource(highLight), "ScrollBar.thumbShadow", new ColorUIResource(shadow), "ScrollBar.track", new ColorUIResource(light), "ScrollBar.trackHighlight", new ColorUIResource(shadow), "ScrollBar.width", new Integer(16), "ScrollPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "KP_LEFT", "unitScrollLeft", "ctrl PAGE_DOWN","scrollRight", "PAGE_DOWN", "scrollDown", "KP_RIGHT", "unitScrollRight", "LEFT", "unitScrollLeft", "ctrl END", "scrollEnd", "UP", "unitScrollUp", "RIGHT", "unitScrollRight", "DOWN", "unitScrollDown", "ctrl HOME", "scrollHome", "ctrl PAGE_UP", "scrollLeft", "KP_UP", "unitScrollUp", "KP_DOWN", "unitScrollDown" }), "ScrollPane.background", new ColorUIResource(light), "ScrollPane.border", new BorderUIResource.EtchedBorderUIResource(), "ScrollPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ScrollPane.foreground", new ColorUIResource(darkShadow), "Separator.background", new ColorUIResource(highLight), "Separator.foreground", new ColorUIResource(shadow), "Separator.highlight", new ColorUIResource(highLight), "Separator.shadow", new ColorUIResource(shadow), "Slider.background", new ColorUIResource(light), "Slider.focus", new ColorUIResource(shadow), "Slider.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN", "negativeBlockIncrement", "PAGE_DOWN", "negativeBlockIncrement", "PAGE_UP", "positiveBlockIncrement", "ctrl PAGE_UP", "positiveBlockIncrement", "KP_RIGHT", "positiveUnitIncrement", "DOWN", "negativeUnitIncrement", "KP_LEFT", "negativeUnitIncrement", "RIGHT", "positiveUnitIncrement", "KP_DOWN", "negativeUnitIncrement", "UP", "positiveUnitIncrement", "KP_UP", "positiveUnitIncrement", "LEFT", "negativeUnitIncrement", "HOME", "minScroll", "END", "maxScroll" }), "Slider.focusInsets", new InsetsUIResource(2, 2, 2, 2), "Slider.foreground", new ColorUIResource(light), "Slider.highlight", new ColorUIResource(highLight), "Slider.shadow", new ColorUIResource(shadow), "Slider.thumbHeight", new Integer(20), "Slider.thumbWidth", new Integer(11), "Slider.tickHeight", new Integer(12), "Spinner.background", new ColorUIResource(light), "Spinner.foreground", new ColorUIResource(light), "Spinner.arrowButtonSize", new DimensionUIResource(16, 5), "Spinner.editorBorderPainted", Boolean.FALSE, "Spinner.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "F6", "toggleFocus", "F8", "startResize", "END", "selectMax", "HOME", "selectMin", "LEFT", "negativeIncremnent", "KP_UP", "negativeIncrement", "KP_DOWN", "positiveIncrement", "UP", "negativeIncrement", "RIGHT", "positiveIncrement", "KP_LEFT", "negativeIncrement", "DOWN", "positiveIncrement", "KP_RIGHT", "positiveIncrement" }), "SplitPane.background", new ColorUIResource(light), "SplitPane.border", new BasicBorders.SplitPaneBorder(null, null), "SplitPane.darkShadow", new ColorUIResource(shadow), "SplitPane.dividerSize", new Integer(7), "SplitPane.highlight", new ColorUIResource(highLight), "SplitPane.shadow", new ColorUIResource(shadow), "SplitPaneDivider.border", BasicBorders.getSplitPaneDividerBorder(), "SplitPaneDivider.draggingColor", new ColorUIResource(Color.DARK_GRAY), "TabbedPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN","navigatePageDown", "ctrl PAGE_UP", "navigatePageUp", "ctrl UP", "requestFocus", "ctrl KP_UP", "requestFocus" }), "TabbedPane.background", new ColorUIResource(light), "TabbedPane.contentBorderInsets", new InsetsUIResource(2, 2, 3, 3), "TabbedPane.darkShadow", new ColorUIResource(shadow), "TabbedPane.focus", new ColorUIResource(darkShadow), "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("KP_UP"), "navigateUp", KeyStroke.getKeyStroke("LEFT"), "navigateLeft", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("UP"), "navigateUp", KeyStroke.getKeyStroke("KP_DOWN"), "navigateDown", KeyStroke.getKeyStroke("KP_LEFT"), "navigateLeft", KeyStroke.getKeyStroke("RIGHT"), "navigateRight", KeyStroke.getKeyStroke("KP_RIGHT"), "navigateRight", KeyStroke.getKeyStroke("DOWN"), "navigateDown" }), "TabbedPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TabbedPane.foreground", new ColorUIResource(darkShadow), "TabbedPane.highlight", new ColorUIResource(highLight), "TabbedPane.light", new ColorUIResource(highLight), "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.shadow", new ColorUIResource(shadow), "TabbedPane.tabbedPaneContentBorderInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabPadInsets", new InsetsUIResource(1, 1, 1, 1), "TabbedPane.tabsOpaque", Boolean.TRUE, "TabbedPane.tabAreaInsets", new InsetsUIResource(3, 2, 0, 2), "TabbedPane.tabInsets", new InsetsUIResource(0, 4, 1, 4), "TabbedPane.tabRunOverlay", new Integer(2), "TabbedPane.textIconGap", new Integer(4), "Table.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl DOWN", "selectNextRowChangeLead", "ctrl RIGHT", "selectNextColumnChangeLead", "ctrl UP", "selectPreviousRowChangeLead", "ctrl LEFT", "selectPreviousColumnChangeLead", "CUT", "cut", "SPACE", "addToSelection", "ctrl SPACE", "toggleAndAnchor", "shift SPACE", "extendTo", "shift ctrl SPACE", "moveSelectionTo", "ctrl X", "cut", "ctrl C", "copy", "ctrl KP_RIGHT", "selectNextColumnChangeLead", "ctrl KP_LEFT", "selectPreviousColumnChangeLead", "ctrl V", "paste", "ctrl KP_DOWN", "selectNextRowChangeLead", "COPY", "copy", "ctrl KP_UP", "selectPreviousRowChangeLead", "PASTE", "paste", "shift PAGE_DOWN","scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLastColumn", "shift END", "selectLastColumnExtendSelection", "HOME", "selectFirstColumn", "ctrl END", "selectLastRow", "ctrl shift END","selectLastRowExtendSelection", "LEFT", "selectPreviousColumn", "shift HOME", "selectFirstColumnExtendSelection", "UP", "selectPreviousRow", "RIGHT", "selectNextColumn", "ctrl HOME", "selectFirstRow", "shift LEFT", "selectPreviousColumnExtendSelection", "DOWN", "selectNextRow", "ctrl shift HOME","selectFirstRowExtendSelection", "shift UP", "selectPreviousRowExtendSelection", "F2", "startEditing", "shift RIGHT", "selectNextColumnExtendSelection", "TAB", "selectNextColumnCell", "shift DOWN", "selectNextRowExtendSelection", "ENTER", "selectNextRowCell", "KP_UP", "selectPreviousRow", "KP_DOWN", "selectNextRow", "KP_LEFT", "selectPreviousColumn", "KP_RIGHT", "selectNextColumn", "shift TAB", "selectPreviousColumnCell", "ctrl A", "selectAll", "shift ENTER", "selectPreviousRowCell", "shift KP_DOWN", "selectNextRowExtendSelection", "shift KP_LEFT", "selectPreviousColumnExtendSelection", "ESCAPE", "cancel", "ctrl shift PAGE_UP", "scrollLeftExtendSelection", "shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl PAGE_UP", "scrollLeftChangeSelection", "shift PAGE_UP", "scrollUpExtendSelection", "ctrl shift PAGE_DOWN", "scrollRightExtendSelection", "ctrl PAGE_DOWN", "scrollRightChangeSelection", "PAGE_UP", "scrollUpChangeSelection", "ctrl shift LEFT", "selectPreviousColumnExtendSelection", "shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift UP", "selectPreviousRowExtendSelection", "ctrl shift RIGHT", "selectNextColumnExtendSelection", "ctrl shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl shift DOWN", "selectNextRowExtendSelection", "ctrl BACK_SLASH", "clearSelection", "ctrl shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection", "ctrl SLASH", "selectAll", "ctrl shift KP_DOWN", "selectNextRowExtendSelection", }), "Table.background", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellBackground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellForeground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.focusCellHighlightBorder", new BorderUIResource.LineBorderUIResource( new ColorUIResource(255, 255, 0)), "Table.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Table.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.gridColor", new ColorUIResource(new ColorUIResource(128, 128, 128)), "Table.scrollPaneBorder", new BorderUIResource.BevelBorderUIResource(0), "Table.selectionBackground", new ColorUIResource(new ColorUIResource(0, 0, 128)), "Table.selectionForeground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "TableHeader.background", new ColorUIResource(new ColorUIResource(192, 192, 192)), "TableHeader.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TableHeader.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "TextArea.background", new ColorUIResource(light), "TextArea.border", new BorderUIResource(BasicBorders.getMarginBorder()), "TextArea.caretBlinkRate", new Integer(500), "TextArea.caretForeground", new ColorUIResource(Color.black), "TextArea.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "TextArea.foreground", new ColorUIResource(Color.black), "TextArea.inactiveForeground", new ColorUIResource(Color.gray), "TextArea.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextArea.margin", new InsetsUIResource(0, 0, 0, 0), "TextArea.selectionBackground", new ColorUIResource(Color.black), "TextArea.selectionForeground", new ColorUIResource(Color.white), "TextField.background", new ColorUIResource(light), "TextField.border", new BasicBorders.FieldBorder(null, null, null, null), "TextField.caretBlinkRate", new Integer(500), "TextField.caretForeground", new ColorUIResource(Color.black), "TextField.darkShadow", new ColorUIResource(shadow), "TextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "TextField.foreground", new ColorUIResource(Color.black), "TextField.highlight", new ColorUIResource(highLight), "TextField.inactiveBackground", new ColorUIResource(Color.LIGHT_GRAY), "TextField.inactiveForeground", new ColorUIResource(Color.GRAY), "TextField.light", new ColorUIResource(highLight), "TextField.highlight", new ColorUIResource(light), "TextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word" }), "TextField.margin", new InsetsUIResource(0, 0, 0, 0), "TextField.selectionBackground", new ColorUIResource(Color.black), "TextField.selectionForeground", new ColorUIResource(Color.white), "TextPane.background", new ColorUIResource(Color.white), "TextPane.border", BasicBorders.getMarginBorder(), "TextPane.caretBlinkRate", new Integer(500), "TextPane.caretForeground", new ColorUIResource(Color.black), "TextPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "TextPane.foreground", new ColorUIResource(Color.black), "TextPane.inactiveForeground", new ColorUIResource(Color.gray), "TextPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextPane.margin", new InsetsUIResource(3, 3, 3, 3), "TextPane.selectionBackground", new ColorUIResource(Color.black), "TextPane.selectionForeground", new ColorUIResource(Color.white), "TitledBorder.border", new BorderUIResource.EtchedBorderUIResource(), "TitledBorder.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TitledBorder.titleColor", new ColorUIResource(darkShadow), "ToggleButton.background", new ColorUIResource(light), "ToggleButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "ToggleButton.darkShadow", new ColorUIResource(shadow), "ToggleButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "ToggleButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToggleButton.foreground", new ColorUIResource(darkShadow), "ToggleButton.highlight", new ColorUIResource(highLight), "ToggleButton.light", new ColorUIResource(light), "ToggleButton.margin", new InsetsUIResource(2, 14, 2, 14), "ToggleButton.shadow", new ColorUIResource(shadow), "ToggleButton.textIconGap", new Integer(4), "ToggleButton.textShiftOffset", new Integer(0), "ToolBar.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "navigateUp", "KP_UP", "navigateUp", "DOWN", "navigateDown", "KP_DOWN", "navigateDown", "LEFT", "navigateLeft", "KP_LEFT", "navigateLeft", "RIGHT", "navigateRight", "KP_RIGHT", "navigateRight" }), "ToolBar.background", new ColorUIResource(light), "ToolBar.border", new BorderUIResource.EtchedBorderUIResource(), "ToolBar.darkShadow", new ColorUIResource(shadow), "ToolBar.dockingBackground", new ColorUIResource(light), "ToolBar.dockingForeground", new ColorUIResource(Color.red), "ToolBar.floatingBackground", new ColorUIResource(light), "ToolBar.floatingForeground", new ColorUIResource(Color.darkGray), "ToolBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToolBar.foreground", new ColorUIResource(darkShadow), "ToolBar.highlight", new ColorUIResource(highLight), "ToolBar.light", new ColorUIResource(highLight), "ToolBar.separatorSize", new DimensionUIResource(10, 10), "ToolBar.shadow", new ColorUIResource(shadow), "ToolTip.background", new ColorUIResource(light), "ToolTip.border", new BorderUIResource.LineBorderUIResource(Color.lightGray), "ToolTip.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ToolTip.foreground", new ColorUIResource(darkShadow), "Tree.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancel" }), "Tree.background", new ColorUIResource(new Color(255, 255, 255)), "Tree.changeSelectionWithFocus", Boolean.TRUE, "Tree.drawsFocusBorderAroundIcon", Boolean.FALSE, "Tree.editorBorder", new BorderUIResource.LineBorderUIResource(Color.lightGray), "Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "scrollLeft", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLast", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstChangeLead", KeyStroke.getKeyStroke("ctrl END"), "selectLastChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("LEFT"), "selectParent", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectParent", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("ADD"), "expand", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectChild", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDownChangeSelection", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("SUBTRACT"), "collapse", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "scrollLeft", KeyStroke.getKeyStroke("HOME"), "selectFirst", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectChild", KeyStroke.getKeyStroke("F2"), "startEditing", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUpChangeSelection", KeyStroke.getKeyStroke("PASTE"), "paste" }), "Tree.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Tree.foreground", new ColorUIResource(Color.black), "Tree.hash", new ColorUIResource(new Color(128, 128, 128)), "Tree.leftChildIndent", new Integer(7), "Tree.rightChildIndent", new Integer(13), "Tree.rowHeight", new Integer(16), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.selectionBackground", new ColorUIResource(Color.black), "Tree.nonSelectionBackground", new ColorUIResource(new Color(255, 255, 255)), "Tree.selectionBorderColor", new ColorUIResource(Color.black), "Tree.selectionBorder", new BorderUIResource.LineBorderUIResource(Color.black), "Tree.selectionForeground", new ColorUIResource(new Color(255, 255, 255)), "Viewport.background", new ColorUIResource(light), "Viewport.foreground", new ColorUIResource(Color.black), "Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12) }; defaults.putDefaults(uiDefaults); }
|
"RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement",
|
"RIGHT", "positiveUnitIncrement", "KP_LEFT", "negativeUnitIncrement",
|
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoableEdit.undoText", "Undo", "AbstractUndoableEdit.redoText", "Redo", "Button.background", new ColorUIResource(Color.LIGHT_GRAY), "Button.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { return BasicBorders.getButtonBorder(); } }, "Button.darkShadow", new ColorUIResource(Color.BLACK), "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Button.foreground", new ColorUIResource(Color.BLACK), "Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "Button.highlight", new ColorUIResource(Color.WHITE), "Button.light", new ColorUIResource(Color.LIGHT_GRAY), "Button.margin", new InsetsUIResource(2, 14, 2, 14), "Button.shadow", new ColorUIResource(Color.GRAY), "Button.textIconGap", new Integer(4), "Button.textShiftOffset", new Integer(0), "CheckBox.background", new ColorUIResource(new Color(204, 204, 204)), "CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, null), "CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "CheckBox.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBox.foreground", new ColorUIResource(darkShadow), "CheckBox.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); } }, "CheckBox.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); } }, "CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), "CheckBox.textIconGap", new Integer(4), "CheckBox.textShiftOffset", new Integer(0), "CheckBoxMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.acceleratorForeground", new ColorUIResource(new Color(16, 16, 16)), "CheckBoxMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "CheckBoxMenuItem.background", new ColorUIResource(light), "CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), "CheckBoxMenuItem.borderPainted", Boolean.FALSE, "CheckBoxMenuItem.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxMenuItemIcon(); } }, "CheckBoxMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.foreground", new ColorUIResource(darkShadow), "CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "CheckBoxMenuItem.selectionBackground", new ColorUIResource(Color.black), "CheckBoxMenuItem.selectionForeground", new ColorUIResource(Color.white), "ColorChooser.background", new ColorUIResource(light), "ColorChooser.cancelText", "Cancel", "ColorChooser.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ColorChooser.foreground", new ColorUIResource(darkShadow), "ColorChooser.hsbBlueText", "B", "ColorChooser.hsbBrightnessText", "B", "ColorChooser.hsbGreenText", "G", "ColorChooser.hsbHueText", "H", "ColorChooser.hsbNameText", "HSB", "ColorChooser.hsbRedText", "R", "ColorChooser.hsbSaturationText", "S", "ColorChooser.okText", "OK", "ColorChooser.previewText", "Preview", "ColorChooser.resetText", "Reset", "ColorChooser.rgbBlueMnemonic", "66", "ColorChooser.rgbBlueText", "Blue", "ColorChooser.rgbGreenMnemonic", "78", "ColorChooser.rgbGreenText", "Green", "ColorChooser.rgbNameText", "RGB", "ColorChooser.rgbRedMnemonic", "68", "ColorChooser.rgbRedText", "Red", "ColorChooser.sampleText", "Sample Text Sample Text", "ColorChooser.swatchesDefaultRecentColor", new ColorUIResource(light), "ColorChooser.swatchesNameText", "Swatches", "ColorChooser.swatchesRecentSwatchSize", new Dimension(10, 10), "ColorChooser.swatchesRecentText", "Recent:", "ColorChooser.swatchesSwatchSize", new Dimension(10, 10), "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "hidePopup", "PAGE_UP", "pageUpPassThrough", "PAGE_DOWN", "pageDownPassThrough", "HOME", "homePassThrough", "END", "endPassThrough" }), "ComboBox.background", new ColorUIResource(Color.white), "ComboBox.buttonBackground", new ColorUIResource(light), "ComboBox.buttonDarkShadow", new ColorUIResource(darkShadow), "ComboBox.buttonHighlight", new ColorUIResource(highLight), "ComboBox.buttonShadow", new ColorUIResource(shadow), "ComboBox.disabledBackground", new ColorUIResource(light), "ComboBox.disabledForeground", new ColorUIResource(Color.gray), "ComboBox.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ComboBox.foreground", new ColorUIResource(Color.black), "ComboBox.selectionBackground", new ColorUIResource(0, 0, 128), "ComboBox.selectionForeground", new ColorUIResource(Color.white), "Desktop.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "KP_LEFT", "left", "KP_RIGHT", "right", "ctrl F5", "restore", "LEFT", "left", "ctrl alt F6", "selectNextFrame", "UP", "up", "ctrl F6", "selectNextFrame", "RIGHT", "right", "DOWN", "down", "ctrl F7", "move", "ctrl F8", "resize", "ESCAPE", "escape", "ctrl TAB", "selectNextFrame", "ctrl F9", "minimize", "KP_UP", "up", "ctrl F4", "close", "KP_DOWN", "down", "ctrl F10", "maximize", "ctrl alt shift F6","selectPreviousFrame" }), "DesktopIcon.border", new BorderUIResource.CompoundBorderUIResource(null, null), "EditorPane.background", new ColorUIResource(Color.white), "EditorPane.border", BasicBorders.getMarginBorder(), "EditorPane.caretBlinkRate", new Integer(500), "EditorPane.caretForeground", new ColorUIResource(Color.black), "EditorPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "EditorPane.foreground", new ColorUIResource(Color.black), "EditorPane.inactiveForeground", new ColorUIResource(Color.gray), "EditorPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "EditorPane.margin", new InsetsUIResource(3, 3, 3, 3), "EditorPane.selectionBackground", new ColorUIResource(Color.black), "EditorPane.selectionForeground", new ColorUIResource(Color.white), "FileChooser.acceptAllFileFilterText", "All Files (*.*)", "FileChooser.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancelSelection" }), "FileChooser.cancelButtonMnemonic", "67", "FileChooser.cancelButtonText", "Cancel", "FileChooser.cancelButtonToolTipText", "Abort file chooser dialog", "FileChooser.directoryDescriptionText", "Directory", "FileChooser.fileDescriptionText", "Generic File", "FileChooser.directoryOpenButtonMnemonic", "79", "FileChooser.helpButtonMnemonic", "72", "FileChooser.helpButtonText", "Help", "FileChooser.helpButtonToolTipText", "FileChooser help", "FileChooser.newFolderErrorSeparator", ":", "FileChooser.newFolderErrorText", "Error creating new folder", "FileChooser.openButtonMnemonic", "79", "FileChooser.openButtonText", "Open", "FileChooser.openButtonToolTipText", "Open selected file", "FileChooser.saveButtonMnemonic", "83", "FileChooser.saveButtonText", "Save", "FileChooser.saveButtonToolTipText", "Save selected file", "FileChooser.updateButtonMnemonic", "85", "FileChooser.updateButtonText", "Update", "FileChooser.updateButtonToolTipText", "Update directory listing", "FocusManagerClassName", "TODO", "FormattedTextField.background", new ColorUIResource(light), "FormattedTextField.caretForeground", new ColorUIResource(Color.black), "FormattedTextField.margin", new InsetsUIResource(0, 0, 0, 0), "FormattedTextField.caretBlinkRate", new Integer(500), "FormattedTextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "FormattedTextField.foreground", new ColorUIResource(Color.black), "FormattedTextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("KP_UP"), "increment", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("KP_DOWN"), "decrement", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("UP"), "increment", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("ESCAPE"), "reset-field-edit", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("DOWN"), "decrement", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "FormattedTextField.inactiveBackground", new ColorUIResource(light), "FormattedTextField.inactiveForeground", new ColorUIResource(Color.gray), "FormattedTextField.selectionBackground", new ColorUIResource(Color.black), "FormattedTextField.selectionForeground", new ColorUIResource(Color.white), "FormView.resetButtonText", "Reset", "FormView.submitButtonText", "Submit Query", "InternalFrame.activeTitleBackground", new ColorUIResource(0, 0, 128), "InternalFrame.activeTitleForeground", new ColorUIResource(Color.white), "InternalFrame.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHITE, Color.WHITE, shadowOuter, shadowInner); Border border = new BorderUIResource.CompoundBorderUIResource(outer, inner); return border; } }, "InternalFrame.borderColor", new ColorUIResource(light), "InternalFrame.borderDarkShadow", new ColorUIResource(Color.BLACK), "InternalFrame.borderHighlight", new ColorUIResource(Color.WHITE), "InternalFrame.borderLight", new ColorUIResource(Color.LIGHT_GRAY), "InternalFrame.borderShadow", new ColorUIResource(Color.GRAY), "InternalFrame.closeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); } }, "InternalFrame.iconifyIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.inactiveTitleBackground", new ColorUIResource(Color.gray), "InternalFrame.inactiveTitleForeground", new ColorUIResource(Color.lightGray), "InternalFrame.maximizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.minimizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.titleFont", new FontUIResource("Dialog", Font.BOLD, 12), "InternalFrame.windowBindings", new Object[] { "shift ESCAPE", "showSystemMenu", "ctrl SPACE", "showSystemMenu", "ESCAPE", "showSystemMenu" }, "Label.background", new ColorUIResource(light), "Label.disabledForeground", new ColorUIResource(Color.white), "Label.disabledShadow", new ColorUIResource(shadow), "Label.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Label.foreground", new ColorUIResource(darkShadow), "List.background", new ColorUIResource(Color.white), "List.border", new BasicBorders.MarginBorder(), "List.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLastRow", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstRowChangeLead", KeyStroke.getKeyStroke("shift LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl END"), "selectLastRowChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDown", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("shift KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("HOME"), "selectFirstRow", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUp", KeyStroke.getKeyStroke("PASTE"), "paste" }), "List.font", new FontUIResource("Dialog", Font.PLAIN, 12), "List.foreground", new ColorUIResource(Color.black), "List.selectionBackground", new ColorUIResource(0, 0, 128), "List.selectionForeground", new ColorUIResource(Color.white), "List.focusCellHighlightBorder", new BorderUIResource. LineBorderUIResource(new ColorUIResource(Color.yellow)), "Menu.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.crossMenuMnemonic", Boolean.TRUE, "Menu.acceleratorForeground", new ColorUIResource(darkShadow), "Menu.acceleratorSelectionForeground", new ColorUIResource(Color.white), "Menu.arrowIcon", BasicIconFactory.getMenuArrowIcon(), "Menu.background", new ColorUIResource(light), "Menu.border", new BasicBorders.MarginBorder(), "Menu.borderPainted", Boolean.FALSE, "Menu.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "Menu.consumesTabs", Boolean.TRUE, "Menu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.foreground", new ColorUIResource(darkShadow), "Menu.margin", new InsetsUIResource(2, 2, 2, 2), "Menu.selectedWindowInputMapBindings", new Object[] { "ESCAPE", "cancel", "DOWN", "selectNext", "KP_DOWN", "selectNext", "UP", "selectPrevious", "KP_UP", "selectPrevious", "LEFT", "selectParent", "KP_LEFT", "selectParent", "RIGHT", "selectChild", "KP_RIGHT", "selectChild", "ENTER", "return", "SPACE", "return" }, "Menu.menuPopupOffsetX", new Integer(0), "Menu.menuPopupOffsetY", new Integer(0), "Menu.submenuPopupOffsetX", new Integer(0), "Menu.submenuPopupOffsetY", new Integer(0), "Menu.selectionBackground", new ColorUIResource(Color.black), "Menu.selectionForeground", new ColorUIResource(Color.white), "MenuBar.background", new ColorUIResource(light), "MenuBar.border", new BasicBorders.MenuBarBorder(null, null), "MenuBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuBar.foreground", new ColorUIResource(darkShadow), "MenuBar.highlight", new ColorUIResource(highLight), "MenuBar.shadow", new ColorUIResource(shadow), "MenuBar.windowBindings", new Object[] { "F10", "takeFocus" }, "MenuItem.acceleratorDelimiter", "+", "MenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "MenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "MenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "MenuItem.background", new ColorUIResource(light), "MenuItem.border", new BasicBorders.MarginBorder(), "MenuItem.borderPainted", Boolean.FALSE, "MenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.foreground", new ColorUIResource(darkShadow), "MenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "MenuItem.selectionBackground", new ColorUIResource(Color.black), "MenuItem.selectionForeground", new ColorUIResource(Color.white), "OptionPane.background", new ColorUIResource(light), "OptionPane.border", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonClickThreshhold", new Integer(500), "OptionPane.cancelButtonText", "Cancel", "OptionPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "OptionPane.foreground", new ColorUIResource(darkShadow), "OptionPane.messageAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.messageForeground", new ColorUIResource(darkShadow), "OptionPane.minimumSize", new DimensionUIResource(BasicOptionPaneUI.MinimumWidth, BasicOptionPaneUI.MinimumHeight), "OptionPane.noButtonText", "No", "OptionPane.okButtonText", "OK", "OptionPane.windowBindings", new Object[] { "ESCAPE", "close" }, "OptionPane.yesButtonText", "Yes", "Panel.background", new ColorUIResource(light), "Panel.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Panel.foreground", new ColorUIResource(Color.black), "PasswordField.background", new ColorUIResource(light), "PasswordField.border", new BasicBorders.FieldBorder(null, null, null, null), "PasswordField.caretBlinkRate", new Integer(500), "PasswordField.caretForeground", new ColorUIResource(Color.black), "PasswordField.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "PasswordField.foreground", new ColorUIResource(Color.black), "PasswordField.inactiveBackground", new ColorUIResource(light), "PasswordField.inactiveForeground", new ColorUIResource(Color.gray), "PasswordField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "PasswordField.margin", new InsetsUIResource(0, 0, 0, 0), "PasswordField.selectionBackground", new ColorUIResource(Color.black), "PasswordField.selectionForeground", new ColorUIResource(Color.white), "PopupMenu.background", new ColorUIResource(light), "PopupMenu.border", new BorderUIResource.BevelBorderUIResource(0), "PopupMenu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "PopupMenu.foreground", new ColorUIResource(darkShadow), "ProgressBar.background", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.GREEN, 2), "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", new Integer(0), "ProgressBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ProgressBar.foreground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionBackground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionForeground", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.repaintInterval", new Integer(50), "ProgressBar.cycleTime", new Integer(3000), "RadioButton.background", new ColorUIResource(light), "RadioButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "RadioButton.darkShadow", new ColorUIResource(shadow), "RadioButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "RadioButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButton.foreground", new ColorUIResource(darkShadow), "RadioButton.highlight", new ColorUIResource(highLight), "RadioButton.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); } }, "RadioButton.light", new ColorUIResource(highLight), "RadioButton.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButton.shadow", new ColorUIResource(shadow), "RadioButton.textIconGap", new Integer(4), "RadioButton.textShiftOffset", new Integer(0), "RadioButtonMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "RadioButtonMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "RadioButtonMenuItem.background", new ColorUIResource(light), "RadioButtonMenuItem.border", new BasicBorders.MarginBorder(), "RadioButtonMenuItem.borderPainted", Boolean.FALSE, "RadioButtonMenuItem.checkIcon", BasicIconFactory.getRadioButtonMenuItemIcon(), "RadioButtonMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.foreground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButtonMenuItem.selectionBackground", new ColorUIResource(Color.black), "RadioButtonMenuItem.selectionForeground", new ColorUIResource(Color.white), "RootPane.defaultButtonWindowKeyBindings", new Object[] { "ENTER", "press", "released ENTER", "release", "ctrl ENTER", "press", "ctrl released ENTER", "release" }, "ScrollBar.background", new ColorUIResource(224, 224, 224), "ScrollBar.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "negativeBlockIncrement", "PAGE_DOWN", "positiveBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "positiveUnitIncrement", "KP_UP", "negativeUnitIncrement", "KP_DOWN", "positiveUnitIncrement", "UP", "negativeUnitIncrement", "RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement", "DOWN", "positiveUnitIncrement", "KP_RIGHT", "negativeUnitIncrement" }), "ScrollBar.foreground", new ColorUIResource(light), "ScrollBar.maximumThumbSize", new DimensionUIResource(4096, 4096), "ScrollBar.minimumThumbSize", new DimensionUIResource(8, 8), "ScrollBar.thumb", new ColorUIResource(light), "ScrollBar.thumbDarkShadow", new ColorUIResource(shadow), "ScrollBar.thumbHighlight", new ColorUIResource(highLight), "ScrollBar.thumbShadow", new ColorUIResource(shadow), "ScrollBar.track", new ColorUIResource(light), "ScrollBar.trackHighlight", new ColorUIResource(shadow), "ScrollBar.width", new Integer(16), "ScrollPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "KP_LEFT", "unitScrollLeft", "ctrl PAGE_DOWN","scrollRight", "PAGE_DOWN", "scrollDown", "KP_RIGHT", "unitScrollRight", "LEFT", "unitScrollLeft", "ctrl END", "scrollEnd", "UP", "unitScrollUp", "RIGHT", "unitScrollRight", "DOWN", "unitScrollDown", "ctrl HOME", "scrollHome", "ctrl PAGE_UP", "scrollLeft", "KP_UP", "unitScrollUp", "KP_DOWN", "unitScrollDown" }), "ScrollPane.background", new ColorUIResource(light), "ScrollPane.border", new BorderUIResource.EtchedBorderUIResource(), "ScrollPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ScrollPane.foreground", new ColorUIResource(darkShadow), "Separator.background", new ColorUIResource(highLight), "Separator.foreground", new ColorUIResource(shadow), "Separator.highlight", new ColorUIResource(highLight), "Separator.shadow", new ColorUIResource(shadow), "Slider.background", new ColorUIResource(light), "Slider.focus", new ColorUIResource(shadow), "Slider.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN", "negativeBlockIncrement", "PAGE_DOWN", "negativeBlockIncrement", "PAGE_UP", "positiveBlockIncrement", "ctrl PAGE_UP", "positiveBlockIncrement", "KP_RIGHT", "positiveUnitIncrement", "DOWN", "negativeUnitIncrement", "KP_LEFT", "negativeUnitIncrement", "RIGHT", "positiveUnitIncrement", "KP_DOWN", "negativeUnitIncrement", "UP", "positiveUnitIncrement", "KP_UP", "positiveUnitIncrement", "LEFT", "negativeUnitIncrement", "HOME", "minScroll", "END", "maxScroll" }), "Slider.focusInsets", new InsetsUIResource(2, 2, 2, 2), "Slider.foreground", new ColorUIResource(light), "Slider.highlight", new ColorUIResource(highLight), "Slider.shadow", new ColorUIResource(shadow), "Slider.thumbHeight", new Integer(20), "Slider.thumbWidth", new Integer(11), "Slider.tickHeight", new Integer(12), "Spinner.background", new ColorUIResource(light), "Spinner.foreground", new ColorUIResource(light), "Spinner.arrowButtonSize", new DimensionUIResource(16, 5), "Spinner.editorBorderPainted", Boolean.FALSE, "Spinner.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "F6", "toggleFocus", "F8", "startResize", "END", "selectMax", "HOME", "selectMin", "LEFT", "negativeIncremnent", "KP_UP", "negativeIncrement", "KP_DOWN", "positiveIncrement", "UP", "negativeIncrement", "RIGHT", "positiveIncrement", "KP_LEFT", "negativeIncrement", "DOWN", "positiveIncrement", "KP_RIGHT", "positiveIncrement" }), "SplitPane.background", new ColorUIResource(light), "SplitPane.border", new BasicBorders.SplitPaneBorder(null, null), "SplitPane.darkShadow", new ColorUIResource(shadow), "SplitPane.dividerSize", new Integer(7), "SplitPane.highlight", new ColorUIResource(highLight), "SplitPane.shadow", new ColorUIResource(shadow), "SplitPaneDivider.border", BasicBorders.getSplitPaneDividerBorder(), "SplitPaneDivider.draggingColor", new ColorUIResource(Color.DARK_GRAY), "TabbedPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN","navigatePageDown", "ctrl PAGE_UP", "navigatePageUp", "ctrl UP", "requestFocus", "ctrl KP_UP", "requestFocus" }), "TabbedPane.background", new ColorUIResource(light), "TabbedPane.contentBorderInsets", new InsetsUIResource(2, 2, 3, 3), "TabbedPane.darkShadow", new ColorUIResource(shadow), "TabbedPane.focus", new ColorUIResource(darkShadow), "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("KP_UP"), "navigateUp", KeyStroke.getKeyStroke("LEFT"), "navigateLeft", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("UP"), "navigateUp", KeyStroke.getKeyStroke("KP_DOWN"), "navigateDown", KeyStroke.getKeyStroke("KP_LEFT"), "navigateLeft", KeyStroke.getKeyStroke("RIGHT"), "navigateRight", KeyStroke.getKeyStroke("KP_RIGHT"), "navigateRight", KeyStroke.getKeyStroke("DOWN"), "navigateDown" }), "TabbedPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TabbedPane.foreground", new ColorUIResource(darkShadow), "TabbedPane.highlight", new ColorUIResource(highLight), "TabbedPane.light", new ColorUIResource(highLight), "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.shadow", new ColorUIResource(shadow), "TabbedPane.tabbedPaneContentBorderInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabPadInsets", new InsetsUIResource(1, 1, 1, 1), "TabbedPane.tabsOpaque", Boolean.TRUE, "TabbedPane.tabAreaInsets", new InsetsUIResource(3, 2, 0, 2), "TabbedPane.tabInsets", new InsetsUIResource(0, 4, 1, 4), "TabbedPane.tabRunOverlay", new Integer(2), "TabbedPane.textIconGap", new Integer(4), "Table.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl DOWN", "selectNextRowChangeLead", "ctrl RIGHT", "selectNextColumnChangeLead", "ctrl UP", "selectPreviousRowChangeLead", "ctrl LEFT", "selectPreviousColumnChangeLead", "CUT", "cut", "SPACE", "addToSelection", "ctrl SPACE", "toggleAndAnchor", "shift SPACE", "extendTo", "shift ctrl SPACE", "moveSelectionTo", "ctrl X", "cut", "ctrl C", "copy", "ctrl KP_RIGHT", "selectNextColumnChangeLead", "ctrl KP_LEFT", "selectPreviousColumnChangeLead", "ctrl V", "paste", "ctrl KP_DOWN", "selectNextRowChangeLead", "COPY", "copy", "ctrl KP_UP", "selectPreviousRowChangeLead", "PASTE", "paste", "shift PAGE_DOWN","scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLastColumn", "shift END", "selectLastColumnExtendSelection", "HOME", "selectFirstColumn", "ctrl END", "selectLastRow", "ctrl shift END","selectLastRowExtendSelection", "LEFT", "selectPreviousColumn", "shift HOME", "selectFirstColumnExtendSelection", "UP", "selectPreviousRow", "RIGHT", "selectNextColumn", "ctrl HOME", "selectFirstRow", "shift LEFT", "selectPreviousColumnExtendSelection", "DOWN", "selectNextRow", "ctrl shift HOME","selectFirstRowExtendSelection", "shift UP", "selectPreviousRowExtendSelection", "F2", "startEditing", "shift RIGHT", "selectNextColumnExtendSelection", "TAB", "selectNextColumnCell", "shift DOWN", "selectNextRowExtendSelection", "ENTER", "selectNextRowCell", "KP_UP", "selectPreviousRow", "KP_DOWN", "selectNextRow", "KP_LEFT", "selectPreviousColumn", "KP_RIGHT", "selectNextColumn", "shift TAB", "selectPreviousColumnCell", "ctrl A", "selectAll", "shift ENTER", "selectPreviousRowCell", "shift KP_DOWN", "selectNextRowExtendSelection", "shift KP_LEFT", "selectPreviousColumnExtendSelection", "ESCAPE", "cancel", "ctrl shift PAGE_UP", "scrollLeftExtendSelection", "shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl PAGE_UP", "scrollLeftChangeSelection", "shift PAGE_UP", "scrollUpExtendSelection", "ctrl shift PAGE_DOWN", "scrollRightExtendSelection", "ctrl PAGE_DOWN", "scrollRightChangeSelection", "PAGE_UP", "scrollUpChangeSelection", "ctrl shift LEFT", "selectPreviousColumnExtendSelection", "shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift UP", "selectPreviousRowExtendSelection", "ctrl shift RIGHT", "selectNextColumnExtendSelection", "ctrl shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl shift DOWN", "selectNextRowExtendSelection", "ctrl BACK_SLASH", "clearSelection", "ctrl shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection", "ctrl SLASH", "selectAll", "ctrl shift KP_DOWN", "selectNextRowExtendSelection", }), "Table.background", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellBackground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellForeground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.focusCellHighlightBorder", new BorderUIResource.LineBorderUIResource( new ColorUIResource(255, 255, 0)), "Table.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Table.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.gridColor", new ColorUIResource(new ColorUIResource(128, 128, 128)), "Table.scrollPaneBorder", new BorderUIResource.BevelBorderUIResource(0), "Table.selectionBackground", new ColorUIResource(new ColorUIResource(0, 0, 128)), "Table.selectionForeground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "TableHeader.background", new ColorUIResource(new ColorUIResource(192, 192, 192)), "TableHeader.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TableHeader.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "TextArea.background", new ColorUIResource(light), "TextArea.border", new BorderUIResource(BasicBorders.getMarginBorder()), "TextArea.caretBlinkRate", new Integer(500), "TextArea.caretForeground", new ColorUIResource(Color.black), "TextArea.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "TextArea.foreground", new ColorUIResource(Color.black), "TextArea.inactiveForeground", new ColorUIResource(Color.gray), "TextArea.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextArea.margin", new InsetsUIResource(0, 0, 0, 0), "TextArea.selectionBackground", new ColorUIResource(Color.black), "TextArea.selectionForeground", new ColorUIResource(Color.white), "TextField.background", new ColorUIResource(light), "TextField.border", new BasicBorders.FieldBorder(null, null, null, null), "TextField.caretBlinkRate", new Integer(500), "TextField.caretForeground", new ColorUIResource(Color.black), "TextField.darkShadow", new ColorUIResource(shadow), "TextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "TextField.foreground", new ColorUIResource(Color.black), "TextField.highlight", new ColorUIResource(highLight), "TextField.inactiveBackground", new ColorUIResource(Color.LIGHT_GRAY), "TextField.inactiveForeground", new ColorUIResource(Color.GRAY), "TextField.light", new ColorUIResource(highLight), "TextField.highlight", new ColorUIResource(light), "TextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word" }), "TextField.margin", new InsetsUIResource(0, 0, 0, 0), "TextField.selectionBackground", new ColorUIResource(Color.black), "TextField.selectionForeground", new ColorUIResource(Color.white), "TextPane.background", new ColorUIResource(Color.white), "TextPane.border", BasicBorders.getMarginBorder(), "TextPane.caretBlinkRate", new Integer(500), "TextPane.caretForeground", new ColorUIResource(Color.black), "TextPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "TextPane.foreground", new ColorUIResource(Color.black), "TextPane.inactiveForeground", new ColorUIResource(Color.gray), "TextPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextPane.margin", new InsetsUIResource(3, 3, 3, 3), "TextPane.selectionBackground", new ColorUIResource(Color.black), "TextPane.selectionForeground", new ColorUIResource(Color.white), "TitledBorder.border", new BorderUIResource.EtchedBorderUIResource(), "TitledBorder.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TitledBorder.titleColor", new ColorUIResource(darkShadow), "ToggleButton.background", new ColorUIResource(light), "ToggleButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "ToggleButton.darkShadow", new ColorUIResource(shadow), "ToggleButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "ToggleButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToggleButton.foreground", new ColorUIResource(darkShadow), "ToggleButton.highlight", new ColorUIResource(highLight), "ToggleButton.light", new ColorUIResource(light), "ToggleButton.margin", new InsetsUIResource(2, 14, 2, 14), "ToggleButton.shadow", new ColorUIResource(shadow), "ToggleButton.textIconGap", new Integer(4), "ToggleButton.textShiftOffset", new Integer(0), "ToolBar.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "navigateUp", "KP_UP", "navigateUp", "DOWN", "navigateDown", "KP_DOWN", "navigateDown", "LEFT", "navigateLeft", "KP_LEFT", "navigateLeft", "RIGHT", "navigateRight", "KP_RIGHT", "navigateRight" }), "ToolBar.background", new ColorUIResource(light), "ToolBar.border", new BorderUIResource.EtchedBorderUIResource(), "ToolBar.darkShadow", new ColorUIResource(shadow), "ToolBar.dockingBackground", new ColorUIResource(light), "ToolBar.dockingForeground", new ColorUIResource(Color.red), "ToolBar.floatingBackground", new ColorUIResource(light), "ToolBar.floatingForeground", new ColorUIResource(Color.darkGray), "ToolBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToolBar.foreground", new ColorUIResource(darkShadow), "ToolBar.highlight", new ColorUIResource(highLight), "ToolBar.light", new ColorUIResource(highLight), "ToolBar.separatorSize", new DimensionUIResource(10, 10), "ToolBar.shadow", new ColorUIResource(shadow), "ToolTip.background", new ColorUIResource(light), "ToolTip.border", new BorderUIResource.LineBorderUIResource(Color.lightGray), "ToolTip.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ToolTip.foreground", new ColorUIResource(darkShadow), "Tree.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancel" }), "Tree.background", new ColorUIResource(new Color(255, 255, 255)), "Tree.changeSelectionWithFocus", Boolean.TRUE, "Tree.drawsFocusBorderAroundIcon", Boolean.FALSE, "Tree.editorBorder", new BorderUIResource.LineBorderUIResource(Color.lightGray), "Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "scrollLeft", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLast", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstChangeLead", KeyStroke.getKeyStroke("ctrl END"), "selectLastChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("LEFT"), "selectParent", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectParent", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("ADD"), "expand", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectChild", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDownChangeSelection", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("SUBTRACT"), "collapse", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "scrollLeft", KeyStroke.getKeyStroke("HOME"), "selectFirst", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectChild", KeyStroke.getKeyStroke("F2"), "startEditing", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUpChangeSelection", KeyStroke.getKeyStroke("PASTE"), "paste" }), "Tree.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Tree.foreground", new ColorUIResource(Color.black), "Tree.hash", new ColorUIResource(new Color(128, 128, 128)), "Tree.leftChildIndent", new Integer(7), "Tree.rightChildIndent", new Integer(13), "Tree.rowHeight", new Integer(16), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.selectionBackground", new ColorUIResource(Color.black), "Tree.nonSelectionBackground", new ColorUIResource(new Color(255, 255, 255)), "Tree.selectionBorderColor", new ColorUIResource(Color.black), "Tree.selectionBorder", new BorderUIResource.LineBorderUIResource(Color.black), "Tree.selectionForeground", new ColorUIResource(new Color(255, 255, 255)), "Viewport.background", new ColorUIResource(light), "Viewport.foreground", new ColorUIResource(Color.black), "Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12) }; defaults.putDefaults(uiDefaults); }
|
"KP_RIGHT", "negativeUnitIncrement"
|
"KP_RIGHT", "positiveUnitIncrement"
|
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoableEdit.undoText", "Undo", "AbstractUndoableEdit.redoText", "Redo", "Button.background", new ColorUIResource(Color.LIGHT_GRAY), "Button.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { return BasicBorders.getButtonBorder(); } }, "Button.darkShadow", new ColorUIResource(Color.BLACK), "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Button.foreground", new ColorUIResource(Color.BLACK), "Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "Button.highlight", new ColorUIResource(Color.WHITE), "Button.light", new ColorUIResource(Color.LIGHT_GRAY), "Button.margin", new InsetsUIResource(2, 14, 2, 14), "Button.shadow", new ColorUIResource(Color.GRAY), "Button.textIconGap", new Integer(4), "Button.textShiftOffset", new Integer(0), "CheckBox.background", new ColorUIResource(new Color(204, 204, 204)), "CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, null), "CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "CheckBox.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBox.foreground", new ColorUIResource(darkShadow), "CheckBox.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); } }, "CheckBox.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); } }, "CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), "CheckBox.textIconGap", new Integer(4), "CheckBox.textShiftOffset", new Integer(0), "CheckBoxMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.acceleratorForeground", new ColorUIResource(new Color(16, 16, 16)), "CheckBoxMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "CheckBoxMenuItem.background", new ColorUIResource(light), "CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), "CheckBoxMenuItem.borderPainted", Boolean.FALSE, "CheckBoxMenuItem.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxMenuItemIcon(); } }, "CheckBoxMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.foreground", new ColorUIResource(darkShadow), "CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "CheckBoxMenuItem.selectionBackground", new ColorUIResource(Color.black), "CheckBoxMenuItem.selectionForeground", new ColorUIResource(Color.white), "ColorChooser.background", new ColorUIResource(light), "ColorChooser.cancelText", "Cancel", "ColorChooser.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ColorChooser.foreground", new ColorUIResource(darkShadow), "ColorChooser.hsbBlueText", "B", "ColorChooser.hsbBrightnessText", "B", "ColorChooser.hsbGreenText", "G", "ColorChooser.hsbHueText", "H", "ColorChooser.hsbNameText", "HSB", "ColorChooser.hsbRedText", "R", "ColorChooser.hsbSaturationText", "S", "ColorChooser.okText", "OK", "ColorChooser.previewText", "Preview", "ColorChooser.resetText", "Reset", "ColorChooser.rgbBlueMnemonic", "66", "ColorChooser.rgbBlueText", "Blue", "ColorChooser.rgbGreenMnemonic", "78", "ColorChooser.rgbGreenText", "Green", "ColorChooser.rgbNameText", "RGB", "ColorChooser.rgbRedMnemonic", "68", "ColorChooser.rgbRedText", "Red", "ColorChooser.sampleText", "Sample Text Sample Text", "ColorChooser.swatchesDefaultRecentColor", new ColorUIResource(light), "ColorChooser.swatchesNameText", "Swatches", "ColorChooser.swatchesRecentSwatchSize", new Dimension(10, 10), "ColorChooser.swatchesRecentText", "Recent:", "ColorChooser.swatchesSwatchSize", new Dimension(10, 10), "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "hidePopup", "PAGE_UP", "pageUpPassThrough", "PAGE_DOWN", "pageDownPassThrough", "HOME", "homePassThrough", "END", "endPassThrough" }), "ComboBox.background", new ColorUIResource(Color.white), "ComboBox.buttonBackground", new ColorUIResource(light), "ComboBox.buttonDarkShadow", new ColorUIResource(darkShadow), "ComboBox.buttonHighlight", new ColorUIResource(highLight), "ComboBox.buttonShadow", new ColorUIResource(shadow), "ComboBox.disabledBackground", new ColorUIResource(light), "ComboBox.disabledForeground", new ColorUIResource(Color.gray), "ComboBox.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ComboBox.foreground", new ColorUIResource(Color.black), "ComboBox.selectionBackground", new ColorUIResource(0, 0, 128), "ComboBox.selectionForeground", new ColorUIResource(Color.white), "Desktop.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "KP_LEFT", "left", "KP_RIGHT", "right", "ctrl F5", "restore", "LEFT", "left", "ctrl alt F6", "selectNextFrame", "UP", "up", "ctrl F6", "selectNextFrame", "RIGHT", "right", "DOWN", "down", "ctrl F7", "move", "ctrl F8", "resize", "ESCAPE", "escape", "ctrl TAB", "selectNextFrame", "ctrl F9", "minimize", "KP_UP", "up", "ctrl F4", "close", "KP_DOWN", "down", "ctrl F10", "maximize", "ctrl alt shift F6","selectPreviousFrame" }), "DesktopIcon.border", new BorderUIResource.CompoundBorderUIResource(null, null), "EditorPane.background", new ColorUIResource(Color.white), "EditorPane.border", BasicBorders.getMarginBorder(), "EditorPane.caretBlinkRate", new Integer(500), "EditorPane.caretForeground", new ColorUIResource(Color.black), "EditorPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "EditorPane.foreground", new ColorUIResource(Color.black), "EditorPane.inactiveForeground", new ColorUIResource(Color.gray), "EditorPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "EditorPane.margin", new InsetsUIResource(3, 3, 3, 3), "EditorPane.selectionBackground", new ColorUIResource(Color.black), "EditorPane.selectionForeground", new ColorUIResource(Color.white), "FileChooser.acceptAllFileFilterText", "All Files (*.*)", "FileChooser.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancelSelection" }), "FileChooser.cancelButtonMnemonic", "67", "FileChooser.cancelButtonText", "Cancel", "FileChooser.cancelButtonToolTipText", "Abort file chooser dialog", "FileChooser.directoryDescriptionText", "Directory", "FileChooser.fileDescriptionText", "Generic File", "FileChooser.directoryOpenButtonMnemonic", "79", "FileChooser.helpButtonMnemonic", "72", "FileChooser.helpButtonText", "Help", "FileChooser.helpButtonToolTipText", "FileChooser help", "FileChooser.newFolderErrorSeparator", ":", "FileChooser.newFolderErrorText", "Error creating new folder", "FileChooser.openButtonMnemonic", "79", "FileChooser.openButtonText", "Open", "FileChooser.openButtonToolTipText", "Open selected file", "FileChooser.saveButtonMnemonic", "83", "FileChooser.saveButtonText", "Save", "FileChooser.saveButtonToolTipText", "Save selected file", "FileChooser.updateButtonMnemonic", "85", "FileChooser.updateButtonText", "Update", "FileChooser.updateButtonToolTipText", "Update directory listing", "FocusManagerClassName", "TODO", "FormattedTextField.background", new ColorUIResource(light), "FormattedTextField.caretForeground", new ColorUIResource(Color.black), "FormattedTextField.margin", new InsetsUIResource(0, 0, 0, 0), "FormattedTextField.caretBlinkRate", new Integer(500), "FormattedTextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "FormattedTextField.foreground", new ColorUIResource(Color.black), "FormattedTextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("KP_UP"), "increment", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("KP_DOWN"), "decrement", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("UP"), "increment", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("ESCAPE"), "reset-field-edit", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("DOWN"), "decrement", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "FormattedTextField.inactiveBackground", new ColorUIResource(light), "FormattedTextField.inactiveForeground", new ColorUIResource(Color.gray), "FormattedTextField.selectionBackground", new ColorUIResource(Color.black), "FormattedTextField.selectionForeground", new ColorUIResource(Color.white), "FormView.resetButtonText", "Reset", "FormView.submitButtonText", "Submit Query", "InternalFrame.activeTitleBackground", new ColorUIResource(0, 0, 128), "InternalFrame.activeTitleForeground", new ColorUIResource(Color.white), "InternalFrame.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHITE, Color.WHITE, shadowOuter, shadowInner); Border border = new BorderUIResource.CompoundBorderUIResource(outer, inner); return border; } }, "InternalFrame.borderColor", new ColorUIResource(light), "InternalFrame.borderDarkShadow", new ColorUIResource(Color.BLACK), "InternalFrame.borderHighlight", new ColorUIResource(Color.WHITE), "InternalFrame.borderLight", new ColorUIResource(Color.LIGHT_GRAY), "InternalFrame.borderShadow", new ColorUIResource(Color.GRAY), "InternalFrame.closeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); } }, "InternalFrame.iconifyIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.inactiveTitleBackground", new ColorUIResource(Color.gray), "InternalFrame.inactiveTitleForeground", new ColorUIResource(Color.lightGray), "InternalFrame.maximizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.minimizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.titleFont", new FontUIResource("Dialog", Font.BOLD, 12), "InternalFrame.windowBindings", new Object[] { "shift ESCAPE", "showSystemMenu", "ctrl SPACE", "showSystemMenu", "ESCAPE", "showSystemMenu" }, "Label.background", new ColorUIResource(light), "Label.disabledForeground", new ColorUIResource(Color.white), "Label.disabledShadow", new ColorUIResource(shadow), "Label.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Label.foreground", new ColorUIResource(darkShadow), "List.background", new ColorUIResource(Color.white), "List.border", new BasicBorders.MarginBorder(), "List.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLastRow", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstRowChangeLead", KeyStroke.getKeyStroke("shift LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl END"), "selectLastRowChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDown", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("shift KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("HOME"), "selectFirstRow", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUp", KeyStroke.getKeyStroke("PASTE"), "paste" }), "List.font", new FontUIResource("Dialog", Font.PLAIN, 12), "List.foreground", new ColorUIResource(Color.black), "List.selectionBackground", new ColorUIResource(0, 0, 128), "List.selectionForeground", new ColorUIResource(Color.white), "List.focusCellHighlightBorder", new BorderUIResource. LineBorderUIResource(new ColorUIResource(Color.yellow)), "Menu.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.crossMenuMnemonic", Boolean.TRUE, "Menu.acceleratorForeground", new ColorUIResource(darkShadow), "Menu.acceleratorSelectionForeground", new ColorUIResource(Color.white), "Menu.arrowIcon", BasicIconFactory.getMenuArrowIcon(), "Menu.background", new ColorUIResource(light), "Menu.border", new BasicBorders.MarginBorder(), "Menu.borderPainted", Boolean.FALSE, "Menu.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "Menu.consumesTabs", Boolean.TRUE, "Menu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.foreground", new ColorUIResource(darkShadow), "Menu.margin", new InsetsUIResource(2, 2, 2, 2), "Menu.selectedWindowInputMapBindings", new Object[] { "ESCAPE", "cancel", "DOWN", "selectNext", "KP_DOWN", "selectNext", "UP", "selectPrevious", "KP_UP", "selectPrevious", "LEFT", "selectParent", "KP_LEFT", "selectParent", "RIGHT", "selectChild", "KP_RIGHT", "selectChild", "ENTER", "return", "SPACE", "return" }, "Menu.menuPopupOffsetX", new Integer(0), "Menu.menuPopupOffsetY", new Integer(0), "Menu.submenuPopupOffsetX", new Integer(0), "Menu.submenuPopupOffsetY", new Integer(0), "Menu.selectionBackground", new ColorUIResource(Color.black), "Menu.selectionForeground", new ColorUIResource(Color.white), "MenuBar.background", new ColorUIResource(light), "MenuBar.border", new BasicBorders.MenuBarBorder(null, null), "MenuBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuBar.foreground", new ColorUIResource(darkShadow), "MenuBar.highlight", new ColorUIResource(highLight), "MenuBar.shadow", new ColorUIResource(shadow), "MenuBar.windowBindings", new Object[] { "F10", "takeFocus" }, "MenuItem.acceleratorDelimiter", "+", "MenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "MenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "MenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "MenuItem.background", new ColorUIResource(light), "MenuItem.border", new BasicBorders.MarginBorder(), "MenuItem.borderPainted", Boolean.FALSE, "MenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.foreground", new ColorUIResource(darkShadow), "MenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "MenuItem.selectionBackground", new ColorUIResource(Color.black), "MenuItem.selectionForeground", new ColorUIResource(Color.white), "OptionPane.background", new ColorUIResource(light), "OptionPane.border", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonClickThreshhold", new Integer(500), "OptionPane.cancelButtonText", "Cancel", "OptionPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "OptionPane.foreground", new ColorUIResource(darkShadow), "OptionPane.messageAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.messageForeground", new ColorUIResource(darkShadow), "OptionPane.minimumSize", new DimensionUIResource(BasicOptionPaneUI.MinimumWidth, BasicOptionPaneUI.MinimumHeight), "OptionPane.noButtonText", "No", "OptionPane.okButtonText", "OK", "OptionPane.windowBindings", new Object[] { "ESCAPE", "close" }, "OptionPane.yesButtonText", "Yes", "Panel.background", new ColorUIResource(light), "Panel.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Panel.foreground", new ColorUIResource(Color.black), "PasswordField.background", new ColorUIResource(light), "PasswordField.border", new BasicBorders.FieldBorder(null, null, null, null), "PasswordField.caretBlinkRate", new Integer(500), "PasswordField.caretForeground", new ColorUIResource(Color.black), "PasswordField.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "PasswordField.foreground", new ColorUIResource(Color.black), "PasswordField.inactiveBackground", new ColorUIResource(light), "PasswordField.inactiveForeground", new ColorUIResource(Color.gray), "PasswordField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "PasswordField.margin", new InsetsUIResource(0, 0, 0, 0), "PasswordField.selectionBackground", new ColorUIResource(Color.black), "PasswordField.selectionForeground", new ColorUIResource(Color.white), "PopupMenu.background", new ColorUIResource(light), "PopupMenu.border", new BorderUIResource.BevelBorderUIResource(0), "PopupMenu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "PopupMenu.foreground", new ColorUIResource(darkShadow), "ProgressBar.background", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.GREEN, 2), "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", new Integer(0), "ProgressBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ProgressBar.foreground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionBackground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionForeground", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.repaintInterval", new Integer(50), "ProgressBar.cycleTime", new Integer(3000), "RadioButton.background", new ColorUIResource(light), "RadioButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "RadioButton.darkShadow", new ColorUIResource(shadow), "RadioButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "RadioButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButton.foreground", new ColorUIResource(darkShadow), "RadioButton.highlight", new ColorUIResource(highLight), "RadioButton.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); } }, "RadioButton.light", new ColorUIResource(highLight), "RadioButton.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButton.shadow", new ColorUIResource(shadow), "RadioButton.textIconGap", new Integer(4), "RadioButton.textShiftOffset", new Integer(0), "RadioButtonMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "RadioButtonMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "RadioButtonMenuItem.background", new ColorUIResource(light), "RadioButtonMenuItem.border", new BasicBorders.MarginBorder(), "RadioButtonMenuItem.borderPainted", Boolean.FALSE, "RadioButtonMenuItem.checkIcon", BasicIconFactory.getRadioButtonMenuItemIcon(), "RadioButtonMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.foreground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButtonMenuItem.selectionBackground", new ColorUIResource(Color.black), "RadioButtonMenuItem.selectionForeground", new ColorUIResource(Color.white), "RootPane.defaultButtonWindowKeyBindings", new Object[] { "ENTER", "press", "released ENTER", "release", "ctrl ENTER", "press", "ctrl released ENTER", "release" }, "ScrollBar.background", new ColorUIResource(224, 224, 224), "ScrollBar.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "negativeBlockIncrement", "PAGE_DOWN", "positiveBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "positiveUnitIncrement", "KP_UP", "negativeUnitIncrement", "KP_DOWN", "positiveUnitIncrement", "UP", "negativeUnitIncrement", "RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement", "DOWN", "positiveUnitIncrement", "KP_RIGHT", "negativeUnitIncrement" }), "ScrollBar.foreground", new ColorUIResource(light), "ScrollBar.maximumThumbSize", new DimensionUIResource(4096, 4096), "ScrollBar.minimumThumbSize", new DimensionUIResource(8, 8), "ScrollBar.thumb", new ColorUIResource(light), "ScrollBar.thumbDarkShadow", new ColorUIResource(shadow), "ScrollBar.thumbHighlight", new ColorUIResource(highLight), "ScrollBar.thumbShadow", new ColorUIResource(shadow), "ScrollBar.track", new ColorUIResource(light), "ScrollBar.trackHighlight", new ColorUIResource(shadow), "ScrollBar.width", new Integer(16), "ScrollPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "KP_LEFT", "unitScrollLeft", "ctrl PAGE_DOWN","scrollRight", "PAGE_DOWN", "scrollDown", "KP_RIGHT", "unitScrollRight", "LEFT", "unitScrollLeft", "ctrl END", "scrollEnd", "UP", "unitScrollUp", "RIGHT", "unitScrollRight", "DOWN", "unitScrollDown", "ctrl HOME", "scrollHome", "ctrl PAGE_UP", "scrollLeft", "KP_UP", "unitScrollUp", "KP_DOWN", "unitScrollDown" }), "ScrollPane.background", new ColorUIResource(light), "ScrollPane.border", new BorderUIResource.EtchedBorderUIResource(), "ScrollPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ScrollPane.foreground", new ColorUIResource(darkShadow), "Separator.background", new ColorUIResource(highLight), "Separator.foreground", new ColorUIResource(shadow), "Separator.highlight", new ColorUIResource(highLight), "Separator.shadow", new ColorUIResource(shadow), "Slider.background", new ColorUIResource(light), "Slider.focus", new ColorUIResource(shadow), "Slider.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN", "negativeBlockIncrement", "PAGE_DOWN", "negativeBlockIncrement", "PAGE_UP", "positiveBlockIncrement", "ctrl PAGE_UP", "positiveBlockIncrement", "KP_RIGHT", "positiveUnitIncrement", "DOWN", "negativeUnitIncrement", "KP_LEFT", "negativeUnitIncrement", "RIGHT", "positiveUnitIncrement", "KP_DOWN", "negativeUnitIncrement", "UP", "positiveUnitIncrement", "KP_UP", "positiveUnitIncrement", "LEFT", "negativeUnitIncrement", "HOME", "minScroll", "END", "maxScroll" }), "Slider.focusInsets", new InsetsUIResource(2, 2, 2, 2), "Slider.foreground", new ColorUIResource(light), "Slider.highlight", new ColorUIResource(highLight), "Slider.shadow", new ColorUIResource(shadow), "Slider.thumbHeight", new Integer(20), "Slider.thumbWidth", new Integer(11), "Slider.tickHeight", new Integer(12), "Spinner.background", new ColorUIResource(light), "Spinner.foreground", new ColorUIResource(light), "Spinner.arrowButtonSize", new DimensionUIResource(16, 5), "Spinner.editorBorderPainted", Boolean.FALSE, "Spinner.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "F6", "toggleFocus", "F8", "startResize", "END", "selectMax", "HOME", "selectMin", "LEFT", "negativeIncremnent", "KP_UP", "negativeIncrement", "KP_DOWN", "positiveIncrement", "UP", "negativeIncrement", "RIGHT", "positiveIncrement", "KP_LEFT", "negativeIncrement", "DOWN", "positiveIncrement", "KP_RIGHT", "positiveIncrement" }), "SplitPane.background", new ColorUIResource(light), "SplitPane.border", new BasicBorders.SplitPaneBorder(null, null), "SplitPane.darkShadow", new ColorUIResource(shadow), "SplitPane.dividerSize", new Integer(7), "SplitPane.highlight", new ColorUIResource(highLight), "SplitPane.shadow", new ColorUIResource(shadow), "SplitPaneDivider.border", BasicBorders.getSplitPaneDividerBorder(), "SplitPaneDivider.draggingColor", new ColorUIResource(Color.DARK_GRAY), "TabbedPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN","navigatePageDown", "ctrl PAGE_UP", "navigatePageUp", "ctrl UP", "requestFocus", "ctrl KP_UP", "requestFocus" }), "TabbedPane.background", new ColorUIResource(light), "TabbedPane.contentBorderInsets", new InsetsUIResource(2, 2, 3, 3), "TabbedPane.darkShadow", new ColorUIResource(shadow), "TabbedPane.focus", new ColorUIResource(darkShadow), "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("KP_UP"), "navigateUp", KeyStroke.getKeyStroke("LEFT"), "navigateLeft", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("UP"), "navigateUp", KeyStroke.getKeyStroke("KP_DOWN"), "navigateDown", KeyStroke.getKeyStroke("KP_LEFT"), "navigateLeft", KeyStroke.getKeyStroke("RIGHT"), "navigateRight", KeyStroke.getKeyStroke("KP_RIGHT"), "navigateRight", KeyStroke.getKeyStroke("DOWN"), "navigateDown" }), "TabbedPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TabbedPane.foreground", new ColorUIResource(darkShadow), "TabbedPane.highlight", new ColorUIResource(highLight), "TabbedPane.light", new ColorUIResource(highLight), "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.shadow", new ColorUIResource(shadow), "TabbedPane.tabbedPaneContentBorderInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabPadInsets", new InsetsUIResource(1, 1, 1, 1), "TabbedPane.tabsOpaque", Boolean.TRUE, "TabbedPane.tabAreaInsets", new InsetsUIResource(3, 2, 0, 2), "TabbedPane.tabInsets", new InsetsUIResource(0, 4, 1, 4), "TabbedPane.tabRunOverlay", new Integer(2), "TabbedPane.textIconGap", new Integer(4), "Table.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl DOWN", "selectNextRowChangeLead", "ctrl RIGHT", "selectNextColumnChangeLead", "ctrl UP", "selectPreviousRowChangeLead", "ctrl LEFT", "selectPreviousColumnChangeLead", "CUT", "cut", "SPACE", "addToSelection", "ctrl SPACE", "toggleAndAnchor", "shift SPACE", "extendTo", "shift ctrl SPACE", "moveSelectionTo", "ctrl X", "cut", "ctrl C", "copy", "ctrl KP_RIGHT", "selectNextColumnChangeLead", "ctrl KP_LEFT", "selectPreviousColumnChangeLead", "ctrl V", "paste", "ctrl KP_DOWN", "selectNextRowChangeLead", "COPY", "copy", "ctrl KP_UP", "selectPreviousRowChangeLead", "PASTE", "paste", "shift PAGE_DOWN","scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLastColumn", "shift END", "selectLastColumnExtendSelection", "HOME", "selectFirstColumn", "ctrl END", "selectLastRow", "ctrl shift END","selectLastRowExtendSelection", "LEFT", "selectPreviousColumn", "shift HOME", "selectFirstColumnExtendSelection", "UP", "selectPreviousRow", "RIGHT", "selectNextColumn", "ctrl HOME", "selectFirstRow", "shift LEFT", "selectPreviousColumnExtendSelection", "DOWN", "selectNextRow", "ctrl shift HOME","selectFirstRowExtendSelection", "shift UP", "selectPreviousRowExtendSelection", "F2", "startEditing", "shift RIGHT", "selectNextColumnExtendSelection", "TAB", "selectNextColumnCell", "shift DOWN", "selectNextRowExtendSelection", "ENTER", "selectNextRowCell", "KP_UP", "selectPreviousRow", "KP_DOWN", "selectNextRow", "KP_LEFT", "selectPreviousColumn", "KP_RIGHT", "selectNextColumn", "shift TAB", "selectPreviousColumnCell", "ctrl A", "selectAll", "shift ENTER", "selectPreviousRowCell", "shift KP_DOWN", "selectNextRowExtendSelection", "shift KP_LEFT", "selectPreviousColumnExtendSelection", "ESCAPE", "cancel", "ctrl shift PAGE_UP", "scrollLeftExtendSelection", "shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl PAGE_UP", "scrollLeftChangeSelection", "shift PAGE_UP", "scrollUpExtendSelection", "ctrl shift PAGE_DOWN", "scrollRightExtendSelection", "ctrl PAGE_DOWN", "scrollRightChangeSelection", "PAGE_UP", "scrollUpChangeSelection", "ctrl shift LEFT", "selectPreviousColumnExtendSelection", "shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift UP", "selectPreviousRowExtendSelection", "ctrl shift RIGHT", "selectNextColumnExtendSelection", "ctrl shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl shift DOWN", "selectNextRowExtendSelection", "ctrl BACK_SLASH", "clearSelection", "ctrl shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection", "ctrl SLASH", "selectAll", "ctrl shift KP_DOWN", "selectNextRowExtendSelection", }), "Table.background", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellBackground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellForeground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.focusCellHighlightBorder", new BorderUIResource.LineBorderUIResource( new ColorUIResource(255, 255, 0)), "Table.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Table.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.gridColor", new ColorUIResource(new ColorUIResource(128, 128, 128)), "Table.scrollPaneBorder", new BorderUIResource.BevelBorderUIResource(0), "Table.selectionBackground", new ColorUIResource(new ColorUIResource(0, 0, 128)), "Table.selectionForeground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "TableHeader.background", new ColorUIResource(new ColorUIResource(192, 192, 192)), "TableHeader.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TableHeader.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "TextArea.background", new ColorUIResource(light), "TextArea.border", new BorderUIResource(BasicBorders.getMarginBorder()), "TextArea.caretBlinkRate", new Integer(500), "TextArea.caretForeground", new ColorUIResource(Color.black), "TextArea.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "TextArea.foreground", new ColorUIResource(Color.black), "TextArea.inactiveForeground", new ColorUIResource(Color.gray), "TextArea.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextArea.margin", new InsetsUIResource(0, 0, 0, 0), "TextArea.selectionBackground", new ColorUIResource(Color.black), "TextArea.selectionForeground", new ColorUIResource(Color.white), "TextField.background", new ColorUIResource(light), "TextField.border", new BasicBorders.FieldBorder(null, null, null, null), "TextField.caretBlinkRate", new Integer(500), "TextField.caretForeground", new ColorUIResource(Color.black), "TextField.darkShadow", new ColorUIResource(shadow), "TextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "TextField.foreground", new ColorUIResource(Color.black), "TextField.highlight", new ColorUIResource(highLight), "TextField.inactiveBackground", new ColorUIResource(Color.LIGHT_GRAY), "TextField.inactiveForeground", new ColorUIResource(Color.GRAY), "TextField.light", new ColorUIResource(highLight), "TextField.highlight", new ColorUIResource(light), "TextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word" }), "TextField.margin", new InsetsUIResource(0, 0, 0, 0), "TextField.selectionBackground", new ColorUIResource(Color.black), "TextField.selectionForeground", new ColorUIResource(Color.white), "TextPane.background", new ColorUIResource(Color.white), "TextPane.border", BasicBorders.getMarginBorder(), "TextPane.caretBlinkRate", new Integer(500), "TextPane.caretForeground", new ColorUIResource(Color.black), "TextPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "TextPane.foreground", new ColorUIResource(Color.black), "TextPane.inactiveForeground", new ColorUIResource(Color.gray), "TextPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextPane.margin", new InsetsUIResource(3, 3, 3, 3), "TextPane.selectionBackground", new ColorUIResource(Color.black), "TextPane.selectionForeground", new ColorUIResource(Color.white), "TitledBorder.border", new BorderUIResource.EtchedBorderUIResource(), "TitledBorder.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TitledBorder.titleColor", new ColorUIResource(darkShadow), "ToggleButton.background", new ColorUIResource(light), "ToggleButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "ToggleButton.darkShadow", new ColorUIResource(shadow), "ToggleButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "ToggleButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToggleButton.foreground", new ColorUIResource(darkShadow), "ToggleButton.highlight", new ColorUIResource(highLight), "ToggleButton.light", new ColorUIResource(light), "ToggleButton.margin", new InsetsUIResource(2, 14, 2, 14), "ToggleButton.shadow", new ColorUIResource(shadow), "ToggleButton.textIconGap", new Integer(4), "ToggleButton.textShiftOffset", new Integer(0), "ToolBar.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "navigateUp", "KP_UP", "navigateUp", "DOWN", "navigateDown", "KP_DOWN", "navigateDown", "LEFT", "navigateLeft", "KP_LEFT", "navigateLeft", "RIGHT", "navigateRight", "KP_RIGHT", "navigateRight" }), "ToolBar.background", new ColorUIResource(light), "ToolBar.border", new BorderUIResource.EtchedBorderUIResource(), "ToolBar.darkShadow", new ColorUIResource(shadow), "ToolBar.dockingBackground", new ColorUIResource(light), "ToolBar.dockingForeground", new ColorUIResource(Color.red), "ToolBar.floatingBackground", new ColorUIResource(light), "ToolBar.floatingForeground", new ColorUIResource(Color.darkGray), "ToolBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToolBar.foreground", new ColorUIResource(darkShadow), "ToolBar.highlight", new ColorUIResource(highLight), "ToolBar.light", new ColorUIResource(highLight), "ToolBar.separatorSize", new DimensionUIResource(10, 10), "ToolBar.shadow", new ColorUIResource(shadow), "ToolTip.background", new ColorUIResource(light), "ToolTip.border", new BorderUIResource.LineBorderUIResource(Color.lightGray), "ToolTip.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ToolTip.foreground", new ColorUIResource(darkShadow), "Tree.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancel" }), "Tree.background", new ColorUIResource(new Color(255, 255, 255)), "Tree.changeSelectionWithFocus", Boolean.TRUE, "Tree.drawsFocusBorderAroundIcon", Boolean.FALSE, "Tree.editorBorder", new BorderUIResource.LineBorderUIResource(Color.lightGray), "Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "scrollLeft", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLast", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstChangeLead", KeyStroke.getKeyStroke("ctrl END"), "selectLastChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("LEFT"), "selectParent", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectParent", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("ADD"), "expand", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectChild", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDownChangeSelection", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("SUBTRACT"), "collapse", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "scrollLeft", KeyStroke.getKeyStroke("HOME"), "selectFirst", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectChild", KeyStroke.getKeyStroke("F2"), "startEditing", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUpChangeSelection", KeyStroke.getKeyStroke("PASTE"), "paste" }), "Tree.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Tree.foreground", new ColorUIResource(Color.black), "Tree.hash", new ColorUIResource(new Color(128, 128, 128)), "Tree.leftChildIndent", new Integer(7), "Tree.rightChildIndent", new Integer(13), "Tree.rowHeight", new Integer(16), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.selectionBackground", new ColorUIResource(Color.black), "Tree.nonSelectionBackground", new ColorUIResource(new Color(255, 255, 255)), "Tree.selectionBorderColor", new ColorUIResource(Color.black), "Tree.selectionBorder", new BorderUIResource.LineBorderUIResource(Color.black), "Tree.selectionForeground", new ColorUIResource(new Color(255, 255, 255)), "Viewport.background", new ColorUIResource(light), "Viewport.foreground", new ColorUIResource(Color.black), "Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12) }; defaults.putDefaults(uiDefaults); }
|
"LEFT", "negativeIncremnent",
|
"LEFT", "negativeIncrement",
|
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoableEdit.undoText", "Undo", "AbstractUndoableEdit.redoText", "Redo", "Button.background", new ColorUIResource(Color.LIGHT_GRAY), "Button.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { return BasicBorders.getButtonBorder(); } }, "Button.darkShadow", new ColorUIResource(Color.BLACK), "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Button.foreground", new ColorUIResource(Color.BLACK), "Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "Button.highlight", new ColorUIResource(Color.WHITE), "Button.light", new ColorUIResource(Color.LIGHT_GRAY), "Button.margin", new InsetsUIResource(2, 14, 2, 14), "Button.shadow", new ColorUIResource(Color.GRAY), "Button.textIconGap", new Integer(4), "Button.textShiftOffset", new Integer(0), "CheckBox.background", new ColorUIResource(new Color(204, 204, 204)), "CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, null), "CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "CheckBox.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBox.foreground", new ColorUIResource(darkShadow), "CheckBox.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); } }, "CheckBox.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); } }, "CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), "CheckBox.textIconGap", new Integer(4), "CheckBox.textShiftOffset", new Integer(0), "CheckBoxMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.acceleratorForeground", new ColorUIResource(new Color(16, 16, 16)), "CheckBoxMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "CheckBoxMenuItem.background", new ColorUIResource(light), "CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), "CheckBoxMenuItem.borderPainted", Boolean.FALSE, "CheckBoxMenuItem.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxMenuItemIcon(); } }, "CheckBoxMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.foreground", new ColorUIResource(darkShadow), "CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "CheckBoxMenuItem.selectionBackground", new ColorUIResource(Color.black), "CheckBoxMenuItem.selectionForeground", new ColorUIResource(Color.white), "ColorChooser.background", new ColorUIResource(light), "ColorChooser.cancelText", "Cancel", "ColorChooser.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ColorChooser.foreground", new ColorUIResource(darkShadow), "ColorChooser.hsbBlueText", "B", "ColorChooser.hsbBrightnessText", "B", "ColorChooser.hsbGreenText", "G", "ColorChooser.hsbHueText", "H", "ColorChooser.hsbNameText", "HSB", "ColorChooser.hsbRedText", "R", "ColorChooser.hsbSaturationText", "S", "ColorChooser.okText", "OK", "ColorChooser.previewText", "Preview", "ColorChooser.resetText", "Reset", "ColorChooser.rgbBlueMnemonic", "66", "ColorChooser.rgbBlueText", "Blue", "ColorChooser.rgbGreenMnemonic", "78", "ColorChooser.rgbGreenText", "Green", "ColorChooser.rgbNameText", "RGB", "ColorChooser.rgbRedMnemonic", "68", "ColorChooser.rgbRedText", "Red", "ColorChooser.sampleText", "Sample Text Sample Text", "ColorChooser.swatchesDefaultRecentColor", new ColorUIResource(light), "ColorChooser.swatchesNameText", "Swatches", "ColorChooser.swatchesRecentSwatchSize", new Dimension(10, 10), "ColorChooser.swatchesRecentText", "Recent:", "ColorChooser.swatchesSwatchSize", new Dimension(10, 10), "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "hidePopup", "PAGE_UP", "pageUpPassThrough", "PAGE_DOWN", "pageDownPassThrough", "HOME", "homePassThrough", "END", "endPassThrough" }), "ComboBox.background", new ColorUIResource(Color.white), "ComboBox.buttonBackground", new ColorUIResource(light), "ComboBox.buttonDarkShadow", new ColorUIResource(darkShadow), "ComboBox.buttonHighlight", new ColorUIResource(highLight), "ComboBox.buttonShadow", new ColorUIResource(shadow), "ComboBox.disabledBackground", new ColorUIResource(light), "ComboBox.disabledForeground", new ColorUIResource(Color.gray), "ComboBox.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ComboBox.foreground", new ColorUIResource(Color.black), "ComboBox.selectionBackground", new ColorUIResource(0, 0, 128), "ComboBox.selectionForeground", new ColorUIResource(Color.white), "Desktop.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "KP_LEFT", "left", "KP_RIGHT", "right", "ctrl F5", "restore", "LEFT", "left", "ctrl alt F6", "selectNextFrame", "UP", "up", "ctrl F6", "selectNextFrame", "RIGHT", "right", "DOWN", "down", "ctrl F7", "move", "ctrl F8", "resize", "ESCAPE", "escape", "ctrl TAB", "selectNextFrame", "ctrl F9", "minimize", "KP_UP", "up", "ctrl F4", "close", "KP_DOWN", "down", "ctrl F10", "maximize", "ctrl alt shift F6","selectPreviousFrame" }), "DesktopIcon.border", new BorderUIResource.CompoundBorderUIResource(null, null), "EditorPane.background", new ColorUIResource(Color.white), "EditorPane.border", BasicBorders.getMarginBorder(), "EditorPane.caretBlinkRate", new Integer(500), "EditorPane.caretForeground", new ColorUIResource(Color.black), "EditorPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "EditorPane.foreground", new ColorUIResource(Color.black), "EditorPane.inactiveForeground", new ColorUIResource(Color.gray), "EditorPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "EditorPane.margin", new InsetsUIResource(3, 3, 3, 3), "EditorPane.selectionBackground", new ColorUIResource(Color.black), "EditorPane.selectionForeground", new ColorUIResource(Color.white), "FileChooser.acceptAllFileFilterText", "All Files (*.*)", "FileChooser.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancelSelection" }), "FileChooser.cancelButtonMnemonic", "67", "FileChooser.cancelButtonText", "Cancel", "FileChooser.cancelButtonToolTipText", "Abort file chooser dialog", "FileChooser.directoryDescriptionText", "Directory", "FileChooser.fileDescriptionText", "Generic File", "FileChooser.directoryOpenButtonMnemonic", "79", "FileChooser.helpButtonMnemonic", "72", "FileChooser.helpButtonText", "Help", "FileChooser.helpButtonToolTipText", "FileChooser help", "FileChooser.newFolderErrorSeparator", ":", "FileChooser.newFolderErrorText", "Error creating new folder", "FileChooser.openButtonMnemonic", "79", "FileChooser.openButtonText", "Open", "FileChooser.openButtonToolTipText", "Open selected file", "FileChooser.saveButtonMnemonic", "83", "FileChooser.saveButtonText", "Save", "FileChooser.saveButtonToolTipText", "Save selected file", "FileChooser.updateButtonMnemonic", "85", "FileChooser.updateButtonText", "Update", "FileChooser.updateButtonToolTipText", "Update directory listing", "FocusManagerClassName", "TODO", "FormattedTextField.background", new ColorUIResource(light), "FormattedTextField.caretForeground", new ColorUIResource(Color.black), "FormattedTextField.margin", new InsetsUIResource(0, 0, 0, 0), "FormattedTextField.caretBlinkRate", new Integer(500), "FormattedTextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "FormattedTextField.foreground", new ColorUIResource(Color.black), "FormattedTextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("KP_UP"), "increment", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("KP_DOWN"), "decrement", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("UP"), "increment", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("ESCAPE"), "reset-field-edit", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("DOWN"), "decrement", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "FormattedTextField.inactiveBackground", new ColorUIResource(light), "FormattedTextField.inactiveForeground", new ColorUIResource(Color.gray), "FormattedTextField.selectionBackground", new ColorUIResource(Color.black), "FormattedTextField.selectionForeground", new ColorUIResource(Color.white), "FormView.resetButtonText", "Reset", "FormView.submitButtonText", "Submit Query", "InternalFrame.activeTitleBackground", new ColorUIResource(0, 0, 128), "InternalFrame.activeTitleForeground", new ColorUIResource(Color.white), "InternalFrame.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHITE, Color.WHITE, shadowOuter, shadowInner); Border border = new BorderUIResource.CompoundBorderUIResource(outer, inner); return border; } }, "InternalFrame.borderColor", new ColorUIResource(light), "InternalFrame.borderDarkShadow", new ColorUIResource(Color.BLACK), "InternalFrame.borderHighlight", new ColorUIResource(Color.WHITE), "InternalFrame.borderLight", new ColorUIResource(Color.LIGHT_GRAY), "InternalFrame.borderShadow", new ColorUIResource(Color.GRAY), "InternalFrame.closeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); } }, "InternalFrame.iconifyIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.inactiveTitleBackground", new ColorUIResource(Color.gray), "InternalFrame.inactiveTitleForeground", new ColorUIResource(Color.lightGray), "InternalFrame.maximizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.minimizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.titleFont", new FontUIResource("Dialog", Font.BOLD, 12), "InternalFrame.windowBindings", new Object[] { "shift ESCAPE", "showSystemMenu", "ctrl SPACE", "showSystemMenu", "ESCAPE", "showSystemMenu" }, "Label.background", new ColorUIResource(light), "Label.disabledForeground", new ColorUIResource(Color.white), "Label.disabledShadow", new ColorUIResource(shadow), "Label.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Label.foreground", new ColorUIResource(darkShadow), "List.background", new ColorUIResource(Color.white), "List.border", new BasicBorders.MarginBorder(), "List.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLastRow", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstRowChangeLead", KeyStroke.getKeyStroke("shift LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl END"), "selectLastRowChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDown", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("shift KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("HOME"), "selectFirstRow", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUp", KeyStroke.getKeyStroke("PASTE"), "paste" }), "List.font", new FontUIResource("Dialog", Font.PLAIN, 12), "List.foreground", new ColorUIResource(Color.black), "List.selectionBackground", new ColorUIResource(0, 0, 128), "List.selectionForeground", new ColorUIResource(Color.white), "List.focusCellHighlightBorder", new BorderUIResource. LineBorderUIResource(new ColorUIResource(Color.yellow)), "Menu.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.crossMenuMnemonic", Boolean.TRUE, "Menu.acceleratorForeground", new ColorUIResource(darkShadow), "Menu.acceleratorSelectionForeground", new ColorUIResource(Color.white), "Menu.arrowIcon", BasicIconFactory.getMenuArrowIcon(), "Menu.background", new ColorUIResource(light), "Menu.border", new BasicBorders.MarginBorder(), "Menu.borderPainted", Boolean.FALSE, "Menu.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "Menu.consumesTabs", Boolean.TRUE, "Menu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.foreground", new ColorUIResource(darkShadow), "Menu.margin", new InsetsUIResource(2, 2, 2, 2), "Menu.selectedWindowInputMapBindings", new Object[] { "ESCAPE", "cancel", "DOWN", "selectNext", "KP_DOWN", "selectNext", "UP", "selectPrevious", "KP_UP", "selectPrevious", "LEFT", "selectParent", "KP_LEFT", "selectParent", "RIGHT", "selectChild", "KP_RIGHT", "selectChild", "ENTER", "return", "SPACE", "return" }, "Menu.menuPopupOffsetX", new Integer(0), "Menu.menuPopupOffsetY", new Integer(0), "Menu.submenuPopupOffsetX", new Integer(0), "Menu.submenuPopupOffsetY", new Integer(0), "Menu.selectionBackground", new ColorUIResource(Color.black), "Menu.selectionForeground", new ColorUIResource(Color.white), "MenuBar.background", new ColorUIResource(light), "MenuBar.border", new BasicBorders.MenuBarBorder(null, null), "MenuBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuBar.foreground", new ColorUIResource(darkShadow), "MenuBar.highlight", new ColorUIResource(highLight), "MenuBar.shadow", new ColorUIResource(shadow), "MenuBar.windowBindings", new Object[] { "F10", "takeFocus" }, "MenuItem.acceleratorDelimiter", "+", "MenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "MenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "MenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "MenuItem.background", new ColorUIResource(light), "MenuItem.border", new BasicBorders.MarginBorder(), "MenuItem.borderPainted", Boolean.FALSE, "MenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.foreground", new ColorUIResource(darkShadow), "MenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "MenuItem.selectionBackground", new ColorUIResource(Color.black), "MenuItem.selectionForeground", new ColorUIResource(Color.white), "OptionPane.background", new ColorUIResource(light), "OptionPane.border", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonClickThreshhold", new Integer(500), "OptionPane.cancelButtonText", "Cancel", "OptionPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "OptionPane.foreground", new ColorUIResource(darkShadow), "OptionPane.messageAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.messageForeground", new ColorUIResource(darkShadow), "OptionPane.minimumSize", new DimensionUIResource(BasicOptionPaneUI.MinimumWidth, BasicOptionPaneUI.MinimumHeight), "OptionPane.noButtonText", "No", "OptionPane.okButtonText", "OK", "OptionPane.windowBindings", new Object[] { "ESCAPE", "close" }, "OptionPane.yesButtonText", "Yes", "Panel.background", new ColorUIResource(light), "Panel.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Panel.foreground", new ColorUIResource(Color.black), "PasswordField.background", new ColorUIResource(light), "PasswordField.border", new BasicBorders.FieldBorder(null, null, null, null), "PasswordField.caretBlinkRate", new Integer(500), "PasswordField.caretForeground", new ColorUIResource(Color.black), "PasswordField.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "PasswordField.foreground", new ColorUIResource(Color.black), "PasswordField.inactiveBackground", new ColorUIResource(light), "PasswordField.inactiveForeground", new ColorUIResource(Color.gray), "PasswordField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "PasswordField.margin", new InsetsUIResource(0, 0, 0, 0), "PasswordField.selectionBackground", new ColorUIResource(Color.black), "PasswordField.selectionForeground", new ColorUIResource(Color.white), "PopupMenu.background", new ColorUIResource(light), "PopupMenu.border", new BorderUIResource.BevelBorderUIResource(0), "PopupMenu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "PopupMenu.foreground", new ColorUIResource(darkShadow), "ProgressBar.background", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.GREEN, 2), "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", new Integer(0), "ProgressBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ProgressBar.foreground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionBackground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionForeground", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.repaintInterval", new Integer(50), "ProgressBar.cycleTime", new Integer(3000), "RadioButton.background", new ColorUIResource(light), "RadioButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "RadioButton.darkShadow", new ColorUIResource(shadow), "RadioButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "RadioButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButton.foreground", new ColorUIResource(darkShadow), "RadioButton.highlight", new ColorUIResource(highLight), "RadioButton.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); } }, "RadioButton.light", new ColorUIResource(highLight), "RadioButton.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButton.shadow", new ColorUIResource(shadow), "RadioButton.textIconGap", new Integer(4), "RadioButton.textShiftOffset", new Integer(0), "RadioButtonMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "RadioButtonMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "RadioButtonMenuItem.background", new ColorUIResource(light), "RadioButtonMenuItem.border", new BasicBorders.MarginBorder(), "RadioButtonMenuItem.borderPainted", Boolean.FALSE, "RadioButtonMenuItem.checkIcon", BasicIconFactory.getRadioButtonMenuItemIcon(), "RadioButtonMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.foreground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButtonMenuItem.selectionBackground", new ColorUIResource(Color.black), "RadioButtonMenuItem.selectionForeground", new ColorUIResource(Color.white), "RootPane.defaultButtonWindowKeyBindings", new Object[] { "ENTER", "press", "released ENTER", "release", "ctrl ENTER", "press", "ctrl released ENTER", "release" }, "ScrollBar.background", new ColorUIResource(224, 224, 224), "ScrollBar.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "negativeBlockIncrement", "PAGE_DOWN", "positiveBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "positiveUnitIncrement", "KP_UP", "negativeUnitIncrement", "KP_DOWN", "positiveUnitIncrement", "UP", "negativeUnitIncrement", "RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement", "DOWN", "positiveUnitIncrement", "KP_RIGHT", "negativeUnitIncrement" }), "ScrollBar.foreground", new ColorUIResource(light), "ScrollBar.maximumThumbSize", new DimensionUIResource(4096, 4096), "ScrollBar.minimumThumbSize", new DimensionUIResource(8, 8), "ScrollBar.thumb", new ColorUIResource(light), "ScrollBar.thumbDarkShadow", new ColorUIResource(shadow), "ScrollBar.thumbHighlight", new ColorUIResource(highLight), "ScrollBar.thumbShadow", new ColorUIResource(shadow), "ScrollBar.track", new ColorUIResource(light), "ScrollBar.trackHighlight", new ColorUIResource(shadow), "ScrollBar.width", new Integer(16), "ScrollPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "KP_LEFT", "unitScrollLeft", "ctrl PAGE_DOWN","scrollRight", "PAGE_DOWN", "scrollDown", "KP_RIGHT", "unitScrollRight", "LEFT", "unitScrollLeft", "ctrl END", "scrollEnd", "UP", "unitScrollUp", "RIGHT", "unitScrollRight", "DOWN", "unitScrollDown", "ctrl HOME", "scrollHome", "ctrl PAGE_UP", "scrollLeft", "KP_UP", "unitScrollUp", "KP_DOWN", "unitScrollDown" }), "ScrollPane.background", new ColorUIResource(light), "ScrollPane.border", new BorderUIResource.EtchedBorderUIResource(), "ScrollPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ScrollPane.foreground", new ColorUIResource(darkShadow), "Separator.background", new ColorUIResource(highLight), "Separator.foreground", new ColorUIResource(shadow), "Separator.highlight", new ColorUIResource(highLight), "Separator.shadow", new ColorUIResource(shadow), "Slider.background", new ColorUIResource(light), "Slider.focus", new ColorUIResource(shadow), "Slider.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN", "negativeBlockIncrement", "PAGE_DOWN", "negativeBlockIncrement", "PAGE_UP", "positiveBlockIncrement", "ctrl PAGE_UP", "positiveBlockIncrement", "KP_RIGHT", "positiveUnitIncrement", "DOWN", "negativeUnitIncrement", "KP_LEFT", "negativeUnitIncrement", "RIGHT", "positiveUnitIncrement", "KP_DOWN", "negativeUnitIncrement", "UP", "positiveUnitIncrement", "KP_UP", "positiveUnitIncrement", "LEFT", "negativeUnitIncrement", "HOME", "minScroll", "END", "maxScroll" }), "Slider.focusInsets", new InsetsUIResource(2, 2, 2, 2), "Slider.foreground", new ColorUIResource(light), "Slider.highlight", new ColorUIResource(highLight), "Slider.shadow", new ColorUIResource(shadow), "Slider.thumbHeight", new Integer(20), "Slider.thumbWidth", new Integer(11), "Slider.tickHeight", new Integer(12), "Spinner.background", new ColorUIResource(light), "Spinner.foreground", new ColorUIResource(light), "Spinner.arrowButtonSize", new DimensionUIResource(16, 5), "Spinner.editorBorderPainted", Boolean.FALSE, "Spinner.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "F6", "toggleFocus", "F8", "startResize", "END", "selectMax", "HOME", "selectMin", "LEFT", "negativeIncremnent", "KP_UP", "negativeIncrement", "KP_DOWN", "positiveIncrement", "UP", "negativeIncrement", "RIGHT", "positiveIncrement", "KP_LEFT", "negativeIncrement", "DOWN", "positiveIncrement", "KP_RIGHT", "positiveIncrement" }), "SplitPane.background", new ColorUIResource(light), "SplitPane.border", new BasicBorders.SplitPaneBorder(null, null), "SplitPane.darkShadow", new ColorUIResource(shadow), "SplitPane.dividerSize", new Integer(7), "SplitPane.highlight", new ColorUIResource(highLight), "SplitPane.shadow", new ColorUIResource(shadow), "SplitPaneDivider.border", BasicBorders.getSplitPaneDividerBorder(), "SplitPaneDivider.draggingColor", new ColorUIResource(Color.DARK_GRAY), "TabbedPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN","navigatePageDown", "ctrl PAGE_UP", "navigatePageUp", "ctrl UP", "requestFocus", "ctrl KP_UP", "requestFocus" }), "TabbedPane.background", new ColorUIResource(light), "TabbedPane.contentBorderInsets", new InsetsUIResource(2, 2, 3, 3), "TabbedPane.darkShadow", new ColorUIResource(shadow), "TabbedPane.focus", new ColorUIResource(darkShadow), "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("KP_UP"), "navigateUp", KeyStroke.getKeyStroke("LEFT"), "navigateLeft", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("UP"), "navigateUp", KeyStroke.getKeyStroke("KP_DOWN"), "navigateDown", KeyStroke.getKeyStroke("KP_LEFT"), "navigateLeft", KeyStroke.getKeyStroke("RIGHT"), "navigateRight", KeyStroke.getKeyStroke("KP_RIGHT"), "navigateRight", KeyStroke.getKeyStroke("DOWN"), "navigateDown" }), "TabbedPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TabbedPane.foreground", new ColorUIResource(darkShadow), "TabbedPane.highlight", new ColorUIResource(highLight), "TabbedPane.light", new ColorUIResource(highLight), "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.shadow", new ColorUIResource(shadow), "TabbedPane.tabbedPaneContentBorderInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabPadInsets", new InsetsUIResource(1, 1, 1, 1), "TabbedPane.tabsOpaque", Boolean.TRUE, "TabbedPane.tabAreaInsets", new InsetsUIResource(3, 2, 0, 2), "TabbedPane.tabInsets", new InsetsUIResource(0, 4, 1, 4), "TabbedPane.tabRunOverlay", new Integer(2), "TabbedPane.textIconGap", new Integer(4), "Table.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl DOWN", "selectNextRowChangeLead", "ctrl RIGHT", "selectNextColumnChangeLead", "ctrl UP", "selectPreviousRowChangeLead", "ctrl LEFT", "selectPreviousColumnChangeLead", "CUT", "cut", "SPACE", "addToSelection", "ctrl SPACE", "toggleAndAnchor", "shift SPACE", "extendTo", "shift ctrl SPACE", "moveSelectionTo", "ctrl X", "cut", "ctrl C", "copy", "ctrl KP_RIGHT", "selectNextColumnChangeLead", "ctrl KP_LEFT", "selectPreviousColumnChangeLead", "ctrl V", "paste", "ctrl KP_DOWN", "selectNextRowChangeLead", "COPY", "copy", "ctrl KP_UP", "selectPreviousRowChangeLead", "PASTE", "paste", "shift PAGE_DOWN","scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLastColumn", "shift END", "selectLastColumnExtendSelection", "HOME", "selectFirstColumn", "ctrl END", "selectLastRow", "ctrl shift END","selectLastRowExtendSelection", "LEFT", "selectPreviousColumn", "shift HOME", "selectFirstColumnExtendSelection", "UP", "selectPreviousRow", "RIGHT", "selectNextColumn", "ctrl HOME", "selectFirstRow", "shift LEFT", "selectPreviousColumnExtendSelection", "DOWN", "selectNextRow", "ctrl shift HOME","selectFirstRowExtendSelection", "shift UP", "selectPreviousRowExtendSelection", "F2", "startEditing", "shift RIGHT", "selectNextColumnExtendSelection", "TAB", "selectNextColumnCell", "shift DOWN", "selectNextRowExtendSelection", "ENTER", "selectNextRowCell", "KP_UP", "selectPreviousRow", "KP_DOWN", "selectNextRow", "KP_LEFT", "selectPreviousColumn", "KP_RIGHT", "selectNextColumn", "shift TAB", "selectPreviousColumnCell", "ctrl A", "selectAll", "shift ENTER", "selectPreviousRowCell", "shift KP_DOWN", "selectNextRowExtendSelection", "shift KP_LEFT", "selectPreviousColumnExtendSelection", "ESCAPE", "cancel", "ctrl shift PAGE_UP", "scrollLeftExtendSelection", "shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl PAGE_UP", "scrollLeftChangeSelection", "shift PAGE_UP", "scrollUpExtendSelection", "ctrl shift PAGE_DOWN", "scrollRightExtendSelection", "ctrl PAGE_DOWN", "scrollRightChangeSelection", "PAGE_UP", "scrollUpChangeSelection", "ctrl shift LEFT", "selectPreviousColumnExtendSelection", "shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift UP", "selectPreviousRowExtendSelection", "ctrl shift RIGHT", "selectNextColumnExtendSelection", "ctrl shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl shift DOWN", "selectNextRowExtendSelection", "ctrl BACK_SLASH", "clearSelection", "ctrl shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection", "ctrl SLASH", "selectAll", "ctrl shift KP_DOWN", "selectNextRowExtendSelection", }), "Table.background", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellBackground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellForeground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.focusCellHighlightBorder", new BorderUIResource.LineBorderUIResource( new ColorUIResource(255, 255, 0)), "Table.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Table.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.gridColor", new ColorUIResource(new ColorUIResource(128, 128, 128)), "Table.scrollPaneBorder", new BorderUIResource.BevelBorderUIResource(0), "Table.selectionBackground", new ColorUIResource(new ColorUIResource(0, 0, 128)), "Table.selectionForeground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "TableHeader.background", new ColorUIResource(new ColorUIResource(192, 192, 192)), "TableHeader.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TableHeader.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "TextArea.background", new ColorUIResource(light), "TextArea.border", new BorderUIResource(BasicBorders.getMarginBorder()), "TextArea.caretBlinkRate", new Integer(500), "TextArea.caretForeground", new ColorUIResource(Color.black), "TextArea.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "TextArea.foreground", new ColorUIResource(Color.black), "TextArea.inactiveForeground", new ColorUIResource(Color.gray), "TextArea.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextArea.margin", new InsetsUIResource(0, 0, 0, 0), "TextArea.selectionBackground", new ColorUIResource(Color.black), "TextArea.selectionForeground", new ColorUIResource(Color.white), "TextField.background", new ColorUIResource(light), "TextField.border", new BasicBorders.FieldBorder(null, null, null, null), "TextField.caretBlinkRate", new Integer(500), "TextField.caretForeground", new ColorUIResource(Color.black), "TextField.darkShadow", new ColorUIResource(shadow), "TextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "TextField.foreground", new ColorUIResource(Color.black), "TextField.highlight", new ColorUIResource(highLight), "TextField.inactiveBackground", new ColorUIResource(Color.LIGHT_GRAY), "TextField.inactiveForeground", new ColorUIResource(Color.GRAY), "TextField.light", new ColorUIResource(highLight), "TextField.highlight", new ColorUIResource(light), "TextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word" }), "TextField.margin", new InsetsUIResource(0, 0, 0, 0), "TextField.selectionBackground", new ColorUIResource(Color.black), "TextField.selectionForeground", new ColorUIResource(Color.white), "TextPane.background", new ColorUIResource(Color.white), "TextPane.border", BasicBorders.getMarginBorder(), "TextPane.caretBlinkRate", new Integer(500), "TextPane.caretForeground", new ColorUIResource(Color.black), "TextPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "TextPane.foreground", new ColorUIResource(Color.black), "TextPane.inactiveForeground", new ColorUIResource(Color.gray), "TextPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextPane.margin", new InsetsUIResource(3, 3, 3, 3), "TextPane.selectionBackground", new ColorUIResource(Color.black), "TextPane.selectionForeground", new ColorUIResource(Color.white), "TitledBorder.border", new BorderUIResource.EtchedBorderUIResource(), "TitledBorder.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TitledBorder.titleColor", new ColorUIResource(darkShadow), "ToggleButton.background", new ColorUIResource(light), "ToggleButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "ToggleButton.darkShadow", new ColorUIResource(shadow), "ToggleButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "ToggleButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToggleButton.foreground", new ColorUIResource(darkShadow), "ToggleButton.highlight", new ColorUIResource(highLight), "ToggleButton.light", new ColorUIResource(light), "ToggleButton.margin", new InsetsUIResource(2, 14, 2, 14), "ToggleButton.shadow", new ColorUIResource(shadow), "ToggleButton.textIconGap", new Integer(4), "ToggleButton.textShiftOffset", new Integer(0), "ToolBar.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "navigateUp", "KP_UP", "navigateUp", "DOWN", "navigateDown", "KP_DOWN", "navigateDown", "LEFT", "navigateLeft", "KP_LEFT", "navigateLeft", "RIGHT", "navigateRight", "KP_RIGHT", "navigateRight" }), "ToolBar.background", new ColorUIResource(light), "ToolBar.border", new BorderUIResource.EtchedBorderUIResource(), "ToolBar.darkShadow", new ColorUIResource(shadow), "ToolBar.dockingBackground", new ColorUIResource(light), "ToolBar.dockingForeground", new ColorUIResource(Color.red), "ToolBar.floatingBackground", new ColorUIResource(light), "ToolBar.floatingForeground", new ColorUIResource(Color.darkGray), "ToolBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToolBar.foreground", new ColorUIResource(darkShadow), "ToolBar.highlight", new ColorUIResource(highLight), "ToolBar.light", new ColorUIResource(highLight), "ToolBar.separatorSize", new DimensionUIResource(10, 10), "ToolBar.shadow", new ColorUIResource(shadow), "ToolTip.background", new ColorUIResource(light), "ToolTip.border", new BorderUIResource.LineBorderUIResource(Color.lightGray), "ToolTip.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ToolTip.foreground", new ColorUIResource(darkShadow), "Tree.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancel" }), "Tree.background", new ColorUIResource(new Color(255, 255, 255)), "Tree.changeSelectionWithFocus", Boolean.TRUE, "Tree.drawsFocusBorderAroundIcon", Boolean.FALSE, "Tree.editorBorder", new BorderUIResource.LineBorderUIResource(Color.lightGray), "Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "scrollLeft", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLast", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstChangeLead", KeyStroke.getKeyStroke("ctrl END"), "selectLastChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("LEFT"), "selectParent", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectParent", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("ADD"), "expand", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectChild", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDownChangeSelection", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("SUBTRACT"), "collapse", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "scrollLeft", KeyStroke.getKeyStroke("HOME"), "selectFirst", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectChild", KeyStroke.getKeyStroke("F2"), "startEditing", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUpChangeSelection", KeyStroke.getKeyStroke("PASTE"), "paste" }), "Tree.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Tree.foreground", new ColorUIResource(Color.black), "Tree.hash", new ColorUIResource(new Color(128, 128, 128)), "Tree.leftChildIndent", new Integer(7), "Tree.rightChildIndent", new Integer(13), "Tree.rowHeight", new Integer(16), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.selectionBackground", new ColorUIResource(Color.black), "Tree.nonSelectionBackground", new ColorUIResource(new Color(255, 255, 255)), "Tree.selectionBorderColor", new ColorUIResource(Color.black), "Tree.selectionBorder", new BorderUIResource.LineBorderUIResource(Color.black), "Tree.selectionForeground", new ColorUIResource(new Color(255, 255, 255)), "Viewport.background", new ColorUIResource(light), "Viewport.foreground", new ColorUIResource(Color.black), "Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12) }; defaults.putDefaults(uiDefaults); }
|
"KP_RIGHT", "positiveIncrement"
|
"KP_RIGHT", "positiveIncrement", "shift ctrl pressed TAB", "focusOutBackward", "ctrl pressed TAB", "focusOutForward"
|
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoableEdit.undoText", "Undo", "AbstractUndoableEdit.redoText", "Redo", "Button.background", new ColorUIResource(Color.LIGHT_GRAY), "Button.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { return BasicBorders.getButtonBorder(); } }, "Button.darkShadow", new ColorUIResource(Color.BLACK), "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Button.foreground", new ColorUIResource(Color.BLACK), "Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "Button.highlight", new ColorUIResource(Color.WHITE), "Button.light", new ColorUIResource(Color.LIGHT_GRAY), "Button.margin", new InsetsUIResource(2, 14, 2, 14), "Button.shadow", new ColorUIResource(Color.GRAY), "Button.textIconGap", new Integer(4), "Button.textShiftOffset", new Integer(0), "CheckBox.background", new ColorUIResource(new Color(204, 204, 204)), "CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, null), "CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "CheckBox.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBox.foreground", new ColorUIResource(darkShadow), "CheckBox.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); } }, "CheckBox.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); } }, "CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), "CheckBox.textIconGap", new Integer(4), "CheckBox.textShiftOffset", new Integer(0), "CheckBoxMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.acceleratorForeground", new ColorUIResource(new Color(16, 16, 16)), "CheckBoxMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "CheckBoxMenuItem.background", new ColorUIResource(light), "CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), "CheckBoxMenuItem.borderPainted", Boolean.FALSE, "CheckBoxMenuItem.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxMenuItemIcon(); } }, "CheckBoxMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.foreground", new ColorUIResource(darkShadow), "CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "CheckBoxMenuItem.selectionBackground", new ColorUIResource(Color.black), "CheckBoxMenuItem.selectionForeground", new ColorUIResource(Color.white), "ColorChooser.background", new ColorUIResource(light), "ColorChooser.cancelText", "Cancel", "ColorChooser.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ColorChooser.foreground", new ColorUIResource(darkShadow), "ColorChooser.hsbBlueText", "B", "ColorChooser.hsbBrightnessText", "B", "ColorChooser.hsbGreenText", "G", "ColorChooser.hsbHueText", "H", "ColorChooser.hsbNameText", "HSB", "ColorChooser.hsbRedText", "R", "ColorChooser.hsbSaturationText", "S", "ColorChooser.okText", "OK", "ColorChooser.previewText", "Preview", "ColorChooser.resetText", "Reset", "ColorChooser.rgbBlueMnemonic", "66", "ColorChooser.rgbBlueText", "Blue", "ColorChooser.rgbGreenMnemonic", "78", "ColorChooser.rgbGreenText", "Green", "ColorChooser.rgbNameText", "RGB", "ColorChooser.rgbRedMnemonic", "68", "ColorChooser.rgbRedText", "Red", "ColorChooser.sampleText", "Sample Text Sample Text", "ColorChooser.swatchesDefaultRecentColor", new ColorUIResource(light), "ColorChooser.swatchesNameText", "Swatches", "ColorChooser.swatchesRecentSwatchSize", new Dimension(10, 10), "ColorChooser.swatchesRecentText", "Recent:", "ColorChooser.swatchesSwatchSize", new Dimension(10, 10), "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "hidePopup", "PAGE_UP", "pageUpPassThrough", "PAGE_DOWN", "pageDownPassThrough", "HOME", "homePassThrough", "END", "endPassThrough" }), "ComboBox.background", new ColorUIResource(Color.white), "ComboBox.buttonBackground", new ColorUIResource(light), "ComboBox.buttonDarkShadow", new ColorUIResource(darkShadow), "ComboBox.buttonHighlight", new ColorUIResource(highLight), "ComboBox.buttonShadow", new ColorUIResource(shadow), "ComboBox.disabledBackground", new ColorUIResource(light), "ComboBox.disabledForeground", new ColorUIResource(Color.gray), "ComboBox.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ComboBox.foreground", new ColorUIResource(Color.black), "ComboBox.selectionBackground", new ColorUIResource(0, 0, 128), "ComboBox.selectionForeground", new ColorUIResource(Color.white), "Desktop.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "KP_LEFT", "left", "KP_RIGHT", "right", "ctrl F5", "restore", "LEFT", "left", "ctrl alt F6", "selectNextFrame", "UP", "up", "ctrl F6", "selectNextFrame", "RIGHT", "right", "DOWN", "down", "ctrl F7", "move", "ctrl F8", "resize", "ESCAPE", "escape", "ctrl TAB", "selectNextFrame", "ctrl F9", "minimize", "KP_UP", "up", "ctrl F4", "close", "KP_DOWN", "down", "ctrl F10", "maximize", "ctrl alt shift F6","selectPreviousFrame" }), "DesktopIcon.border", new BorderUIResource.CompoundBorderUIResource(null, null), "EditorPane.background", new ColorUIResource(Color.white), "EditorPane.border", BasicBorders.getMarginBorder(), "EditorPane.caretBlinkRate", new Integer(500), "EditorPane.caretForeground", new ColorUIResource(Color.black), "EditorPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "EditorPane.foreground", new ColorUIResource(Color.black), "EditorPane.inactiveForeground", new ColorUIResource(Color.gray), "EditorPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "EditorPane.margin", new InsetsUIResource(3, 3, 3, 3), "EditorPane.selectionBackground", new ColorUIResource(Color.black), "EditorPane.selectionForeground", new ColorUIResource(Color.white), "FileChooser.acceptAllFileFilterText", "All Files (*.*)", "FileChooser.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancelSelection" }), "FileChooser.cancelButtonMnemonic", "67", "FileChooser.cancelButtonText", "Cancel", "FileChooser.cancelButtonToolTipText", "Abort file chooser dialog", "FileChooser.directoryDescriptionText", "Directory", "FileChooser.fileDescriptionText", "Generic File", "FileChooser.directoryOpenButtonMnemonic", "79", "FileChooser.helpButtonMnemonic", "72", "FileChooser.helpButtonText", "Help", "FileChooser.helpButtonToolTipText", "FileChooser help", "FileChooser.newFolderErrorSeparator", ":", "FileChooser.newFolderErrorText", "Error creating new folder", "FileChooser.openButtonMnemonic", "79", "FileChooser.openButtonText", "Open", "FileChooser.openButtonToolTipText", "Open selected file", "FileChooser.saveButtonMnemonic", "83", "FileChooser.saveButtonText", "Save", "FileChooser.saveButtonToolTipText", "Save selected file", "FileChooser.updateButtonMnemonic", "85", "FileChooser.updateButtonText", "Update", "FileChooser.updateButtonToolTipText", "Update directory listing", "FocusManagerClassName", "TODO", "FormattedTextField.background", new ColorUIResource(light), "FormattedTextField.caretForeground", new ColorUIResource(Color.black), "FormattedTextField.margin", new InsetsUIResource(0, 0, 0, 0), "FormattedTextField.caretBlinkRate", new Integer(500), "FormattedTextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "FormattedTextField.foreground", new ColorUIResource(Color.black), "FormattedTextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("KP_UP"), "increment", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("KP_DOWN"), "decrement", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("UP"), "increment", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("ESCAPE"), "reset-field-edit", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("DOWN"), "decrement", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "FormattedTextField.inactiveBackground", new ColorUIResource(light), "FormattedTextField.inactiveForeground", new ColorUIResource(Color.gray), "FormattedTextField.selectionBackground", new ColorUIResource(Color.black), "FormattedTextField.selectionForeground", new ColorUIResource(Color.white), "FormView.resetButtonText", "Reset", "FormView.submitButtonText", "Submit Query", "InternalFrame.activeTitleBackground", new ColorUIResource(0, 0, 128), "InternalFrame.activeTitleForeground", new ColorUIResource(Color.white), "InternalFrame.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHITE, Color.WHITE, shadowOuter, shadowInner); Border border = new BorderUIResource.CompoundBorderUIResource(outer, inner); return border; } }, "InternalFrame.borderColor", new ColorUIResource(light), "InternalFrame.borderDarkShadow", new ColorUIResource(Color.BLACK), "InternalFrame.borderHighlight", new ColorUIResource(Color.WHITE), "InternalFrame.borderLight", new ColorUIResource(Color.LIGHT_GRAY), "InternalFrame.borderShadow", new ColorUIResource(Color.GRAY), "InternalFrame.closeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); } }, "InternalFrame.iconifyIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.inactiveTitleBackground", new ColorUIResource(Color.gray), "InternalFrame.inactiveTitleForeground", new ColorUIResource(Color.lightGray), "InternalFrame.maximizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.minimizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.titleFont", new FontUIResource("Dialog", Font.BOLD, 12), "InternalFrame.windowBindings", new Object[] { "shift ESCAPE", "showSystemMenu", "ctrl SPACE", "showSystemMenu", "ESCAPE", "showSystemMenu" }, "Label.background", new ColorUIResource(light), "Label.disabledForeground", new ColorUIResource(Color.white), "Label.disabledShadow", new ColorUIResource(shadow), "Label.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Label.foreground", new ColorUIResource(darkShadow), "List.background", new ColorUIResource(Color.white), "List.border", new BasicBorders.MarginBorder(), "List.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLastRow", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstRowChangeLead", KeyStroke.getKeyStroke("shift LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl END"), "selectLastRowChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectPreviousColumn", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDown", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousRowExtendSelection", KeyStroke.getKeyStroke("shift KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "selectNextColumnChangeLead", KeyStroke.getKeyStroke("shift END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "selectPreviousColumnChangeLead", KeyStroke.getKeyStroke("HOME"), "selectFirstRow", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNextRow", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextRowChangeLead", KeyStroke.getKeyStroke("shift RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastRowExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousRowChangeLead", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selectPreviousColumnExtendSelection", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextRowExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPreviousRow", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstRowExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectNextColumn", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selectNextColumnExtendSelection", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUp", KeyStroke.getKeyStroke("PASTE"), "paste" }), "List.font", new FontUIResource("Dialog", Font.PLAIN, 12), "List.foreground", new ColorUIResource(Color.black), "List.selectionBackground", new ColorUIResource(0, 0, 128), "List.selectionForeground", new ColorUIResource(Color.white), "List.focusCellHighlightBorder", new BorderUIResource. LineBorderUIResource(new ColorUIResource(Color.yellow)), "Menu.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.crossMenuMnemonic", Boolean.TRUE, "Menu.acceleratorForeground", new ColorUIResource(darkShadow), "Menu.acceleratorSelectionForeground", new ColorUIResource(Color.white), "Menu.arrowIcon", BasicIconFactory.getMenuArrowIcon(), "Menu.background", new ColorUIResource(light), "Menu.border", new BasicBorders.MarginBorder(), "Menu.borderPainted", Boolean.FALSE, "Menu.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "Menu.consumesTabs", Boolean.TRUE, "Menu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.foreground", new ColorUIResource(darkShadow), "Menu.margin", new InsetsUIResource(2, 2, 2, 2), "Menu.selectedWindowInputMapBindings", new Object[] { "ESCAPE", "cancel", "DOWN", "selectNext", "KP_DOWN", "selectNext", "UP", "selectPrevious", "KP_UP", "selectPrevious", "LEFT", "selectParent", "KP_LEFT", "selectParent", "RIGHT", "selectChild", "KP_RIGHT", "selectChild", "ENTER", "return", "SPACE", "return" }, "Menu.menuPopupOffsetX", new Integer(0), "Menu.menuPopupOffsetY", new Integer(0), "Menu.submenuPopupOffsetX", new Integer(0), "Menu.submenuPopupOffsetY", new Integer(0), "Menu.selectionBackground", new ColorUIResource(Color.black), "Menu.selectionForeground", new ColorUIResource(Color.white), "MenuBar.background", new ColorUIResource(light), "MenuBar.border", new BasicBorders.MenuBarBorder(null, null), "MenuBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuBar.foreground", new ColorUIResource(darkShadow), "MenuBar.highlight", new ColorUIResource(highLight), "MenuBar.shadow", new ColorUIResource(shadow), "MenuBar.windowBindings", new Object[] { "F10", "takeFocus" }, "MenuItem.acceleratorDelimiter", "+", "MenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "MenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "MenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "MenuItem.background", new ColorUIResource(light), "MenuItem.border", new BasicBorders.MarginBorder(), "MenuItem.borderPainted", Boolean.FALSE, "MenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.foreground", new ColorUIResource(darkShadow), "MenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "MenuItem.selectionBackground", new ColorUIResource(Color.black), "MenuItem.selectionForeground", new ColorUIResource(Color.white), "OptionPane.background", new ColorUIResource(light), "OptionPane.border", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonClickThreshhold", new Integer(500), "OptionPane.cancelButtonText", "Cancel", "OptionPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "OptionPane.foreground", new ColorUIResource(darkShadow), "OptionPane.messageAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.messageForeground", new ColorUIResource(darkShadow), "OptionPane.minimumSize", new DimensionUIResource(BasicOptionPaneUI.MinimumWidth, BasicOptionPaneUI.MinimumHeight), "OptionPane.noButtonText", "No", "OptionPane.okButtonText", "OK", "OptionPane.windowBindings", new Object[] { "ESCAPE", "close" }, "OptionPane.yesButtonText", "Yes", "Panel.background", new ColorUIResource(light), "Panel.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Panel.foreground", new ColorUIResource(Color.black), "PasswordField.background", new ColorUIResource(light), "PasswordField.border", new BasicBorders.FieldBorder(null, null, null, null), "PasswordField.caretBlinkRate", new Integer(500), "PasswordField.caretForeground", new ColorUIResource(Color.black), "PasswordField.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "PasswordField.foreground", new ColorUIResource(Color.black), "PasswordField.inactiveBackground", new ColorUIResource(light), "PasswordField.inactiveForeground", new ColorUIResource(Color.gray), "PasswordField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-end-line", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-begin-line", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-begin-line", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward" }), "PasswordField.margin", new InsetsUIResource(0, 0, 0, 0), "PasswordField.selectionBackground", new ColorUIResource(Color.black), "PasswordField.selectionForeground", new ColorUIResource(Color.white), "PopupMenu.background", new ColorUIResource(light), "PopupMenu.border", new BorderUIResource.BevelBorderUIResource(0), "PopupMenu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "PopupMenu.foreground", new ColorUIResource(darkShadow), "ProgressBar.background", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.GREEN, 2), "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", new Integer(0), "ProgressBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ProgressBar.foreground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionBackground", new ColorUIResource(0, 0, 128), "ProgressBar.selectionForeground", new ColorUIResource(Color.LIGHT_GRAY), "ProgressBar.repaintInterval", new Integer(50), "ProgressBar.cycleTime", new Integer(3000), "RadioButton.background", new ColorUIResource(light), "RadioButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "RadioButton.darkShadow", new ColorUIResource(shadow), "RadioButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "RadioButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButton.foreground", new ColorUIResource(darkShadow), "RadioButton.highlight", new ColorUIResource(highLight), "RadioButton.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); } }, "RadioButton.light", new ColorUIResource(highLight), "RadioButton.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButton.shadow", new ColorUIResource(shadow), "RadioButton.textIconGap", new Integer(4), "RadioButton.textShiftOffset", new Integer(0), "RadioButtonMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "RadioButtonMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "RadioButtonMenuItem.background", new ColorUIResource(light), "RadioButtonMenuItem.border", new BasicBorders.MarginBorder(), "RadioButtonMenuItem.borderPainted", Boolean.FALSE, "RadioButtonMenuItem.checkIcon", BasicIconFactory.getRadioButtonMenuItemIcon(), "RadioButtonMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.foreground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButtonMenuItem.selectionBackground", new ColorUIResource(Color.black), "RadioButtonMenuItem.selectionForeground", new ColorUIResource(Color.white), "RootPane.defaultButtonWindowKeyBindings", new Object[] { "ENTER", "press", "released ENTER", "release", "ctrl ENTER", "press", "ctrl released ENTER", "release" }, "ScrollBar.background", new ColorUIResource(224, 224, 224), "ScrollBar.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "negativeBlockIncrement", "PAGE_DOWN", "positiveBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "positiveUnitIncrement", "KP_UP", "negativeUnitIncrement", "KP_DOWN", "positiveUnitIncrement", "UP", "negativeUnitIncrement", "RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement", "DOWN", "positiveUnitIncrement", "KP_RIGHT", "negativeUnitIncrement" }), "ScrollBar.foreground", new ColorUIResource(light), "ScrollBar.maximumThumbSize", new DimensionUIResource(4096, 4096), "ScrollBar.minimumThumbSize", new DimensionUIResource(8, 8), "ScrollBar.thumb", new ColorUIResource(light), "ScrollBar.thumbDarkShadow", new ColorUIResource(shadow), "ScrollBar.thumbHighlight", new ColorUIResource(highLight), "ScrollBar.thumbShadow", new ColorUIResource(shadow), "ScrollBar.track", new ColorUIResource(light), "ScrollBar.trackHighlight", new ColorUIResource(shadow), "ScrollBar.width", new Integer(16), "ScrollPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "KP_LEFT", "unitScrollLeft", "ctrl PAGE_DOWN","scrollRight", "PAGE_DOWN", "scrollDown", "KP_RIGHT", "unitScrollRight", "LEFT", "unitScrollLeft", "ctrl END", "scrollEnd", "UP", "unitScrollUp", "RIGHT", "unitScrollRight", "DOWN", "unitScrollDown", "ctrl HOME", "scrollHome", "ctrl PAGE_UP", "scrollLeft", "KP_UP", "unitScrollUp", "KP_DOWN", "unitScrollDown" }), "ScrollPane.background", new ColorUIResource(light), "ScrollPane.border", new BorderUIResource.EtchedBorderUIResource(), "ScrollPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ScrollPane.foreground", new ColorUIResource(darkShadow), "Separator.background", new ColorUIResource(highLight), "Separator.foreground", new ColorUIResource(shadow), "Separator.highlight", new ColorUIResource(highLight), "Separator.shadow", new ColorUIResource(shadow), "Slider.background", new ColorUIResource(light), "Slider.focus", new ColorUIResource(shadow), "Slider.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN", "negativeBlockIncrement", "PAGE_DOWN", "negativeBlockIncrement", "PAGE_UP", "positiveBlockIncrement", "ctrl PAGE_UP", "positiveBlockIncrement", "KP_RIGHT", "positiveUnitIncrement", "DOWN", "negativeUnitIncrement", "KP_LEFT", "negativeUnitIncrement", "RIGHT", "positiveUnitIncrement", "KP_DOWN", "negativeUnitIncrement", "UP", "positiveUnitIncrement", "KP_UP", "positiveUnitIncrement", "LEFT", "negativeUnitIncrement", "HOME", "minScroll", "END", "maxScroll" }), "Slider.focusInsets", new InsetsUIResource(2, 2, 2, 2), "Slider.foreground", new ColorUIResource(light), "Slider.highlight", new ColorUIResource(highLight), "Slider.shadow", new ColorUIResource(shadow), "Slider.thumbHeight", new Integer(20), "Slider.thumbWidth", new Integer(11), "Slider.tickHeight", new Integer(12), "Spinner.background", new ColorUIResource(light), "Spinner.foreground", new ColorUIResource(light), "Spinner.arrowButtonSize", new DimensionUIResource(16, 5), "Spinner.editorBorderPainted", Boolean.FALSE, "Spinner.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "F6", "toggleFocus", "F8", "startResize", "END", "selectMax", "HOME", "selectMin", "LEFT", "negativeIncremnent", "KP_UP", "negativeIncrement", "KP_DOWN", "positiveIncrement", "UP", "negativeIncrement", "RIGHT", "positiveIncrement", "KP_LEFT", "negativeIncrement", "DOWN", "positiveIncrement", "KP_RIGHT", "positiveIncrement" }), "SplitPane.background", new ColorUIResource(light), "SplitPane.border", new BasicBorders.SplitPaneBorder(null, null), "SplitPane.darkShadow", new ColorUIResource(shadow), "SplitPane.dividerSize", new Integer(7), "SplitPane.highlight", new ColorUIResource(highLight), "SplitPane.shadow", new ColorUIResource(shadow), "SplitPaneDivider.border", BasicBorders.getSplitPaneDividerBorder(), "SplitPaneDivider.draggingColor", new ColorUIResource(Color.DARK_GRAY), "TabbedPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN","navigatePageDown", "ctrl PAGE_UP", "navigatePageUp", "ctrl UP", "requestFocus", "ctrl KP_UP", "requestFocus" }), "TabbedPane.background", new ColorUIResource(light), "TabbedPane.contentBorderInsets", new InsetsUIResource(2, 2, 3, 3), "TabbedPane.darkShadow", new ColorUIResource(shadow), "TabbedPane.focus", new ColorUIResource(darkShadow), "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("KP_UP"), "navigateUp", KeyStroke.getKeyStroke("LEFT"), "navigateLeft", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "requestFocusForVisibleComponent", KeyStroke.getKeyStroke("UP"), "navigateUp", KeyStroke.getKeyStroke("KP_DOWN"), "navigateDown", KeyStroke.getKeyStroke("KP_LEFT"), "navigateLeft", KeyStroke.getKeyStroke("RIGHT"), "navigateRight", KeyStroke.getKeyStroke("KP_RIGHT"), "navigateRight", KeyStroke.getKeyStroke("DOWN"), "navigateDown" }), "TabbedPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TabbedPane.foreground", new ColorUIResource(darkShadow), "TabbedPane.highlight", new ColorUIResource(highLight), "TabbedPane.light", new ColorUIResource(highLight), "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.shadow", new ColorUIResource(shadow), "TabbedPane.tabbedPaneContentBorderInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabPadInsets", new InsetsUIResource(1, 1, 1, 1), "TabbedPane.tabsOpaque", Boolean.TRUE, "TabbedPane.tabAreaInsets", new InsetsUIResource(3, 2, 0, 2), "TabbedPane.tabInsets", new InsetsUIResource(0, 4, 1, 4), "TabbedPane.tabRunOverlay", new Integer(2), "TabbedPane.textIconGap", new Integer(4), "Table.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl DOWN", "selectNextRowChangeLead", "ctrl RIGHT", "selectNextColumnChangeLead", "ctrl UP", "selectPreviousRowChangeLead", "ctrl LEFT", "selectPreviousColumnChangeLead", "CUT", "cut", "SPACE", "addToSelection", "ctrl SPACE", "toggleAndAnchor", "shift SPACE", "extendTo", "shift ctrl SPACE", "moveSelectionTo", "ctrl X", "cut", "ctrl C", "copy", "ctrl KP_RIGHT", "selectNextColumnChangeLead", "ctrl KP_LEFT", "selectPreviousColumnChangeLead", "ctrl V", "paste", "ctrl KP_DOWN", "selectNextRowChangeLead", "COPY", "copy", "ctrl KP_UP", "selectPreviousRowChangeLead", "PASTE", "paste", "shift PAGE_DOWN","scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLastColumn", "shift END", "selectLastColumnExtendSelection", "HOME", "selectFirstColumn", "ctrl END", "selectLastRow", "ctrl shift END","selectLastRowExtendSelection", "LEFT", "selectPreviousColumn", "shift HOME", "selectFirstColumnExtendSelection", "UP", "selectPreviousRow", "RIGHT", "selectNextColumn", "ctrl HOME", "selectFirstRow", "shift LEFT", "selectPreviousColumnExtendSelection", "DOWN", "selectNextRow", "ctrl shift HOME","selectFirstRowExtendSelection", "shift UP", "selectPreviousRowExtendSelection", "F2", "startEditing", "shift RIGHT", "selectNextColumnExtendSelection", "TAB", "selectNextColumnCell", "shift DOWN", "selectNextRowExtendSelection", "ENTER", "selectNextRowCell", "KP_UP", "selectPreviousRow", "KP_DOWN", "selectNextRow", "KP_LEFT", "selectPreviousColumn", "KP_RIGHT", "selectNextColumn", "shift TAB", "selectPreviousColumnCell", "ctrl A", "selectAll", "shift ENTER", "selectPreviousRowCell", "shift KP_DOWN", "selectNextRowExtendSelection", "shift KP_LEFT", "selectPreviousColumnExtendSelection", "ESCAPE", "cancel", "ctrl shift PAGE_UP", "scrollLeftExtendSelection", "shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl PAGE_UP", "scrollLeftChangeSelection", "shift PAGE_UP", "scrollUpExtendSelection", "ctrl shift PAGE_DOWN", "scrollRightExtendSelection", "ctrl PAGE_DOWN", "scrollRightChangeSelection", "PAGE_UP", "scrollUpChangeSelection", "ctrl shift LEFT", "selectPreviousColumnExtendSelection", "shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift UP", "selectPreviousRowExtendSelection", "ctrl shift RIGHT", "selectNextColumnExtendSelection", "ctrl shift KP_RIGHT", "selectNextColumnExtendSelection", "ctrl shift DOWN", "selectNextRowExtendSelection", "ctrl BACK_SLASH", "clearSelection", "ctrl shift KP_UP", "selectPreviousRowExtendSelection", "ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection", "ctrl SLASH", "selectAll", "ctrl shift KP_DOWN", "selectNextRowExtendSelection", }), "Table.background", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellBackground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "Table.focusCellForeground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.focusCellHighlightBorder", new BorderUIResource.LineBorderUIResource( new ColorUIResource(255, 255, 0)), "Table.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Table.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "Table.gridColor", new ColorUIResource(new ColorUIResource(128, 128, 128)), "Table.scrollPaneBorder", new BorderUIResource.BevelBorderUIResource(0), "Table.selectionBackground", new ColorUIResource(new ColorUIResource(0, 0, 128)), "Table.selectionForeground", new ColorUIResource(new ColorUIResource(255, 255, 255)), "TableHeader.background", new ColorUIResource(new ColorUIResource(192, 192, 192)), "TableHeader.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TableHeader.foreground", new ColorUIResource(new ColorUIResource(0, 0, 0)), "TextArea.background", new ColorUIResource(light), "TextArea.border", new BorderUIResource(BasicBorders.getMarginBorder()), "TextArea.caretBlinkRate", new Integer(500), "TextArea.caretForeground", new ColorUIResource(Color.black), "TextArea.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "TextArea.foreground", new ColorUIResource(Color.black), "TextArea.inactiveForeground", new ColorUIResource(Color.gray), "TextArea.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextArea.margin", new InsetsUIResource(0, 0, 0, 0), "TextArea.selectionBackground", new ColorUIResource(Color.black), "TextArea.selectionForeground", new ColorUIResource(Color.white), "TextField.background", new ColorUIResource(light), "TextField.border", new BasicBorders.FieldBorder(null, null, null, null), "TextField.caretBlinkRate", new Integer(500), "TextField.caretForeground", new ColorUIResource(Color.black), "TextField.darkShadow", new ColorUIResource(shadow), "TextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "TextField.foreground", new ColorUIResource(Color.black), "TextField.highlight", new ColorUIResource(highLight), "TextField.inactiveBackground", new ColorUIResource(Color.LIGHT_GRAY), "TextField.inactiveForeground", new ColorUIResource(Color.GRAY), "TextField.light", new ColorUIResource(highLight), "TextField.highlight", new ColorUIResource(light), "TextField.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ENTER"), "notify-field-accept", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word" }), "TextField.margin", new InsetsUIResource(0, 0, 0, 0), "TextField.selectionBackground", new ColorUIResource(Color.black), "TextField.selectionForeground", new ColorUIResource(Color.white), "TextPane.background", new ColorUIResource(Color.white), "TextPane.border", BasicBorders.getMarginBorder(), "TextPane.caretBlinkRate", new Integer(500), "TextPane.caretForeground", new ColorUIResource(Color.black), "TextPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "TextPane.foreground", new ColorUIResource(Color.black), "TextPane.inactiveForeground", new ColorUIResource(Color.gray), "TextPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("shift UP"), "selection-up", KeyStroke.getKeyStroke("ctrl RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift ctrl LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("shift KP_UP"), "selection-up", KeyStroke.getKeyStroke("DOWN"), "caret-down", KeyStroke.getKeyStroke("shift ctrl T"), "previous-link-action", KeyStroke.getKeyStroke("ctrl LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("CUT"), "cut-to-clipboard", KeyStroke.getKeyStroke("END"), "caret-end-line", KeyStroke.getKeyStroke("shift PAGE_UP"), "selection-page-up", KeyStroke.getKeyStroke("KP_UP"), "caret-up", KeyStroke.getKeyStroke("DELETE"), "delete-next", KeyStroke.getKeyStroke("ctrl HOME"), "caret-begin", KeyStroke.getKeyStroke("shift LEFT"), "selection-backward", KeyStroke.getKeyStroke("ctrl END"), "caret-end", KeyStroke.getKeyStroke("BACK_SPACE"), "delete-previous", KeyStroke.getKeyStroke("shift ctrl RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("LEFT"), "caret-backward", KeyStroke.getKeyStroke("KP_LEFT"), "caret-backward", KeyStroke.getKeyStroke("shift KP_RIGHT"), "selection-forward", KeyStroke.getKeyStroke("ctrl SPACE"), "activate-link-action", KeyStroke.getKeyStroke("ctrl H"), "delete-previous", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "unselect", KeyStroke.getKeyStroke("ENTER"), "insert-break", KeyStroke.getKeyStroke("shift HOME"), "selection-begin-line", KeyStroke.getKeyStroke("RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "selection-page-left", KeyStroke.getKeyStroke("shift DOWN"), "selection-down", KeyStroke.getKeyStroke("PAGE_DOWN"), "page-down", KeyStroke.getKeyStroke("shift KP_LEFT"), "selection-backward", KeyStroke.getKeyStroke("shift ctrl O"), "toggle-componentOrientation", KeyStroke.getKeyStroke("ctrl X"), "cut-to-clipboard", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "selection-page-right", KeyStroke.getKeyStroke("ctrl C"), "copy-to-clipboard", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "caret-next-word", KeyStroke.getKeyStroke("shift END"), "selection-end-line", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "caret-previous-word", KeyStroke.getKeyStroke("HOME"), "caret-begin-line", KeyStroke.getKeyStroke("ctrl V"), "paste-from-clipboard", KeyStroke.getKeyStroke("KP_DOWN"), "caret-down", KeyStroke.getKeyStroke("ctrl A"), "select-all", KeyStroke.getKeyStroke("shift RIGHT"), "selection-forward", KeyStroke.getKeyStroke("shift ctrl END"), "selection-end", KeyStroke.getKeyStroke("COPY"), "copy-to-clipboard", KeyStroke.getKeyStroke("shift ctrl KP_LEFT"), "selection-previous-word", KeyStroke.getKeyStroke("ctrl T"), "next-link-action", KeyStroke.getKeyStroke("shift KP_DOWN"), "selection-down", KeyStroke.getKeyStroke("TAB"), "insert-tab", KeyStroke.getKeyStroke("UP"), "caret-up", KeyStroke.getKeyStroke("shift ctrl HOME"), "selection-begin", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "selection-page-down", KeyStroke.getKeyStroke("KP_RIGHT"), "caret-forward", KeyStroke.getKeyStroke("shift ctrl KP_RIGHT"), "selection-next-word", KeyStroke.getKeyStroke("PAGE_UP"), "page-up", KeyStroke.getKeyStroke("PASTE"), "paste-from-clipboard" }), "TextPane.margin", new InsetsUIResource(3, 3, 3, 3), "TextPane.selectionBackground", new ColorUIResource(Color.black), "TextPane.selectionForeground", new ColorUIResource(Color.white), "TitledBorder.border", new BorderUIResource.EtchedBorderUIResource(), "TitledBorder.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TitledBorder.titleColor", new ColorUIResource(darkShadow), "ToggleButton.background", new ColorUIResource(light), "ToggleButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "ToggleButton.darkShadow", new ColorUIResource(shadow), "ToggleButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("SPACE"), "pressed", KeyStroke.getKeyStroke("released SPACE"), "released" }), "ToggleButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToggleButton.foreground", new ColorUIResource(darkShadow), "ToggleButton.highlight", new ColorUIResource(highLight), "ToggleButton.light", new ColorUIResource(light), "ToggleButton.margin", new InsetsUIResource(2, 14, 2, 14), "ToggleButton.shadow", new ColorUIResource(shadow), "ToggleButton.textIconGap", new Integer(4), "ToggleButton.textShiftOffset", new Integer(0), "ToolBar.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "navigateUp", "KP_UP", "navigateUp", "DOWN", "navigateDown", "KP_DOWN", "navigateDown", "LEFT", "navigateLeft", "KP_LEFT", "navigateLeft", "RIGHT", "navigateRight", "KP_RIGHT", "navigateRight" }), "ToolBar.background", new ColorUIResource(light), "ToolBar.border", new BorderUIResource.EtchedBorderUIResource(), "ToolBar.darkShadow", new ColorUIResource(shadow), "ToolBar.dockingBackground", new ColorUIResource(light), "ToolBar.dockingForeground", new ColorUIResource(Color.red), "ToolBar.floatingBackground", new ColorUIResource(light), "ToolBar.floatingForeground", new ColorUIResource(Color.darkGray), "ToolBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToolBar.foreground", new ColorUIResource(darkShadow), "ToolBar.highlight", new ColorUIResource(highLight), "ToolBar.light", new ColorUIResource(highLight), "ToolBar.separatorSize", new DimensionUIResource(10, 10), "ToolBar.shadow", new ColorUIResource(shadow), "ToolTip.background", new ColorUIResource(light), "ToolTip.border", new BorderUIResource.LineBorderUIResource(Color.lightGray), "ToolTip.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ToolTip.foreground", new ColorUIResource(darkShadow), "Tree.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancel" }), "Tree.background", new ColorUIResource(new Color(255, 255, 255)), "Tree.changeSelectionWithFocus", Boolean.TRUE, "Tree.drawsFocusBorderAroundIcon", Boolean.FALSE, "Tree.editorBorder", new BorderUIResource.LineBorderUIResource(Color.lightGray), "Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { KeyStroke.getKeyStroke("ctrl DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("ctrl LEFT"), "scrollLeft", KeyStroke.getKeyStroke("CUT"), "cut", KeyStroke.getKeyStroke("END"), "selectLast", KeyStroke.getKeyStroke("shift PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("KP_UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("ctrl HOME"), "selectFirstChangeLead", KeyStroke.getKeyStroke("ctrl END"), "selectLastChangeLead", KeyStroke.getKeyStroke("ctrl PAGE_DOWN"), "scrollDownChangeLead", KeyStroke.getKeyStroke("LEFT"), "selectParent", KeyStroke.getKeyStroke("ctrl PAGE_UP"), "scrollUpChangeLead", KeyStroke.getKeyStroke("KP_LEFT"), "selectParent", KeyStroke.getKeyStroke("SPACE"), "addToSelection", KeyStroke.getKeyStroke("ctrl SPACE"), "toggleAndAnchor", KeyStroke.getKeyStroke("shift SPACE"), "extendTo", KeyStroke.getKeyStroke("shift ctrl SPACE"), "moveSelectionTo", KeyStroke.getKeyStroke("ADD"), "expand", KeyStroke.getKeyStroke("ctrl BACK_SLASH"), "clearSelection", KeyStroke.getKeyStroke("shift ctrl DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("shift HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("RIGHT"), "selectChild", KeyStroke.getKeyStroke("shift ctrl PAGE_UP"), "scrollUpExtendSelection", KeyStroke.getKeyStroke("shift DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("PAGE_DOWN"), "scrollDownChangeSelection", KeyStroke.getKeyStroke("shift ctrl KP_UP"), "selectPreviousExtendSelection", KeyStroke.getKeyStroke("SUBTRACT"), "collapse", KeyStroke.getKeyStroke("ctrl X"), "cut", KeyStroke.getKeyStroke("shift ctrl PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("ctrl SLASH"), "selectAll", KeyStroke.getKeyStroke("ctrl C"), "copy", KeyStroke.getKeyStroke("ctrl KP_RIGHT"), "scrollRight", KeyStroke.getKeyStroke("shift END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("shift ctrl KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("ctrl KP_LEFT"), "scrollLeft", KeyStroke.getKeyStroke("HOME"), "selectFirst", KeyStroke.getKeyStroke("ctrl V"), "paste", KeyStroke.getKeyStroke("KP_DOWN"), "selectNext", KeyStroke.getKeyStroke("ctrl A"), "selectAll", KeyStroke.getKeyStroke("ctrl KP_DOWN"), "selectNextChangeLead", KeyStroke.getKeyStroke("shift ctrl END"), "selectLastExtendSelection", KeyStroke.getKeyStroke("COPY"), "copy", KeyStroke.getKeyStroke("ctrl KP_UP"), "selectPreviousChangeLead", KeyStroke.getKeyStroke("shift KP_DOWN"), "selectNextExtendSelection", KeyStroke.getKeyStroke("UP"), "selectPrevious", KeyStroke.getKeyStroke("shift ctrl HOME"), "selectFirstExtendSelection", KeyStroke.getKeyStroke("shift PAGE_DOWN"), "scrollDownExtendSelection", KeyStroke.getKeyStroke("KP_RIGHT"), "selectChild", KeyStroke.getKeyStroke("F2"), "startEditing", KeyStroke.getKeyStroke("PAGE_UP"), "scrollUpChangeSelection", KeyStroke.getKeyStroke("PASTE"), "paste" }), "Tree.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Tree.foreground", new ColorUIResource(Color.black), "Tree.hash", new ColorUIResource(new Color(128, 128, 128)), "Tree.leftChildIndent", new Integer(7), "Tree.rightChildIndent", new Integer(13), "Tree.rowHeight", new Integer(16), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.selectionBackground", new ColorUIResource(Color.black), "Tree.nonSelectionBackground", new ColorUIResource(new Color(255, 255, 255)), "Tree.selectionBorderColor", new ColorUIResource(Color.black), "Tree.selectionBorder", new BorderUIResource.LineBorderUIResource(Color.black), "Tree.selectionForeground", new ColorUIResource(new Color(255, 255, 255)), "Viewport.background", new ColorUIResource(light), "Viewport.foreground", new ColorUIResource(Color.black), "Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12) }; defaults.putDefaults(uiDefaults); }
|
for (i = lo; i < hi; ++i)
|
for (i = lo; i <= hi; ++i)
|
public int[] getSelectedIndices() { int lo, hi, n, i, j; if (selectionModel.isSelectionEmpty()) return new int[0]; lo = selectionModel.getMinSelectionIndex(); hi = selectionModel.getMaxSelectionIndex(); n = 0; for (i = lo; i < hi; ++i) if (selectionModel.isSelectedIndex(i)) n++; int [] v = new int[n]; j = 0; for (i = lo; i < hi; ++i) if (selectionModel.isSelectedIndex(i)) v[j++] = i; return v; }
|
enableEvents( AWTEvent.KEY_EVENT_MASK );
|
public JComponent() { super(); super.setLayout(new FlowLayout()); //eventMask |= AWTEvent.COMP_KEY_EVENT_MASK; enableEvents( AWTEvent.KEY_EVENT_MASK ); //updateUI(); // get a proper ui }
|
|
{ get_ancestor_list().addElement(listener); }
|
{ listenerList.add(AncestorListener.class, listener); }
|
public void addAncestorListener(AncestorListener listener) { get_ancestor_list().addElement(listener); }
|
{ get_change_list().addElement(listener); }
|
{ listenerList.add(PropertyChangeListener.class, listener); }
|
public void addPropertyChangeListener(PropertyChangeListener listener) { get_change_list().addElement(listener); }
|
{ get_veto_list().addElement(listener); }
|
{ listenerList.add(VetoableChangeListener.class, listener); }
|
public void addVetoableChangeListener(VetoableChangeListener listener) { get_veto_list().addElement(listener); }
|
throws PropertyVetoException
|
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) { // Support for reporting constrained property changes. }
|
|
return "JComponent";
|
return "ComponentUI";
|
public String getUIClassID() { /// Return the UIDefaults key used to look up the name of the swing. return "JComponent"; }
|
Graphics g2 = g; Image im = null; Rectangle r = getBounds (); if (use_double_buffer) { im = createImage (r.width, r.height); g2 = im.getGraphics (); if (this.getBackground() != null) { Color save = g2.getColor(); g2.setColor(this.getBackground()); g2.fillRect (0, 0, r.width, r.height); g2.setColor(save); } else g2.clearRect(0, 0, r.width, r.height); } paintBorder(g2); paintComponent(g2); paintChildren(g2);
|
public void paint(Graphics g) { // System.out.println("SWING_PAINT:" + this); paintBorder(g); paintComponent(g); paintChildren(g); }
|
|
paintBorder(g); paintComponent(g); paintChildren(g);
|
if (use_double_buffer) { g.drawImage (im, 0, 0, (ImageObserver)null); }
|
public void paint(Graphics g) { // System.out.println("SWING_PAINT:" + this); paintBorder(g); paintComponent(g); paintChildren(g); }
|
super.paint(g);
|
protected void paintChildren(Graphics g) { // Paint this component's children. //super.paintChildren(g); }
|
|
{ get_ancestor_list().removeElement(listener); }
|
{ listenerList.remove(AncestorListener.class, listener); }
|
public void removeAncestorListener(AncestorListener listener) { get_ancestor_list().removeElement(listener); }
|
{ get_change_list().removeElement(listener); }
|
{ listenerList.remove(PropertyChangeListener.class, listener); }
|
public void removePropertyChangeListener(PropertyChangeListener listener) { get_change_list().removeElement(listener); }
|
{ get_veto_list().removeElement(listener); }
|
{ listenerList.remove(VetoableChangeListener.class, listener); }
|
public void removeVetoableChangeListener(VetoableChangeListener listener) { get_veto_list().removeElement(listener); }
|
setPropertiesFromAttributes();
|
public LabelView(Element element) { super(element); }
|
|
protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); getRootPane(); }
|
protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); enableEvents(AWTEvent.WINDOW_EVENT_MASK); getRootPane(); }
|
protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); getRootPane(); // will do set/create }
|
protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : { System.out.println("user requested exit on close"); System.exit(1); break; } case DISPOSE_ON_CLOSE : { System.out.println("user requested dispose on close"); dispose(); break; } case HIDE_ON_CLOSE : { setVisible(false); break; } case DO_NOTHING_ON_CLOSE : break; } break; } case WindowEvent.WINDOW_CLOSED : case WindowEvent.WINDOW_OPENED : case WindowEvent.WINDOW_ICONIFIED : case WindowEvent.WINDOW_DEICONIFIED : case WindowEvent.WINDOW_ACTIVATED : case WindowEvent.WINDOW_DEACTIVATED :
|
protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING: { switch(close_action) { case EXIT_ON_CLOSE: { System.exit(1);
|
protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : { System.out.println("user requested exit on close"); System.exit(1); break; } case DISPOSE_ON_CLOSE : { System.out.println("user requested dispose on close"); dispose(); break; } case HIDE_ON_CLOSE : { setVisible(false); break; } case DO_NOTHING_ON_CLOSE : break; } break; } case WindowEvent.WINDOW_CLOSED : case WindowEvent.WINDOW_OPENED : case WindowEvent.WINDOW_ICONIFIED : case WindowEvent.WINDOW_DEICONIFIED : case WindowEvent.WINDOW_ACTIVATED : case WindowEvent.WINDOW_DEACTIVATED : break; } }
|
}
|
case WindowEvent.WINDOW_CLOSED: case WindowEvent.WINDOW_OPENED: case WindowEvent.WINDOW_ICONIFIED: case WindowEvent.WINDOW_DEICONIFIED: case WindowEvent.WINDOW_ACTIVATED: case WindowEvent.WINDOW_DEACTIVATED: break; } }
|
protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : { System.out.println("user requested exit on close"); System.exit(1); break; } case DISPOSE_ON_CLOSE : { System.out.println("user requested dispose on close"); dispose(); break; } case HIDE_ON_CLOSE : { setVisible(false); break; } case DO_NOTHING_ON_CLOSE : break; } break; } case WindowEvent.WINDOW_CLOSED : case WindowEvent.WINDOW_OPENED : case WindowEvent.WINDOW_ICONIFIED : case WindowEvent.WINDOW_DEICONIFIED : case WindowEvent.WINDOW_ACTIVATED : case WindowEvent.WINDOW_DEACTIVATED : break; } }
|
public void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); }
|
void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); }
|
public void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); }
|
if (SwingLabelPeer.this.awtComponent != null) retVal = SwingLabelPeer.this.awtComponent.isShowing();
|
if (label != null) retVal = label.isShowing();
|
public boolean isShowing() { boolean retVal = false; if (SwingLabelPeer.this.awtComponent != null) retVal = SwingLabelPeer.this.awtComponent.isShowing(); return retVal; }
|
SwingLabel swingLabel = new SwingLabel();
|
SwingLabel swingLabel = new SwingLabel(label);
|
public SwingLabelPeer(Label label) { super(); SwingLabel swingLabel = new SwingLabel(); swingLabel.setText(label.getText()); swingLabel.setHorizontalAlignment(label.getAlignment()); swingLabel.setOpaque(true); init(label, swingLabel); }
|
swingLabel.setHorizontalAlignment(label.getAlignment());
|
public SwingLabelPeer(Label label) { super(); SwingLabel swingLabel = new SwingLabel(); swingLabel.setText(label.getText()); swingLabel.setHorizontalAlignment(label.getAlignment()); swingLabel.setOpaque(true); init(label, swingLabel); }
|
|
setAlignment(label.getAlignment());
|
public SwingLabelPeer(Label label) { super(); SwingLabel swingLabel = new SwingLabel(); swingLabel.setText(label.getText()); swingLabel.setHorizontalAlignment(label.getAlignment()); swingLabel.setOpaque(true); init(label, swingLabel); }
|
|
((JLabel) swingComponent.getJComponent()).setHorizontalAlignment(alignment);
|
JLabel swingLabel = (JLabel) swingComponent.getJComponent(); switch (alignment) { case Label.RIGHT: swingLabel.setHorizontalAlignment(JLabel.RIGHT); break; case Label.CENTER: swingLabel.setHorizontalAlignment(JLabel.CENTER); break; case Label.LEFT: default: swingLabel.setHorizontalAlignment(JLabel.LEFT); break; }
|
public void setAlignment(int alignment) { ((JLabel) swingComponent.getJComponent()).setHorizontalAlignment(alignment); }
|
getName() { return(name); }
|
protected String getName() { return name; }
|
getName(){ return(name);}
|
int columnIndex;
|
public void setDataVector(Vector data, Vector columnNames) { // Variables int rowIndex; int columnIndex; int numRows; int numColumns; Vector columnVector; // Set Data dataVector = data; columnIdentifiers = columnNames; // Check Data numRows = data.size(); numColumns = columnNames.size(); for (rowIndex = 0; rowIndex < numRows; rowIndex++) { columnVector = (Vector) dataVector.get(rowIndex); columnVector.setSize(numColumns); } // for } // setDataVector()
|
|
return 12;
|
return 8;
|
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); } }; }
|
return 12;
|
return 4;
|
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); } }; }
|
g.translate(x, y);
|
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); } }; }
|
|
g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3));
|
for (int i = 0; i < 4; i++) g.drawLine(x + i, y + i, x + i, y + 7 - i);
|
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); } }; }
|
g.translate(-x, -y);
|
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); } }; }
|
|
return 12;
|
return 8;
|
public int getIconHeight() { return 12; }
|
return 12;
|
return 4;
|
public int getIconWidth() { return 12; }
|
g.translate(x, y);
|
public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); }
|
|
g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3));
|
for (int i = 0; i < 4; i++) g.drawLine(x + i, y + i, x + i, y + 7 - i);
|
public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); }
|
g.translate(-x, -y);
|
public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); }
|
|
if (!i.hasNext()) { return null; }
|
public String getHeaderFieldKey(int index) { if (!connected) { try { connect(); } catch (IOException e) { return null; } } if (index == 0) { return null; } Iterator i = response.getHeaders().entrySet().iterator(); Map.Entry entry; int count = 1; do { entry = (Map.Entry) i.next(); count++; } while (count <= index); return (String) entry.getKey(); }
|
|
if (beanInfo != null)
|
if (beanInfo != null && beanInfo.getBeanDescriptor() != null && beanInfo.getBeanDescriptor().getBeanClass() == beanClass)
|
static BeanInfo reallyFindExplicitBeanInfo(Class beanClass) { ClassLoader beanClassLoader = beanClass.getClassLoader(); BeanInfo beanInfo; beanInfo = getBeanInfo(beanClassLoader, beanClass.getName() + "BeanInfo"); if (beanInfo == null) { String newName; newName = ClassHelper.getTruncatedClassName(beanClass) + "BeanInfo"; for(int i = 0; i < Introspector.beanInfoSearchPath.length; i++) { if (Introspector.beanInfoSearchPath[i].equals("")) beanInfo = getBeanInfo(beanClassLoader, newName); else beanInfo = getBeanInfo(beanClassLoader, Introspector.beanInfoSearchPath[i] + "." + newName); if (beanInfo != null) return beanInfo; } } return beanInfo; }
|
ExplicitInfo.flushCaches();
|
public static void flushCaches() { beanInfoCache.clear(); }
|
|
b.setOpaque(true);
|
protected void installDefaults(AbstractButton b) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); b.setForeground(defaults.getColor("Button.foreground")); b.setBackground(defaults.getColor("Button.background")); b.setMargin(defaults.getInsets("Button.margin")); b.setBorder(defaults.getBorder("Button.border")); }
|
|
lb = ((BasicArrowButton) c1); rb = ((BasicArrowButton) c2);
|
lb = (BasicArrowButton) c1; rb = (BasicArrowButton) c2;
|
public void layoutContainer(Container c) { // The only components we care about setting up are the // one touch buttons. if (splitPane.isOneTouchExpandable()) { if (c.getComponentCount() == 2) { Component c1 = c.getComponent(0); Component c2 = c.getComponent(1); if ((c1 instanceof BasicArrowButton) && (c2 instanceof BasicArrowButton)) { lb = ((BasicArrowButton) c1); rb = ((BasicArrowButton) c2); } } if (rb != null && lb != null) { Point p = getLocation(); lb.setSize(lb.getPreferredSize()); rb.setSize(rb.getPreferredSize()); lb.setLocation(p.x, p.y); if (orientation == JSplitPane.HORIZONTAL_SPLIT) { rb.setDirection(SwingConstants.EAST); lb.setDirection(SwingConstants.WEST); rb.setLocation(p.x, p.y + lb.getHeight()); } else { rb.setDirection(SwingConstants.SOUTH); lb.setDirection(SwingConstants.NORTH); rb.setLocation(p.x + lb.getWidth(), p.y); } } } }
|
public abstract NamedValue create_named_value(String s, Any any, int flags);
|
public abstract NamedValue create_named_value(String name, Any any, int flags);
|
public abstract NamedValue create_named_value(String s, Any any, int flags);
|
else
|
else if (url_string.length() > 0)
|
protected void parseURL (URL url, String url_string, int start, int end) { // This method does not throw an exception or return a value. Thus our // strategy when we encounter an error in parsing is to return without // doing anything. String file = url.getFile(); if (!file.equals("")) { //has context url url_string = url_string.substring (start, end); if (url_string.startsWith("/")) { //url string is an absolute path int idx = file.lastIndexOf ("!/"); if (idx < 0) throw new URLParseError("no !/ in spec"); file = file.substring (0, idx + 1) + url_string; } else { int idx = file.lastIndexOf ("/"); if (idx == -1) //context path is weird file = "/" + url_string; else if (idx == (file.length() - 1)) //just concatenate two parts file = file + url_string; else // according to Java API Documentation, here is a little different // with URLStreamHandler.parseURL // but JDK seems doesn't handle it well file = file.substring(0, idx + 1) + url_string; } setURL (url, "jar", url.getHost(), url.getPort(), file, null); return; } // Bunches of things should be true. Make sure. if (end < start) return; if (end - start < 2) return; if (start > url_string.length()) return; // Skip remains of protocol url_string = url_string.substring (start, end); int jar_stop; if ((jar_stop = url_string.indexOf("!/")) < 0) throw new URLParseError("no !/ in spec"); try { new URL(url_string.substring (0, jar_stop)); } catch (MalformedURLException e) { throw new URLParseError("invalid inner URL: " + e.getMessage()); } if (!url.getProtocol().equals ("jar") ) throw new URLParseError("unexpected protocol " + url.getProtocol()); setURL (url, "jar", url.getHost(), url.getPort(), url_string, null); }
|
if (ref != null) sb.append('#').append(ref);
|
protected String toExternalForm (URL url) { String file = url.getFile(); // return "jar:" + file; // Performance!!: // Do the concatenation manually to avoid resize StringBuffer's // internal buffer. StringBuffer sb = new StringBuffer (file.length() + 5); sb.append ("jar:"); sb.append (file); return sb.toString(); }
|
|
public ParameterModeHolder(ParameterMode initialValue)
|
public ParameterModeHolder()
|
public ParameterModeHolder(ParameterMode initialValue) { value = initialValue; }
|
value = initialValue;
|
public ParameterModeHolder(ParameterMode initialValue) { value = initialValue; }
|
|
{
|
TemplateNode clone(Stylesheet stylesheet) { int len = sortKeys.size(); List sortKeys2 = new ArrayList(len); for (int i = 0; i < len; i++) { sortKeys2.add(((Key) sortKeys.get(i)).clone(stylesheet)); } len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new ApplyTemplatesNode(select.clone(stylesheet), mode, sortKeys2, withParams2, isDefault); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
|
|
}
|
TemplateNode clone(Stylesheet stylesheet) { int len = sortKeys.size(); List sortKeys2 = new ArrayList(len); for (int i = 0; i < len; i++) { sortKeys2.add(((Key) sortKeys.get(i)).clone(stylesheet)); } len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new ApplyTemplatesNode(select.clone(stylesheet), mode, sortKeys2, withParams2, isDefault); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
|
|
{
|
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); if (ret != null && ret instanceof Collection) { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = withParams.iterator(); i.hasNext(); ) { WithParam p = (WithParam) i.next(); Object value = p.getValue(stylesheet, mode, context, pos, len); Object[] pair = new Object[2]; pair[0] = p.name; pair[1] = value; values.add(pair); } // push the parameter context stylesheet.bindings.push(Bindings.WITH_PARAM); // set the parameters for (Iterator i = values.iterator(); i.hasNext(); ) { Object[] pair = (Object[]) i.next(); QName name = (QName) pair[0]; Object value = pair[1]; stylesheet.bindings.set(name, value, Bindings.WITH_PARAM); } } Collection ns = (Collection) ret; List nodes = new ArrayList(ns); if (sortKeys != null) { for (Iterator i = sortKeys.iterator(); i.hasNext(); ) { SortKey sortKey = (SortKey) i.next(); sortKey.init(stylesheet, mode, context, pos, len, parent, nextSibling); } Collections.sort(nodes, new XSLComparator(sortKeys)); } else { Collections.sort(nodes, documentOrderComparator); } int l = nodes.size(); QName effectiveMode = isDefault ? mode : this.mode; for (int i = 0; i < l; i++) { Node node = (Node) nodes.get(i); TemplateNode t = stylesheet.getTemplate(effectiveMode, node, false); if (t != null) { stylesheet.current = node; t.apply(stylesheet, effectiveMode, node, i + 1, l, parent, nextSibling); } } if (withParams != null) { // pop the variable context stylesheet.bindings.pop(Bindings.WITH_PARAM); } } // apply-templates doesn't have processable children if (next != null) { next.apply(stylesheet, mode, context, pos, len, parent, nextSibling); } }
|
|
}
|
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); if (ret != null && ret instanceof Collection) { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = withParams.iterator(); i.hasNext(); ) { WithParam p = (WithParam) i.next(); Object value = p.getValue(stylesheet, mode, context, pos, len); Object[] pair = new Object[2]; pair[0] = p.name; pair[1] = value; values.add(pair); } // push the parameter context stylesheet.bindings.push(Bindings.WITH_PARAM); // set the parameters for (Iterator i = values.iterator(); i.hasNext(); ) { Object[] pair = (Object[]) i.next(); QName name = (QName) pair[0]; Object value = pair[1]; stylesheet.bindings.set(name, value, Bindings.WITH_PARAM); } } Collection ns = (Collection) ret; List nodes = new ArrayList(ns); if (sortKeys != null) { for (Iterator i = sortKeys.iterator(); i.hasNext(); ) { SortKey sortKey = (SortKey) i.next(); sortKey.init(stylesheet, mode, context, pos, len, parent, nextSibling); } Collections.sort(nodes, new XSLComparator(sortKeys)); } else { Collections.sort(nodes, documentOrderComparator); } int l = nodes.size(); QName effectiveMode = isDefault ? mode : this.mode; for (int i = 0; i < l; i++) { Node node = (Node) nodes.get(i); TemplateNode t = stylesheet.getTemplate(effectiveMode, node, false); if (t != null) { stylesheet.current = node; t.apply(stylesheet, effectiveMode, node, i + 1, l, parent, nextSibling); } } if (withParams != null) { // pop the variable context stylesheet.bindings.pop(Bindings.WITH_PARAM); } } // apply-templates doesn't have processable children if (next != null) { next.apply(stylesheet, mode, context, pos, len, parent, nextSibling); } }
|
|
{
|
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } if (withParams != null) { for (Iterator i = withParams.iterator(); i.hasNext(); ) { if (((WithParam) i.next()).references(var)) { return true; } } } if (sortKeys != null) { for (Iterator i = sortKeys.iterator(); i.hasNext(); ) { if (((SortKey) i.next()).references(var)) { return true; } } } return super.references(var); }
|
|
}
|
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } if (withParams != null) { for (Iterator i = withParams.iterator(); i.hasNext(); ) { if (((WithParam) i.next()).references(var)) { return true; } } } if (sortKeys != null) { for (Iterator i = sortKeys.iterator(); i.hasNext(); ) { if (((SortKey) i.next()).references(var)) { return true; } } } return super.references(var); }
|
|
StringBuffer buf = new StringBuffer(getClass().getName());
|
StringBuffer buf = new StringBuffer("apply-templates");
|
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); boolean o = false; if (select != null) { buf.append("select="); buf.append(select); o = true; } if (mode != null) { if (o) { buf.append(','); } buf.append("mode="); buf.append(mode); } buf.append(']'); return buf.toString(); }
|
current = null;
|
public int getLength() { int retval = 0; NodeIterator iter = createIterator(); while (iter.nextNode() != null) { retval++; } return retval; }
|
|
return current.previousNode ();
|
Node ret = current.previousNode (); current = null; return ret;
|
public Node item(int index) { if (current == null) { current = createIterator(); lastIndex = -1; } // last node or before? go backwards if (index <= lastIndex) { while (index != lastIndex) { current.previousNode (); lastIndex--; } return current.previousNode (); } // somewhere after last node while (++lastIndex != index) current.nextNode (); return current.nextNode (); }
|
return current.nextNode ();
|
Node ret = current.nextNode (); current = null; return ret;
|
public Node item(int index) { if (current == null) { current = createIterator(); lastIndex = -1; } // last node or before? go backwards if (index <= lastIndex) { while (index != lastIndex) { current.previousNode (); lastIndex--; } return current.previousNode (); } // somewhere after last node while (++lastIndex != index) current.nextNode (); return current.nextNode (); }
|
throw new DomEx(DomEx.WRONG_DOCUMENT_ERR,
|
throw new DomDOMException(DOMException.WRONG_DOCUMENT_ERR,
|
public Node appendChild(Node newChild) { try { DomNode child = (DomNode) newChild; if (child.nodeType == DOCUMENT_FRAGMENT_NODE) { // Append all nodes in the fragment to this node for (DomNode ctx = child.first; ctx != null; ctx = ctx.next) { checkMisc(ctx); } for (DomNode ctx = child.first; ctx != null; ) { DomNode ctxNext = ctx.next; appendChild(ctx); ctx = ctxNext; } } else { checkMisc(child); if (child.parent != null) { child.parent.removeChild(child); } child.parent = this; child.index = length++; child.setDepth(depth + 1); child.next = null; if (last == null) { first = child; child.previous = null; } else { last.next = child; child.previous = last; } last = child; if (reportMutations) { insertionEvent(null, child); } } return child; } catch (ClassCastException e) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, newChild, 0); } }
|
throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR,
|
throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR,
|
private void checkMisc(DomNode child) { if (readonly && !owner.building) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR, null, this, 0); } for (DomNode ctx = this; ctx != null; ctx = ctx.parent) { if (child == ctx) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't make ancestor into a child", this, 0); } } DomDocument owner = (nodeType == DOCUMENT_NODE) ? (DomDocument) this : this.owner; DomDocument childOwner = child.owner; short childNodeType = child.nodeType; if (childOwner != owner) { // new in DOM L2, this case -- patch it up later, in reparent() if (!(childNodeType == DOCUMENT_TYPE_NODE && childOwner == null)) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, child, 0); } } // enforce various structural constraints switch (nodeType) { case DOCUMENT_NODE: switch (childNodeType) { case ELEMENT_NODE: case PROCESSING_INSTRUCTION_NODE: case COMMENT_NODE: case DOCUMENT_TYPE_NODE: return; } break; case ATTRIBUTE_NODE: switch (childNodeType) { case TEXT_NODE: case ENTITY_REFERENCE_NODE: return; } break; case DOCUMENT_FRAGMENT_NODE: case ENTITY_REFERENCE_NODE: case ELEMENT_NODE: case ENTITY_NODE: switch (childNodeType) { case ELEMENT_NODE: case TEXT_NODE: case COMMENT_NODE: case PROCESSING_INSTRUCTION_NODE: case CDATA_SECTION_NODE: case ENTITY_REFERENCE_NODE: return; } break; } if (owner.checkingWellformedness) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't append " + nodeTypeToString(childNodeType) + " to node of type " + nodeTypeToString(nodeType), this, 0); } }
|
throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't make ancestor into a child", this, 0);
|
throw new DomDOMException(DOMException.HIERARCHY_REQUEST_ERR, "can't make ancestor into a child", this, 0);
|
private void checkMisc(DomNode child) { if (readonly && !owner.building) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR, null, this, 0); } for (DomNode ctx = this; ctx != null; ctx = ctx.parent) { if (child == ctx) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't make ancestor into a child", this, 0); } } DomDocument owner = (nodeType == DOCUMENT_NODE) ? (DomDocument) this : this.owner; DomDocument childOwner = child.owner; short childNodeType = child.nodeType; if (childOwner != owner) { // new in DOM L2, this case -- patch it up later, in reparent() if (!(childNodeType == DOCUMENT_TYPE_NODE && childOwner == null)) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, child, 0); } } // enforce various structural constraints switch (nodeType) { case DOCUMENT_NODE: switch (childNodeType) { case ELEMENT_NODE: case PROCESSING_INSTRUCTION_NODE: case COMMENT_NODE: case DOCUMENT_TYPE_NODE: return; } break; case ATTRIBUTE_NODE: switch (childNodeType) { case TEXT_NODE: case ENTITY_REFERENCE_NODE: return; } break; case DOCUMENT_FRAGMENT_NODE: case ENTITY_REFERENCE_NODE: case ELEMENT_NODE: case ENTITY_NODE: switch (childNodeType) { case ELEMENT_NODE: case TEXT_NODE: case COMMENT_NODE: case PROCESSING_INSTRUCTION_NODE: case CDATA_SECTION_NODE: case ENTITY_REFERENCE_NODE: return; } break; } if (owner.checkingWellformedness) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't append " + nodeTypeToString(childNodeType) + " to node of type " + nodeTypeToString(nodeType), this, 0); } }
|
throw new DomEx(DomEx.WRONG_DOCUMENT_ERR,
|
throw new DomDOMException(DOMException.WRONG_DOCUMENT_ERR,
|
private void checkMisc(DomNode child) { if (readonly && !owner.building) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR, null, this, 0); } for (DomNode ctx = this; ctx != null; ctx = ctx.parent) { if (child == ctx) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't make ancestor into a child", this, 0); } } DomDocument owner = (nodeType == DOCUMENT_NODE) ? (DomDocument) this : this.owner; DomDocument childOwner = child.owner; short childNodeType = child.nodeType; if (childOwner != owner) { // new in DOM L2, this case -- patch it up later, in reparent() if (!(childNodeType == DOCUMENT_TYPE_NODE && childOwner == null)) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, child, 0); } } // enforce various structural constraints switch (nodeType) { case DOCUMENT_NODE: switch (childNodeType) { case ELEMENT_NODE: case PROCESSING_INSTRUCTION_NODE: case COMMENT_NODE: case DOCUMENT_TYPE_NODE: return; } break; case ATTRIBUTE_NODE: switch (childNodeType) { case TEXT_NODE: case ENTITY_REFERENCE_NODE: return; } break; case DOCUMENT_FRAGMENT_NODE: case ENTITY_REFERENCE_NODE: case ELEMENT_NODE: case ENTITY_NODE: switch (childNodeType) { case ELEMENT_NODE: case TEXT_NODE: case COMMENT_NODE: case PROCESSING_INSTRUCTION_NODE: case CDATA_SECTION_NODE: case ENTITY_REFERENCE_NODE: return; } break; } if (owner.checkingWellformedness) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't append " + nodeTypeToString(childNodeType) + " to node of type " + nodeTypeToString(nodeType), this, 0); } }
|
throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't append " + nodeTypeToString(childNodeType) + " to node of type " + nodeTypeToString(nodeType),
|
throw new DomDOMException(DOMException.HIERARCHY_REQUEST_ERR, "can't append " + nodeTypeToString(childNodeType) + " to node of type " + nodeTypeToString(nodeType),
|
private void checkMisc(DomNode child) { if (readonly && !owner.building) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR, null, this, 0); } for (DomNode ctx = this; ctx != null; ctx = ctx.parent) { if (child == ctx) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't make ancestor into a child", this, 0); } } DomDocument owner = (nodeType == DOCUMENT_NODE) ? (DomDocument) this : this.owner; DomDocument childOwner = child.owner; short childNodeType = child.nodeType; if (childOwner != owner) { // new in DOM L2, this case -- patch it up later, in reparent() if (!(childNodeType == DOCUMENT_TYPE_NODE && childOwner == null)) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, child, 0); } } // enforce various structural constraints switch (nodeType) { case DOCUMENT_NODE: switch (childNodeType) { case ELEMENT_NODE: case PROCESSING_INSTRUCTION_NODE: case COMMENT_NODE: case DOCUMENT_TYPE_NODE: return; } break; case ATTRIBUTE_NODE: switch (childNodeType) { case TEXT_NODE: case ENTITY_REFERENCE_NODE: return; } break; case DOCUMENT_FRAGMENT_NODE: case ENTITY_REFERENCE_NODE: case ELEMENT_NODE: case ENTITY_NODE: switch (childNodeType) { case ELEMENT_NODE: case TEXT_NODE: case COMMENT_NODE: case PROCESSING_INSTRUCTION_NODE: case CDATA_SECTION_NODE: case ENTITY_REFERENCE_NODE: return; } break; } if (owner.checkingWellformedness) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't append " + nodeTypeToString(childNodeType) + " to node of type " + nodeTypeToString(nodeType), this, 0); } }
|
throw new DomEx(DomEx.NOT_SUPPORTED_ERR,
|
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR,
|
public Event createEvent(String eventType) { eventType = eventType.toLowerCase(); if ("mutationevents".equals(eventType)) { return new DomEvent.DomMutationEvent(null); } if ("htmlevents".equals(eventType) || "events".equals(eventType) || "user-events".equals(eventType)) { return new DomEvent(null); } if ("uievents".equals(eventType)) { return new DomEvent.DomUIEvent(null); } // mouse events throw new DomEx(DomEx.NOT_SUPPORTED_ERR, eventType, null, 0); }
|
throw new DomEx(DomEx.NOT_FOUND_ERR, null, ref, 0);
|
throw new DomDOMException(DOMException.NOT_FOUND_ERR, null, ref, 0);
|
public Node insertBefore(Node newChild, Node refChild) { if (refChild == null) { return appendChild(newChild); } try { DomNode child = (DomNode) newChild; DomNode ref = (DomNode) refChild; if (child.nodeType == DOCUMENT_FRAGMENT_NODE) { // Append all nodes in the fragment to this node for (DomNode ctx = child.first; ctx != null; ctx = ctx.next) { checkMisc(ctx); } for (DomNode ctx = child.first; ctx != null; ) { DomNode ctxNext = ctx.next; insertBefore(ctx, ref); ctx = ctxNext; } } else { checkMisc(child); if (ref == null || ref.parent != this) { throw new DomEx(DomEx.NOT_FOUND_ERR, null, ref, 0); } if (ref == child) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't insert node before itself", ref, 0); } if (child.parent != null) { child.parent.removeChild(child); } child.parent = this; int i = ref.index; child.setDepth(depth + 1); child.next = ref; if (ref.previous != null) { ref.previous.next = child; } child.previous = ref.previous; ref.previous = child; if (first == ref) { first = child; } // index renumbering for (DomNode ctx = child; ctx != null; ctx = ctx.next) { ctx.index = i++; } if (reportMutations) { insertionEvent(null, child); } } return child; } catch (ClassCastException e) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, newChild, 0); } }
|
throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't insert node before itself", ref, 0);
|
throw new DomDOMException(DOMException.HIERARCHY_REQUEST_ERR, "can't insert node before itself", ref, 0);
|
public Node insertBefore(Node newChild, Node refChild) { if (refChild == null) { return appendChild(newChild); } try { DomNode child = (DomNode) newChild; DomNode ref = (DomNode) refChild; if (child.nodeType == DOCUMENT_FRAGMENT_NODE) { // Append all nodes in the fragment to this node for (DomNode ctx = child.first; ctx != null; ctx = ctx.next) { checkMisc(ctx); } for (DomNode ctx = child.first; ctx != null; ) { DomNode ctxNext = ctx.next; insertBefore(ctx, ref); ctx = ctxNext; } } else { checkMisc(child); if (ref == null || ref.parent != this) { throw new DomEx(DomEx.NOT_FOUND_ERR, null, ref, 0); } if (ref == child) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't insert node before itself", ref, 0); } if (child.parent != null) { child.parent.removeChild(child); } child.parent = this; int i = ref.index; child.setDepth(depth + 1); child.next = ref; if (ref.previous != null) { ref.previous.next = child; } child.previous = ref.previous; ref.previous = child; if (first == ref) { first = child; } // index renumbering for (DomNode ctx = child; ctx != null; ctx = ctx.next) { ctx.index = i++; } if (reportMutations) { insertionEvent(null, child); } } return child; } catch (ClassCastException e) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, newChild, 0); } }
|
throw new DomEx(DomEx.WRONG_DOCUMENT_ERR,
|
throw new DomDOMException(DOMException.WRONG_DOCUMENT_ERR,
|
public Node insertBefore(Node newChild, Node refChild) { if (refChild == null) { return appendChild(newChild); } try { DomNode child = (DomNode) newChild; DomNode ref = (DomNode) refChild; if (child.nodeType == DOCUMENT_FRAGMENT_NODE) { // Append all nodes in the fragment to this node for (DomNode ctx = child.first; ctx != null; ctx = ctx.next) { checkMisc(ctx); } for (DomNode ctx = child.first; ctx != null; ) { DomNode ctxNext = ctx.next; insertBefore(ctx, ref); ctx = ctxNext; } } else { checkMisc(child); if (ref == null || ref.parent != this) { throw new DomEx(DomEx.NOT_FOUND_ERR, null, ref, 0); } if (ref == child) { throw new DomEx(DomEx.HIERARCHY_REQUEST_ERR, "can't insert node before itself", ref, 0); } if (child.parent != null) { child.parent.removeChild(child); } child.parent = this; int i = ref.index; child.setDepth(depth + 1); child.next = ref; if (ref.previous != null) { ref.previous.next = child; } child.previous = ref.previous; ref.previous = child; if (first == ref) { first = child; } // index renumbering for (DomNode ctx = child; ctx != null; ctx = ctx.next) { ctx.index = i++; } if (reportMutations) { insertionEvent(null, child); } } return child; } catch (ClassCastException e) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, newChild, 0); } }
|
throw new DomEx(DomEx.NOT_FOUND_ERR, null, ref, 0);
|
throw new DomDOMException(DOMException.NOT_FOUND_ERR, null, ref, 0);
|
public Node removeChild(Node refChild) { try { DomNode ref = (DomNode) refChild; if (ref == null || ref.parent != this) { throw new DomEx(DomEx.NOT_FOUND_ERR, null, ref, 0); } if (readonly && !owner.building) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR, null, this, 0); } for (DomNode child = first; child != null; child = child.next) { if (child == ref) { if (reportMutations) { removalEvent(null, child); } length--; if (ref.previous != null) { ref.previous.next = ref.next; } if (ref.next != null) { ref.next.previous = ref.previous; } if (first == ref) { first = ref.next; } if (last == ref) { last = ref.previous; } // renumber indices int i = 0; for (DomNode ctx = first; ctx != null; ctx = ctx.next) { ctx.index = i++; } ref.parent = null; ref.setDepth(0); ref.index = 0; ref.previous = null; ref.next = null; return ref; } } throw new DomEx(DomEx.NOT_FOUND_ERR, "that's no child of mine", refChild, 0); } catch (ClassCastException e) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, refChild, 0); } }
|
throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR,
|
throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR,
|
public Node removeChild(Node refChild) { try { DomNode ref = (DomNode) refChild; if (ref == null || ref.parent != this) { throw new DomEx(DomEx.NOT_FOUND_ERR, null, ref, 0); } if (readonly && !owner.building) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR, null, this, 0); } for (DomNode child = first; child != null; child = child.next) { if (child == ref) { if (reportMutations) { removalEvent(null, child); } length--; if (ref.previous != null) { ref.previous.next = ref.next; } if (ref.next != null) { ref.next.previous = ref.previous; } if (first == ref) { first = ref.next; } if (last == ref) { last = ref.previous; } // renumber indices int i = 0; for (DomNode ctx = first; ctx != null; ctx = ctx.next) { ctx.index = i++; } ref.parent = null; ref.setDepth(0); ref.index = 0; ref.previous = null; ref.next = null; return ref; } } throw new DomEx(DomEx.NOT_FOUND_ERR, "that's no child of mine", refChild, 0); } catch (ClassCastException e) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, refChild, 0); } }
|
throw new DomEx(DomEx.NOT_FOUND_ERR,
|
throw new DomDOMException(DOMException.NOT_FOUND_ERR,
|
public Node removeChild(Node refChild) { try { DomNode ref = (DomNode) refChild; if (ref == null || ref.parent != this) { throw new DomEx(DomEx.NOT_FOUND_ERR, null, ref, 0); } if (readonly && !owner.building) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR, null, this, 0); } for (DomNode child = first; child != null; child = child.next) { if (child == ref) { if (reportMutations) { removalEvent(null, child); } length--; if (ref.previous != null) { ref.previous.next = ref.next; } if (ref.next != null) { ref.next.previous = ref.previous; } if (first == ref) { first = ref.next; } if (last == ref) { last = ref.previous; } // renumber indices int i = 0; for (DomNode ctx = first; ctx != null; ctx = ctx.next) { ctx.index = i++; } ref.parent = null; ref.setDepth(0); ref.index = 0; ref.previous = null; ref.next = null; return ref; } } throw new DomEx(DomEx.NOT_FOUND_ERR, "that's no child of mine", refChild, 0); } catch (ClassCastException e) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, refChild, 0); } }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.