BufferedImage bi = wfir.getBufferedImage();
CADRG crg = new CADRG(new com.bbn.openmap.LatLonPoint(0f, 0f), 1500000, 600, 600);
final OMRaster omsr = new OMRaster(0, 0, bi);
omsr.generate(crg);
java.awt.Frame window = new java.awt.Frame(filePath) {
public void paint(java.awt.Graphics g) {
if (omsr != null) {
omsr.render(g);