There was an error while loading. Please reload this page.
1 parent 7ed6e21 commit 4423b2eCopy full SHA for 4423b2e
1 file changed
sources/net.sf.j2s.java.core/src/javax/swing/JComponent.java
@@ -631,7 +631,9 @@ protected void paintComponent(Graphics g) {
631
ui.update(scratchGraphics, this);
632
//JSGraphics2D jsg = 秘getJSGraphic2D(scratchGraphics);
633
//秘isBackgroundPainted = (jsg != null && jsg.isBackgroundPainted());
634
- } finally {
+ } catch (Throwable t) {
635
+ t.printStackTrace();
636
+ } finally {
637
scratchGraphics.dispose();
638
}
639
0 commit comments