兄弟,给你看看两个东西吧
或许你可以吧那个application下载下来,
你可以看到,java的application可以做成什么样子:) http://ns1.jilinfarm.com/member/nosars/nosars.html   软件下载页面: 
  http://www.d2ol.com/dOL/download_instructions.html

解决方案 »

  1.   

    public void paintIcon(Component c,
                          Graphics g,
                          int x,
                          int y)
    Paints the icon. The top-left corner of the icon is drawn at the point (x, y) in the coordinate space of the graphics context g. If this icon has no image observer, this method uses the c component as the observer. ICON的左上角的坐标在g这个坐标系的x,y位置,并不是说你可以把你画的图形放在ICON里面。你可以自己构造一个Graphics图形设定大小位置等,画好