public static void main(String args[]) {

    System.err.println("Compare " + "a".compareTo("abc"));
    System.err.println("Compare " + "abc".compareTo("ab"));
    System.err.println("Compare " + "az".compareTo("abcd"));
    System.err.println("Compare " + "z".compareTo("abcd"));

    if (args.length != 1) return;
    if (args[0].compareTo("0") == 0) Convert.convertQuick();
    if (args[0].compareTo("1") == 0) Convert.convertCangjieHK();
  }
 @Override
 public void setFont(Font font) {
   pipe.setFont(Convert.convertFontToAwtFont(font));
 }
 @Override
 public Font getFont() {
   return Convert.convertAwtFontToFont(pipe.getFont());
 }
 @Override
 public void setBrush(Brush brush) {
   pipe.setPaint(Convert.convertToAwtPaint(brush));
 }
 @Override
 public Brush getBrush() {
   return Convert.convertToBrush(pipe.getPaint());
 }
 @Override
 public Pen getPen() {
   // TODO: this sucks
   return Convert.convertStroke((BasicStroke) pipe.getStroke());
 }