OSBotMerccy

Untitled

Jul 10th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1.  public void onPaint(Graphics g) {
  2.     g.setColor(Color.RED);
  3.     Trade t = new Trade(this);
  4.     if (t.isOpen()) {
  5.         TradeItem[] all = t.getMyTradeInv();
  6.         for (TradeItem one : all) {
  7.         g.drawRect(one.rect.x, one.rect.y, one.rect.width,
  8.             one.rect.height);
  9.         }
  10.         all = t.getOtherTradeInv();
  11.         for (TradeItem one : all) {
  12.         g.drawRect(one.rect.x, one.rect.y, one.rect.width,
  13.             one.rect.height);
  14.         }
  15.     }
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment