summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Gilbert <david.gilbert@object-refinery.com>2005-08-30 20:46:30 +0000
committerDavid Gilbert <david.gilbert@object-refinery.com>2005-08-30 20:46:30 +0000
commitb2ac6862f6afe40f834d2debebb9b8dc01be91b5 (patch)
tree01881601f4a3c4ed775cdb77c3699448f1fcec1e /examples
parent722089ba9a837dbb33fec6f6c3e74a458920c299 (diff)
downloadclasspath-b2ac6862f6afe40f834d2debebb9b8dc01be91b5.tar.gz
005-08-30 David Gilbert <david.gilbert@object-refinery.com>
* examples/gnu/classpath/examples/swing/Demo.java (mkMenuBar): added a JRadioButtonMenuItem, * javax/swing/plaf/metal/MetalIconFactory.java (RadioButtonMenuItemIcon): new inner class, (getRadioButtonMenuItemIcon): implemented, * javax/swing/plaf/metal/MetalLookAndFeel.java (initComponentDefaults): added RadioButtonMenuItem defaults.
Diffstat (limited to 'examples')
-rw-r--r--examples/gnu/classpath/examples/swing/Demo.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gnu/classpath/examples/swing/Demo.java b/examples/gnu/classpath/examples/swing/Demo.java
index d7cbc1d3a..e8c428b59 100644
--- a/examples/gnu/classpath/examples/swing/Demo.java
+++ b/examples/gnu/classpath/examples/swing/Demo.java
@@ -141,6 +141,8 @@ public class Demo
preferences.add(new JCheckBoxMenuItem("Check Spelling",
stockIcon("spell-check")));
preferences.add(new JCheckBoxMenuItem("World Peace"));
+ preferences.add(new JSeparator());
+ preferences.add(new JRadioButtonMenuItem("Radio Button"));
edit.add(preferences);
JMenu examples = new JMenu("Examples");