| 454 | } |
| 455 | |
| 456 | @AstroImageJ(reason = "Disable final check for extra width, disables drawing of border rectangle", modified = true) |
| 457 | public void paint(Graphics g) { |
| 458 | drawInfo(g); |
| 459 | Rectangle r = ic.getBounds(); |
| 460 | int extraWidth = MIN_WIDTH - r.width; |
| 461 | int extraHeight = MIN_HEIGHT - r.height; |
| 462 | /*if (extraWidth<=0 && extraHeight<=0 && !Prefs.noBorder && !IJ.isLinux()) |
| 463 | g.drawRect(r.x-1, r.y-1, r.width+1, r.height+1);*/ |
| 464 | } |
| 465 | |
| 466 | /** Removes this window from the window list and disposes of it. |
| 467 | Returns false if the user cancels the "save changes" dialog. */ |