Here you can find the source of drawISPip(Graphics2D g2d, float width, float height)
public static void drawISPip(Graphics2D g2d, float width, float height)
//package com.java2s; /*/* w ww . java 2 s . c o m*/ * MegaMekLab - Copyright (C) 2008 * * Original author - jtighe (torren@users.sourceforge.net) * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. */ import java.awt.Font; import java.awt.Graphics2D; public class Main { public static void drawISPip(Graphics2D g2d, float width, float height) { Font font = new Font("Arial", Font.PLAIN, 6); g2d.setFont(font); g2d.drawString("O", width, height); } }