[Schmitzm-commits] r776 - trunk/src/skrueger

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Mar 28 12:06:01 CEST 2010


Author: alfonx
Date: 2010-03-28 12:06:00 +0200 (Sun, 28 Mar 2010)
New Revision: 776

Removed:
   trunk/src/skrueger/CheckBoxNodeTreeSample.java
Modified:
   trunk/src/skrueger/AttributeMetadataInterface.java
Log:
Nur organized imports

Modified: trunk/src/skrueger/AttributeMetadataInterface.java
===================================================================
--- trunk/src/skrueger/AttributeMetadataInterface.java	2010-03-28 09:45:22 UTC (rev 775)
+++ trunk/src/skrueger/AttributeMetadataInterface.java	2010-03-28 10:06:00 UTC (rev 776)
@@ -1,8 +1,6 @@
 package skrueger;
 
-import java.io.Serializable;
 import java.util.HashSet;
-import java.util.Set;
 
 import org.geotools.feature.NameImpl;
 import org.opengis.feature.type.Name;

Deleted: trunk/src/skrueger/CheckBoxNodeTreeSample.java
===================================================================
--- trunk/src/skrueger/CheckBoxNodeTreeSample.java	2010-03-28 09:45:22 UTC (rev 775)
+++ trunk/src/skrueger/CheckBoxNodeTreeSample.java	2010-03-28 10:06:00 UTC (rev 776)
@@ -1,58 +0,0 @@
-package skrueger;
-
-/*
-Definitive Guide to Swing for Java 2, Second Edition
-By John Zukowski     
-ISBN: 1-893115-78-X
-Publisher: APress
-*/
-
-import java.awt.BorderLayout;
-import java.util.Vector;
-
-import javax.swing.JFrame;
-import javax.swing.JScrollPane;
-import javax.swing.JTree;
-
-import skrueger.swing.checkboxtree.CheckBoxNode;
-import skrueger.swing.checkboxtree.CheckBoxNodeEditor;
-import skrueger.swing.checkboxtree.CheckBoxNodeRenderer;
-import skrueger.swing.checkboxtree.NamedVector;
-
-public class CheckBoxNodeTreeSample {
-  public static void main(String args[]) {
-    JFrame frame = new JFrame("CheckBox Tree");
-
-    CheckBoxNode accessibilityOptions[] = {
-        new CheckBoxNode(
-            "Move system caret with focus/selection changes", false),
-        new CheckBoxNode("Always expand alt text for images", true) };
-    CheckBoxNode browsingOptions[] = {
-        new CheckBoxNode("Notify when downloads complete", true),
-        new CheckBoxNode("Disable script debugging", true),
-        new CheckBoxNode("Use AutoComplete", true),
-        new CheckBoxNode("Browse in a new process", false) };
-    Vector accessVector = new NamedVector("Accessibility",
-        accessibilityOptions);
-    Vector browseVector = new NamedVector("Browsing", browsingOptions);
-    Object rootNodes[] = { accessVector, browseVector };
-    Vector rootVector = new NamedVector("Root", rootNodes);
-    JTree tree = new JTree(rootVector);
-
-    CheckBoxNodeRenderer renderer = new CheckBoxNodeRenderer();
-    tree.setCellRenderer(renderer);
-
-    tree.setCellEditor(new CheckBoxNodeEditor(tree));
-    tree.setEditable(true);
-
-    JScrollPane scrollPane = new JScrollPane(tree);
-    frame.getContentPane().add(scrollPane, BorderLayout.CENTER);
-    frame.setSize(300, 150);
-    frame.setVisible(true);
-  }
-}
-
-
-
-
-           
\ No newline at end of file



More information about the Schmitzm-commits mailing list