/*
 * Copyright 2018 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
package io.flutter.preview;

import com.intellij.ui.JBColor;

import java.awt.*;

/**
 * A handle for moving the host.
 */
public class MoveHandle extends Handle {
  @Override
  public void paint(Graphics g) {
    final Graphics2D g2 = (Graphics2D)g;
    g2.setStroke(new BasicStroke(2));
    g2.setColor(JBColor.BLUE);
    g2.drawRect(0, 0, getWidth(), getHeight());
  }

  @Override
  public void updateBounds(Rectangle host) {
    setBounds(host);
  }
}

@@ -198,41 +198,8 @@
 w;%0A%0A
-import com.intellij.ui.JBColor;%0A%0A
 impo
@@ -387,45 +387,38 @@
 )g;%0A
+%0A
     
-g2.setStroke(new BasicStroke(2));
+//noinspection UseJBColor
 %0A   
@@ -430,18 +430,16 @@
 etColor(
-JB
 Color.BL
@@ -442,16 +442,55 @@
 r.BLUE);
+%0A%0A    g2.setStroke(new BasicStroke(3));
 %0A    g2.

Use Color.BLUE for selection feedback. (#1958)