Kevin Trometer 8 years ago
parent
commit
d71ff6ce7e
2 changed files with 1 additions and 5 deletions
  1. BIN
      bin/ui/view/MyCanvas.class
  2. 1 5
      src/ui/view/MyCanvas.java

BIN
bin/ui/view/MyCanvas.class


+ 1 - 5
src/ui/view/MyCanvas.java

@@ -52,14 +52,10 @@ class MyCanvas extends JPanel implements MouseListener, MouseMotionListener {
 			}
 		});
 
-		//img = new ImageIcon(this.getClass().getResource("/Images/Dummy_House.png")).getImage()
-		//		.getScaledInstance(30, 30, java.awt.Image.SCALE_SMOOTH);
-		
 		this.addMouseListener(this);
 		this.addMouseMotionListener(this);
 	}
 
-	
 	/**
 	 * Paints all Components on the Canvas
 	 * 
@@ -69,7 +65,7 @@ class MyCanvas extends JPanel implements MouseListener, MouseMotionListener {
 	public void paintComponent(Graphics g) {
 		super.paintComponent(g);
 		if(selectRect != null){
-			g.setColor(new Color(220, 220, 220));
+			g.setColor(new Color(100, 255, 100));
 		    g.fillRect((int)selectRect.getX(), (int)selectRect.getY(), (int)selectRect.getWidth(), (int)selectRect.getHeight());
 		}