diff --git a/trunk/SIPRPSoft/src/leaf/ui/LeafLookAndFeel.java b/trunk/SIPRPSoft/src/leaf/ui/LeafLookAndFeel.java deleted file mode 100644 index 806acda4..00000000 --- a/trunk/SIPRPSoft/src/leaf/ui/LeafLookAndFeel.java +++ /dev/null @@ -1,22 +0,0 @@ -package leaf.ui; - -import javax.swing.plaf.metal.MetalLookAndFeel; - -public class LeafLookAndFeel extends MetalLookAndFeel -{ - private static final long serialVersionUID = 1L; - - @Override - public String getName() - { - return "LEAF"; - } - - @Override - public String getDescription() - { - return "Evolute's LEAF Look And Feel"; - } - - -} diff --git a/trunk/SIPRPSoft/src/leaf/ui/LeafScrollBar.java b/trunk/SIPRPSoft/src/leaf/ui/LeafScrollBar.java deleted file mode 100644 index f3e5d4f7..00000000 --- a/trunk/SIPRPSoft/src/leaf/ui/LeafScrollBar.java +++ /dev/null @@ -1,15 +0,0 @@ -package leaf.ui; - -import javax.swing.JScrollPane; - -public class LeafScrollBar extends JScrollPane -{ - private static final long serialVersionUID = 1L; - - - public void paintComponent() - { - System.out.println(""); - } - -} diff --git a/trunk/SIPRPSoft/src/leaf/ui/LeafTextArea.java b/trunk/SIPRPSoft/src/leaf/ui/LeafTextArea.java deleted file mode 100644 index 41d69586..00000000 --- a/trunk/SIPRPSoft/src/leaf/ui/LeafTextArea.java +++ /dev/null @@ -1,70 +0,0 @@ -package leaf.ui; - -import java.beans.PropertyChangeListener; - -import javax.swing.JTextArea; -import javax.swing.event.CaretEvent; -import javax.swing.event.CaretListener; - -public class LeafTextArea extends JTextArea -{ - - private static final long serialVersionUID = 1L; - - private static final String PROPERTY = "CHANGED"; - - private final ChangeThread thread = new ChangeThread(); - - private boolean isRunning = true; - - public LeafTextArea( PropertyChangeListener parent ) - { - this.addPropertyChangeListener( PROPERTY, parent ); - this.addCaretListener( new CaretListener() - { - @Override - public void caretUpdate( CaretEvent e ) - { - firePropertyChange( PROPERTY, false, true ); - } - } ); - } - - @Override - public void setEditable( boolean b ) - { - super.setEditable( b ); - if( b ) - { - startThread(); - } - else - { - stopThread(); - } - } - - private void startThread() - { - isRunning = true; - thread.start(); - } - - private void stopThread() - { - isRunning = false; - } - - private class ChangeThread extends Thread - { - @Override - public synchronized void start() - { - while( isRunning ) - { - - } - } - } - -} diff --git a/trunk/SIPRPSoft/src/leaf/ui/LeafTransparentPanel.java b/trunk/SIPRPSoft/src/leaf/ui/LeafTransparentPanel.java deleted file mode 100644 index d6261e00..00000000 --- a/trunk/SIPRPSoft/src/leaf/ui/LeafTransparentPanel.java +++ /dev/null @@ -1,47 +0,0 @@ -package leaf.ui; - -import java.awt.AWTException; -import java.awt.Dimension; -import java.awt.Graphics; -import java.awt.Point; -import java.awt.Rectangle; -import java.awt.Robot; -import java.awt.Toolkit; -import java.awt.image.BufferedImage; - -import javax.swing.JPanel; - -public class LeafTransparentPanel extends JPanel -{ - private static final long serialVersionUID = 1L; - - private BufferedImage background = null; - - public LeafTransparentPanel() - { - updateBackground(); - } - - - private void updateBackground() - { - try - { - Robot rbt = new Robot(); - Toolkit tk = Toolkit.getDefaultToolkit(); - Dimension dim = tk.getScreenSize(); - background = rbt.createScreenCapture( new Rectangle( 0, 0, (int) dim.getWidth(), (int) dim.getHeight() ) ); - } catch( AWTException ex ) - { - ex.printStackTrace(); - } - } - - @Override - public void paintComponent( Graphics g ) - { - Point pos = this.getLocationOnScreen(); - Point offset = new Point( -pos.x, -pos.y ); - g.drawImage( background, offset.x, offset.y, null ); - } -} diff --git a/trunk/SIPRPSoft/src/leaf/ui/icons/add.png b/trunk/SIPRPSoft/src/leaf/ui/icons/add.png deleted file mode 100644 index c44a03ff..00000000 Binary files a/trunk/SIPRPSoft/src/leaf/ui/icons/add.png and /dev/null differ diff --git a/trunk/SIPRPSoft/src/leaf/ui/icons/create.png b/trunk/SIPRPSoft/src/leaf/ui/icons/create.png deleted file mode 100644 index d149d546..00000000 Binary files a/trunk/SIPRPSoft/src/leaf/ui/icons/create.png and /dev/null differ diff --git a/trunk/SIPRPSoft/src/leaf/ui/icons/delete.png b/trunk/SIPRPSoft/src/leaf/ui/icons/delete.png deleted file mode 100644 index 312bb3f5..00000000 Binary files a/trunk/SIPRPSoft/src/leaf/ui/icons/delete.png and /dev/null differ diff --git a/trunk/SIPRPSoft/src/leaf/ui/icons/edit.png b/trunk/SIPRPSoft/src/leaf/ui/icons/edit.png deleted file mode 100644 index 35d01513..00000000 Binary files a/trunk/SIPRPSoft/src/leaf/ui/icons/edit.png and /dev/null differ diff --git a/trunk/SIPRPSoft/src/leaf/ui/icons/rem.png b/trunk/SIPRPSoft/src/leaf/ui/icons/rem.png deleted file mode 100644 index 450d81fc..00000000 Binary files a/trunk/SIPRPSoft/src/leaf/ui/icons/rem.png and /dev/null differ diff --git a/trunk/SIPRPSoft/src/leaf/ui/icons/revert.png b/trunk/SIPRPSoft/src/leaf/ui/icons/revert.png deleted file mode 100644 index bd1d011a..00000000 Binary files a/trunk/SIPRPSoft/src/leaf/ui/icons/revert.png and /dev/null differ diff --git a/trunk/SIPRPSoft/src/leaf/ui/icons/save.png b/trunk/SIPRPSoft/src/leaf/ui/icons/save.png deleted file mode 100644 index d2d0d6e1..00000000 Binary files a/trunk/SIPRPSoft/src/leaf/ui/icons/save.png and /dev/null differ