Bug#365328: classpath: SCALE_SMOOTH not implemented in java.awt.Image.getScaledInstance()

Petter Reinholdtsen pere at hungry.com
Sat Apr 29 09:29:27 UTC 2006


Package: classpath
Version: 0.90

When trying to run openjump with jamvm using the Graphics2D gtk awt
peer, I find that SCALE_SMOOTH isn't implemented in
java.awt.Image.getScaledInstance().  This blocks openjump from working
with classpath.

I am testing with the CVS version of classpath, but the problem is in
version 0.90 as well.

% JAVACMD=/usr/bin/jamvm \
  JAVA_ARGS="-Dgnu.java.awt.peer.gtk.Graphics=Graphics2D" openjump
pere at minerva:~/src/classpath$ fireChangedUpdate not implemented
JUMP: Warning: Properties file does not exist: /usr/share/openjump/workbench-properties.xml
JUMP: Warning: Extensions directory does not exist: /usr/share/openjump/ext
java.lang.Error: SCALE_SMOOTH: not implemented
   at java.awt.Image.getScaledInstance(Image.java:195)
   at com.vividsolutions.jump.workbench.ui.GUIUtil.resize(GUIUtil.java:679)
   at com.vividsolutions.jump.workbench.ui.GUIUtil.toSmallIcon(GUIUtil.java:686)
   at com.vividsolutions.jump.workbench.JUMPConfiguration.configureMainMenus(JUMPConfiguration.java:529)
   at com.vividsolutions.jump.workbench.JUMPConfiguration.setup(JUMPConfiguration.java:248)
   at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:234)
   at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:200)

At this point a dialog box reporting the exception is shown.  When I
press 'OK' to keep going, no progress is made and the program seem to
hang.




More information about the pkg-java-maintainers mailing list