/[classpath]/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicLookAndFeel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by mark, Sat Aug 14 22:17:49 2004 UTC revision 1.15 by mark, Sat Sep 4 17:14:01 2004 UTC
# Line 41  package javax.swing.plaf.basic; Line 41  package javax.swing.plaf.basic;
41  import java.awt.Color;  import java.awt.Color;
42  import java.awt.Dimension;  import java.awt.Dimension;
43  import java.awt.Font;  import java.awt.Font;
44    import java.awt.event.InputEvent;
45  import java.awt.event.KeyEvent;  import java.awt.event.KeyEvent;
46  import java.io.Serializable;  import java.io.Serializable;
47  import java.util.Enumeration;  import java.util.Enumeration;
# Line 247  public abstract class BasicLookAndFeel e Line 248  public abstract class BasicLookAndFeel e
248          "SPACE",  "pressed",          "SPACE",  "pressed",
249          "released SPACE", "released"          "released SPACE", "released"
250        }),        }),
251          "Button.focus", midPurple,
252        "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12),        "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12),
253        "Button.foreground", new ColorUIResource(Color.black),        "Button.foreground", new ColorUIResource(Color.black),
254        "Button.highlight", new ColorUIResource(Color.white),        "Button.highlight", new ColorUIResource(Color.white),
# Line 821  public abstract class BasicLookAndFeel e Line 823  public abstract class BasicLookAndFeel e
823        "TextField.keyBindings", new JTextComponent.KeyBinding[] {        "TextField.keyBindings", new JTextComponent.KeyBinding[] {
824          new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,          new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,
825                                                               0),                                                               0),
826                                        "notify-field-accept")},                                        "notify-field-accept"),
827            new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT,
828                                                                 InputEvent.SHIFT_DOWN_MASK),
829                                                                 "selection-backward"),
830            new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT,
831                                                                 InputEvent.SHIFT_DOWN_MASK),
832                                                                 "selection-forward"),
833              },
834        "TextField.margin", new InsetsUIResource(0, 0, 0, 0),        "TextField.margin", new InsetsUIResource(0, 0, 0, 0),
835        "TextField.selectionBackground", new ColorUIResource(lightPurple),        "TextField.selectionBackground", new ColorUIResource(lightPurple),
836        "TextField.selectionForeground", new ColorUIResource(Color.black),        "TextField.selectionForeground", new ColorUIResource(Color.black),

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26