Example #1
0
  @Override
  public void paintComponent(Graphics g) {
    super.paintComponent(g);

    Graphics2D g2d = (Graphics2D) g;

    g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);

    drawUAV(g2d);
    drawBarValue(g2d);
  }
Example #2
0
 public MwUAVPanel(MwConfiguration conf) {
   super(new Dimension(170, 200), conf);
   super.setBarMax(67);
   super.setBarWidth(8);
 }